Esempio n. 1
0
 def check_prerequisite(self):
     client = getNeutronClient(self.options)
     return meta.get_and_munchify(
         'ipsec_site_connections',
         client.list_ipsec_site_connections()) == []
Esempio n. 2
0
 def list(self):
     client = getNeutronClient(self.options)
     return meta.get_and_munchify('ipsec_site_connections',
                                  client.list_ipsec_site_connections())