コード例 #1
0
 def setup_clients(cls):
     super(L2GatewayConnectionTest, cls).setup_clients()
     cls.l2gw_created = {}
     cls.l2gwc_created = {}
     l2gw_mgr = cls.os_adm
     cls.l2gw_client = L2GW.get_client(l2gw_mgr)
     cls.l2gwc_client = L2GWC.get_client(l2gw_mgr)
     cls.l2gw_list_0 = cls.l2gw_client.list_l2_gateways()[L2GW_RIDs]
コード例 #2
0
 def setup_clients(cls):
     super(L2GatewayConnectionTest, cls).setup_clients()
     cls.l2gw_created = {}
     cls.l2gwc_created = {}
     l2gw_mgr = cls.os_adm
     cls.l2gw_client = L2GW.get_client(l2gw_mgr)
     cls.l2gwc_client = L2GWC.get_client(l2gw_mgr)
     cls.l2gw_list_0 = cls.l2gw_client.list_l2_gateways()[L2GW_RIDs]