cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daan Hoogland <daan.hoogl...@gmail.com>
Subject marvin create network offering incomplete?
Date Tue, 08 Oct 2013 13:27:10 GMT
H,

I am building an integration test with marvin and the following data:

            "network_offering": {
                "name": 'Test Network offering',
                "displaytext": 'Test Network offering',
                "guestiptype": 'Isolated',
                "supportedservices": 'Connectivity',
                "traffictype": 'GUEST',
                "availability": 'Optional',
                "specifyvlan": False,
                "specifyipranges": False,
                "serviceproviderlist": {
                    "Connectivity": "NiciraNVP"
                },
                "conservemode": False,
                "tags": [ "nicira-based" ]
            },
            "network": {
                "name": "Test Network",
                "displaytext": "Test Network",
                "tags": "nicira-based"
            },
 in the code I put:
        self.network_offering = NetworkOffering.create(
            self.apiclient,
            self.testdata["network_offering"]
        )
        # Enable Network offering
        self.network_offering.update(self.apiclient, state='Enabled')
        self.testdata["network"]["zoneid"] = self.zone.id
        self.testdata["network"]["networkoffering"] =
self.network_offering.id
        self.network = Network.create(
            self.apiclient,
            self.testdata["network"]
        )
The network doesn't get created:
 431, errorText:More than one physical networks exist in zone id=1 and no
tags are specified in order to make a choice

When inspecting indeed the tags are not set on the offering and neither is
conservemode.

Am I hunting a bug ar did I misconfigure my test?

Daan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message