veritas.devicemanagement.abstract_devicemanagement
Module Contents
Classes
abstract class for device management |
- class veritas.devicemanagement.abstract_devicemanagement.AbstractDeviceManagement(ip: str, username: str, password: str, platform: str = 'ios', ssh_keyfile: str = None, port: int = 22, manufacturer: str = 'cisco', scrapli_loglevel: str = 'none')
Bases:
abc.ABCabstract class for device management
- Parameters:
ip (str) – ip address of the device
username (str) – username for the device
password (str) – password for the device
platform (str) – platform of the device
ssh_keyfile (str) – ssh keyfile for the device
port (int) – port for the device
manufacturer (str) – manufacturer of the device
scrapli_loglevel (str) –
loglevel for scrapli
# see also veritas/src/veritas/devicemanagement/scrapli.py
- abstract open()
open connection to the device
- abstract close()
close connection to the device
- abstract get_facts()
get facts from the device
- abstract get_config(source)
get config from the device