def test_modify_when_peer_not_exist(self): port = UnityEthernetPort(cli=t_rest(), _id='spa_eth4') port.modify(mtu=1500)
def do(): port = UnityEthernetPort(cli=t_rest(), _id='spb_eth3') port.modify(speed=40000)
def test_modify_speed_to_same_value(self): port = UnityEthernetPort(cli=t_rest(), _id='spb_eth3') port.modify(speed=EPSpeedValuesEnum.AUTO)
def test_modify_speed(self): port = UnityEthernetPort(cli=t_rest(), _id='spa_eth3') port.modify(speed=100)
def test_modify_mtu_to_same_value(self): port = UnityEthernetPort(cli=t_rest(), _id='spb_eth3') port.modify(mtu=1500)
def test_modify_mtu(self): port = UnityEthernetPort(cli=t_rest(), _id='spa_eth3') port.modify(mtu=9000)