#NEWLINE# @ with_protocol #NEWLINE# def test_show_vlan( self , t ) : #NEWLINE# #INDENT# enable ( t ) #NEWLINE# add_vlan ( t , 10 ) #NEWLINE# add_vlan ( t , 11 ) #NEWLINE# add_vlan ( t , 12 ) #NEWLINE# configuring_vlan ( t , 17 , do = 'name this-name-is-too-long-buddy-budd' ) #NEWLINE# add_vlan ( self , 100 ) #NEWLINE# add_vlan ( t , 1000 ) #NEWLINE# t . write ( 'show vlan' ) #NEWLINE# t . readln ( '' ) #NEWLINE# t . readln ( 'VLAN   Name                             Ports          Type' ) #NEWLINE# t . readln ( '-----  ---------------                  -------------  --------------' ) #NEWLINE# t . readln ( '1      default                                         Default' ) #NEWLINE# t . readln ( '10     VLAN10                                          Static' ) #NEWLINE# t . readln ( '11     VLAN11                                          Static' ) #NEWLINE# t . readln ( '12     VLAN12                                          Static' ) #NEWLINE# t . readln ( '17     this-name-is-too-long-buddy-budd                Static' ) #NEWLINE# t . readln ( '100    VLAN100                                         Static' ) #NEWLINE# t . readln ( '1000   VLAN1000                                        Static' ) #NEWLINE# t . readln ( '' ) #NEWLINE# t . read ( 'my_switch#' ) #NEWLINE# configuring ( t , do = 'no vlan 10' ) #NEWLINE# configuring ( t , do = 'no vlan 11' ) #NEWLINE# configuring ( t , do = 'no vlan 12' ) #NEWLINE# configuring ( t , do = 'no vlan 17' ) #NEWLINE# configuring ( t , do = 'no vlan 100' ) #NEWLINE# configuring ( t , do = 'no vlan 1000' )