Пример #1
0
 def get_ethernet_ports():
     return test_client.MockResourceList(ids=['spa_eth0', 'spb_eth0'])
Пример #2
0
 def get_pools():
     return test_client.MockResourceList(['pool0', 'pool1'])
Пример #3
0
 def get_fc_ports():
     return test_client.MockResourceList(
         ids=['spa_iom_0_fc0', 'spa_iom_0_fc1'])