예제 #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'))
예제 #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'))
예제 #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",
         ))
예제 #4
0
파일: neutron_test.py 프로젝트: bryson/salt
 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",
         )
     )