def setUp(self):
        self.apiClient = self.testClient.getApiClient()
        self.zone = get_zone(self.apiClient, self.testClient.getZoneForTests())
        self.physicalnetwork, self.vlan = setNonContiguousVlanIds(self.apiClient, self.zone.id)

        self.physicalnetworkid = self.physicalnetwork.id
        self.existing_vlan = self.physicalnetwork.vlan

        if self.vlan is None:
            raise Exception("Failed to set non contiguous vlan ids to test. Free some ids from \
                        from existing physical networks at ends")
示例#2
0
    def setUp(self):
        self.apiClient = self.testClient.getApiClient()
        self.zone = get_zone(self.apiClient, self.testClient.getZoneForTests())
        self.physicalnetwork, self.vlan = setNonContiguousVlanIds(self.apiClient, self.zone.id)

        self.physicalnetworkid = self.physicalnetwork.id
        self.existing_vlan = self.physicalnetwork.vlan

        if self.vlan is None:
            raise Exception("Failed to set non contiguous vlan ids to test. Free some ids from \
                        from existing physical networks at ends")
    def setUp(self):
        self.apiclient = self.testClient.getApiClient()
        self.vlan = self.services["vlan_nc"]
        self.apiClient = self.testClient.getApiClient()

        self.physicalnetwork, self.vlan = setNonContiguousVlanIds(self.apiclient, self.zone.id)

        self.physicalnetworkid = self.physicalnetwork.id
        self.existingvlan = self.physicalnetwork.vlan
        
        if self.vlan == None:
            self.fail("Failed to set non contiguous vlan ids to test. Free some ids from \
                        from existing physical networks at extreme ends")
        self.cleanup = []
    def setUp(self):
        self.apiclient = self.testClient.getApiClient()
        self.vlan = self.services["vlan_nc"]
        self.apiClient = self.testClient.getApiClient()

        self.physicalnetwork, self.vlan = setNonContiguousVlanIds(
            self.apiclient, self.zone.id)

        self.physicalnetworkid = self.physicalnetwork.id
        self.existingvlan = self.physicalnetwork.vlan

        if self.vlan == None:
            self.fail(
                "Failed to set non contiguous vlan ids to test. Free some ids from \
                        from existing physical networks at extreme ends")
        self.cleanup = []