示例#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)