Module Import alias ImportFrom alias ImportFrom alias alias alias alias alias alias alias alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad ListLoad Str Str Str Str Str Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Num Expr Call NameLoad NameLoad Num Expr Call NameLoad NameLoad Num Expr Call NameLoad NameLoad Num keyword Str Expr Call NameLoad NameLoad Num Expr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad keyword Str Expr Call NameLoad NameLoad keyword Str Expr Call NameLoad NameLoad keyword Str Expr Call NameLoad NameLoad keyword Str Expr Call NameLoad NameLoad keyword Str Expr Call NameLoad NameLoad keyword Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Num Expr Call NameLoad NameLoad Str Str Expr Call NameLoad NameLoad Str Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad Str Str Expr Call NameLoad NameLoad Str Str Expr Call NameLoad NameLoad keyword Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Num Expr Call NameLoad NameLoad Num Expr Call NameLoad NameLoad Str Str Expr Call NameLoad NameLoad Str Str Expr Call NameLoad NameLoad Str Str Expr Call NameLoad NameLoad Str Str Expr Call NameLoad NameLoad Str Str Expr Call NameLoad NameLoad Str Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad Str Str Expr Call NameLoad NameLoad Str Str Expr Call NameLoad NameLoad Str Str Expr Call NameLoad NameLoad Str Str Expr Call NameLoad NameLoad Str Str Expr Call NameLoad NameLoad Str Str Expr Call NameLoad NameLoad keyword Str Expr Call NameLoad NameLoad keyword Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad keyword Str decorator_list NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad decorator_list
N/A N/A unittest flexmock flexmock_teardown tests.dell10g enable assert_running_config_contains_in_order configuring_vlan ssh_protocol_factory telnet_protocol_factory configuring add_vlan configuring_interface tests.util.protocol_util with_protocol Dell10GEnabledTest N/A N/A unittest TestCase N/A N/A __test__ False N/A protocol_factory None setUp N/A N/A self N/A N/A N/A N/A self protocol N/A ssh_protocol_factory N/A tearDown N/A N/A self N/A N/A N/A N/A flexmock_teardown N/A test_terminal_length_0 N/A N/A self t N/A N/A N/A N/A enable t N/A N/A N/A t write terminal length 0 N/A N/A N/A t readln N/A N/A N/A t read my_switch# N/A with_protocol test_exit_returns_to_unprivileged_mode N/A N/A self t N/A N/A N/A N/A enable t N/A N/A N/A t write exit N/A N/A N/A t readln N/A N/A N/A t read my_switch> N/A with_protocol test_quit_disconnects N/A N/A self t N/A N/A N/A N/A enable t N/A N/A N/A t write quit N/A N/A N/A t read_eof N/A with_protocol test_write_memory N/A N/A self t N/A N/A N/A N/A enable t N/A N/A N/A t write copy running-config startup-config N/A N/A N/A t readln N/A N/A N/A t readln This operation may take a few minutes. N/A N/A N/A t readln Management interfaces will not be available during this time. N/A N/A N/A t readln N/A N/A N/A t read Are you sure you want to save? (y/n)  N/A N/A N/A t write_raw y N/A N/A N/A t readln N/A N/A N/A t readln N/A N/A N/A t readln Configuration Saved! N/A N/A N/A t read my_switch# N/A with_protocol test_write_memory_abort N/A N/A self t N/A N/A N/A N/A enable t N/A N/A N/A t write copy running-config startup-config N/A N/A N/A t readln N/A N/A N/A t readln This operation may take a few minutes. N/A N/A N/A t readln Management interfaces will not be available during this time. N/A N/A N/A t readln N/A N/A N/A t read Are you sure you want to save? (y/n)  N/A N/A N/A t write_raw n N/A N/A N/A t readln N/A N/A N/A t readln N/A N/A N/A t readln Configuration Not Saved! N/A N/A N/A t read my_switch# N/A with_protocol test_write_memory_any_other_key_aborts N/A N/A self t N/A N/A N/A N/A enable t N/A N/A N/A t write copy running-config startup-config N/A N/A N/A t readln N/A N/A N/A t readln This operation may take a few minutes. N/A N/A N/A t readln Management interfaces will not be available during this time. N/A N/A N/A t readln N/A N/A N/A t read Are you sure you want to save? (y/n)  N/A N/A N/A t write_raw p N/A N/A N/A t readln N/A N/A N/A t readln N/A N/A N/A t readln Configuration Not Saved! N/A N/A N/A t read my_switch# N/A with_protocol test_invalid_command N/A N/A self t N/A N/A N/A N/A enable t N/A N/A N/A t write shizzle N/A N/A N/A t readln           ^ N/A N/A N/A t readln % Invalid input detected at '^' marker. N/A N/A N/A t readln N/A with_protocol test_show_running_config_on_empty_ethernet_port N/A N/A self t N/A N/A N/A N/A enable t N/A N/A N/A t write show running-config interface tengigabitethernet 0/0/1 N/A N/A N/A t readln N/A N/A N/A t readln N/A N/A N/A t read my_switch# N/A with_protocol test_show_running_config_on_ethernet_port_that_does_not_exists N/A N/A self t N/A N/A N/A N/A enable t N/A N/A N/A t write show running-config interface tengigabitethernet 99/99/99 N/A N/A N/A t readln N/A N/A N/A t read An invalid interface has been used for this function N/A N/A N/A t readln N/A N/A N/A t read my_switch# N/A with_protocol test_show_running_config_displays_header N/A N/A self t N/A N/A N/A N/A enable t N/A N/A assert_running_config_contains_in_order t N/A !Current Configuration: !System Description "............." !System Software Version 3.3.7.3 !Cut-through mode is configured as disabled ! configure N/A with_protocol test_show_vlan N/A N/A self t N/A N/A N/A N/A enable t N/A N/A add_vlan t 10 N/A N/A add_vlan t 11 N/A N/A add_vlan t 12 N/A N/A configuring_vlan t 17 do name this-name-is-too-long-buddy-budd N/A N/A add_vlan t 100 N/A N/A add_vlan t 1000 N/A N/A N/A t write show vlan N/A N/A N/A t readln N/A N/A N/A t readln VLAN   Name                             Ports          Type N/A N/A N/A t readln -----  ---------------                  -------------  -------------- N/A N/A N/A t readln 1      default                                         Default N/A N/A N/A t readln 10     VLAN10                                          Static N/A N/A N/A t readln 11     VLAN11                                          Static N/A N/A N/A t readln 12     VLAN12                                          Static N/A N/A N/A t readln 17     this-name-is-too-long-buddy-budd                Static N/A N/A N/A t readln 100    VLAN100                                         Static N/A N/A N/A t readln 1000   VLAN1000                                        Static N/A N/A N/A t readln N/A N/A N/A t read my_switch# N/A N/A configuring t do no vlan 10 N/A N/A configuring t do no vlan 11 N/A N/A configuring t do no vlan 12 N/A N/A configuring t do no vlan 17 N/A N/A configuring t do no vlan 100 N/A N/A configuring t do no vlan 1000 N/A with_protocol test_show_vlan_with_port N/A N/A self t N/A N/A N/A N/A enable t N/A N/A add_vlan t 10 N/A N/A configuring_interface t tengigabitethernet 0/0/1 switchport mode trunk N/A N/A configuring_interface t tengigabitethernet 0/0/1 switchport trunk allowed vlan 10 N/A N/A N/A t write show vlan N/A N/A N/A t readln N/A N/A N/A t readln VLAN   Name                             Ports          Type N/A N/A N/A t readln -----  ---------------                  -------------  -------------- N/A N/A N/A t readln 1      default                                         Default N/A N/A N/A t readln 10     VLAN10                           Te0/0/1        Static N/A N/A N/A t readln N/A N/A N/A t read my_switch# N/A N/A configuring_interface t tengigabitethernet 0/0/1 switchport trunk allowed vlan remove 10 N/A N/A configuring_interface t tengigabitethernet 0/0/1 no switchport mode N/A N/A configuring t do no vlan 10 N/A with_protocol test_show_vlan_with_ports N/A N/A self t N/A N/A N/A N/A enable t N/A N/A add_vlan t 10 N/A N/A add_vlan t 11 N/A N/A configuring_interface t tengigabitethernet 0/0/1 switchport mode trunk N/A N/A configuring_interface t tengigabitethernet 0/0/2 switchport mode trunk N/A N/A configuring_interface t tengigabitethernet 1/0/2 switchport mode trunk N/A N/A configuring_interface t tengigabitethernet 0/0/1 switchport trunk allowed vlan 10-11 N/A N/A configuring_interface t tengigabitethernet 0/0/2 switchport trunk allowed vlan 10 N/A N/A configuring_interface t tengigabitethernet 1/0/2 switchport trunk allowed vlan 11 N/A N/A N/A t write show vlan N/A N/A N/A t readln N/A N/A N/A t readln VLAN   Name                             Ports          Type N/A N/A N/A t readln -----  ---------------                  -------------  -------------- N/A N/A N/A t readln 1      default                                         Default N/A N/A N/A t readln 10     VLAN10                           Te0/0/1-2      Static N/A N/A N/A t readln 11     VLAN11                           Te0/0/1,       Static N/A N/A N/A t readln                                         Te1/0/2         N/A N/A N/A t readln N/A N/A N/A t read my_switch# N/A N/A configuring_interface t tengigabitethernet 0/0/1 no switchport mode N/A N/A configuring_interface t tengigabitethernet 0/0/2 no switchport mode N/A N/A configuring_interface t tengigabitethernet 1/0/2 no switchport mode N/A N/A configuring_interface t tengigabitethernet 0/0/1 switchport trunk allowed vlan remove 10,11 N/A N/A configuring_interface t tengigabitethernet 0/0/2 switchport trunk allowed vlan remove 10 N/A N/A configuring_interface t tengigabitethernet 1/0/2 switchport trunk allowed vlan remove 11 N/A N/A configuring t do no vlan 10 N/A N/A configuring t do no vlan 11 N/A with_protocol test_show_vlan_id N/A N/A self t N/A N/A N/A N/A enable t N/A N/A add_vlan t 1000 N/A N/A N/A t write show vlan id 500 N/A N/A N/A t readln N/A N/A N/A t readln ERROR: This VLAN does not exist. N/A N/A N/A t readln N/A N/A N/A t read my_switch# N/A N/A N/A t write show vlan id 1000 N/A N/A N/A t readln N/A N/A N/A t readln VLAN   Name                             Ports          Type N/A N/A N/A t readln -----  ---------------                  -------------  -------------- N/A N/A N/A t readln 1000   VLAN1000                                        Static N/A N/A N/A t readln N/A N/A N/A t read my_switch# N/A N/A N/A t write show vlan id bleh N/A N/A N/A t readln                      ^ N/A N/A N/A t readln Invalid input. Please specify an integer in the range 1 to 4093. N/A N/A N/A t readln N/A N/A N/A t read my_switch# N/A N/A N/A t write show vlan id N/A N/A N/A t readln N/A N/A N/A t readln Command not found / Incomplete command. Use ? to list commands. N/A N/A N/A t readln N/A N/A N/A t read my_switch# N/A N/A configuring t do no vlan 1000 N/A with_protocol N/A Dell10GEnabledSshTest N/A Dell10GEnabledTest N/A N/A __test__ True N/A protocol_factory ssh_protocol_factory N/A Dell10GEnabledTelnetTest N/A Dell10GEnabledTest N/A N/A __test__ True N/A protocol_factory telnet_protocol_factory N/A