ios_shell.parsing module
Contains functions for parsing files in IOS Shell format.
- ios_shell.parsing.get_administration(contents: List[str]) Tuple[Administration, List[str]]
Parse the *ADMINISTRATION section.
- ios_shell.parsing.get_calibration(contents: List[str]) Tuple[Calibration, List[str]]
Parse the *CALIBRATION section
- ios_shell.parsing.get_comments(contents: List[str]) Tuple[str, List[str]]
Parse the *COMMENTS section
- ios_shell.parsing.get_data(contents: str, format: str, records: int) Tuple[List[List[Any]], str]
Process the data in the file
- ios_shell.parsing.get_deployment(contents: List[str]) Tuple[Deployment, List[str]]
Parse the *DEPLOYMENT section
- ios_shell.parsing.get_file(contents: List[str]) Tuple[FileInfo, List[str]]
Parse the *FILE section.
- ios_shell.parsing.get_header_version(contents: List[str]) Tuple[Version, List[str]]
Parse the header version string.
- ios_shell.parsing.get_history(contents: List[str]) Tuple[History, List[str]]
Parse the *HISTORY section
- ios_shell.parsing.get_instrument(contents: List[str]) Tuple[Instrument, List[str]]
Parse the *INSTRUMENT section
- ios_shell.parsing.get_location(contents: List[str]) Tuple[Location, List[str]]
Parse the *LOCATION section
- ios_shell.parsing.get_modified_date(contents: List[str]) Tuple[datetime, List[str]]
Parse the modified date.
- ios_shell.parsing.get_recovery(contents: List[str]) Tuple[Recovery, List[str]]
Parse the *RECOVERY section
- ios_shell.parsing.get_section(contents: List[str], section_name: str) Tuple[Dict[str, Any], List[str]]
Parse a named section.