Beispiel #1
0
 def test_create_ipsec_site(self, mock):
     '''
     Test if it creates a new IPsecSiteConnection
     '''
     self.assertTrue(neutron.create_ipsec_site_connection
                     ('SALTSTACK', 'A', 'B', 'C', '192.168.1.0/24',
                      '192.168.1.11', '192.168.1.10', 'secret',
                      profile='openstack1'))
Beispiel #2
0
 def test_create_ipsec_site(self, mock):
     '''
     Test if it creates a new IPsecSiteConnection
     '''
     self.assertTrue(
         neutron.create_ipsec_site_connection('SALTSTACK',
                                              'A',
                                              'B',
                                              'C',
                                              '192.168.1.0/24',
                                              '192.168.1.11',
                                              '192.168.1.10',
                                              'secret',
                                              profile='openstack1'))
Beispiel #3
0
 def test_create_ipsec_site(self):
     """
     Test if it creates a new IPsecSiteConnection
     """
     self.assertTrue(
         neutron.create_ipsec_site_connection(
             "SALTSTACK",
             "A",
             "B",
             "C",
             "192.168.1.0/24",
             "192.168.1.11",
             "192.168.1.10",
             "secret",
             profile="openstack1",
         ))
Beispiel #4
0
 def test_create_ipsec_site(self, mock):
     """
     Test if it creates a new IPsecSiteConnection
     """
     self.assertTrue(
         neutron.create_ipsec_site_connection(
             "SALTSTACK",
             "A",
             "B",
             "C",
             "192.168.1.0/24",
             "192.168.1.11",
             "192.168.1.10",
             "secret",
             profile="openstack1",
         )
     )