networkapi.plugins.Dell.FTOS package

Submodules

networkapi.plugins.Dell.FTOS.plugin module

class networkapi.plugins.Dell.FTOS.plugin.FTOS(**kwargs)[source]

Bases: networkapi.plugins.base.BasePlugin

CURRENTLY_BUSY_WAIT = 'Currently busy with copying a file'
ERROR_REGEX = '[Ee][Rr][Rr][Oo][Rr]|[Ff]ail|\\%|utility is occupied'
INVALID_REGEX = '([Ii]nvalid)|overlaps with'
MAX_TRIES = 10
RETRY_WAIT_TIME = 5
VALID_TFTP_PUT_MESSAGE = 'bytes successfully copied'
WAIT_FOR_CLI_RETURN = 1
WARNING_REGEX = 'config ignored|Warning'
admin_privileges = 15
bgp()[source]
copyScriptFileToConfig(**kwargs)[source]

Copy file from TFTP server to destination By default, plugin should apply file in running configuration (active)

create_svi(**kwargs)[source]

Create SVI in switch

ensure_privilege_level(**kwargs)[source]

Ensure connection has the right privileges expected.

exec_command(command, success_regex='', invalid_regex=None, error_regex=None)[source]

Send single command to equipment and than closes connection channel

remove_svi(**kwargs)[source]

Delete SVI from switch

waitString(wait_str_ok_regex='', wait_str_invalid_regex=None, wait_str_failed_regex=None)[source]

Module contents