コード例 #1
0
ファイル: neutron_vpnaas.py プロジェクト: simonre/ospurge
 def check_prerequisite(self):
     client = getNeutronClient(self.options)
     return meta.get_and_munchify(
         'ipsec_site_connections',
         client.list_ipsec_site_connections()) == []
コード例 #2
0
ファイル: neutron_vpnaas.py プロジェクト: simonre/ospurge
 def list(self):
     client = getNeutronClient(self.options)
     return meta.get_and_munchify('ipsec_site_connections',
                                  client.list_ipsec_site_connections())