Пример #1
0
 def test_modify_when_peer_not_exist(self):
     port = UnityEthernetPort(cli=t_rest(), _id='spa_eth4')
     port.modify(mtu=1500)
Пример #2
0
 def do():
     port = UnityEthernetPort(cli=t_rest(), _id='spb_eth3')
     port.modify(speed=40000)
Пример #3
0
 def test_modify_speed_to_same_value(self):
     port = UnityEthernetPort(cli=t_rest(), _id='spb_eth3')
     port.modify(speed=EPSpeedValuesEnum.AUTO)
Пример #4
0
 def test_modify_speed(self):
     port = UnityEthernetPort(cli=t_rest(), _id='spa_eth3')
     port.modify(speed=100)
Пример #5
0
 def test_modify_mtu_to_same_value(self):
     port = UnityEthernetPort(cli=t_rest(), _id='spb_eth3')
     port.modify(mtu=1500)
Пример #6
0
 def test_modify_mtu(self):
     port = UnityEthernetPort(cli=t_rest(), _id='spa_eth3')
     port.modify(mtu=9000)