Exemplo n.º 1
0
 def test_is_link_aggregation_not_supported(self):
     port = UnityIpPort('spa_eth6', cli=t_rest("4.0"))
     assert_that(port.is_link_aggregation(), equal_to(False))
Exemplo n.º 2
0
 def test_is_link_aggregation(self):
     port = UnityIpPort('spa_eth3', cli=t_rest())
     assert_that(port.is_link_aggregation(), equal_to(False))
     port = UnityIpPort('spa_la_2', cli=t_rest())
     assert_that(port.is_link_aggregation(), equal_to(True))