mirror of https://github.com/apache/cloudstack.git
Correcting the example configurations for advanced and basic zone
Zones will now be have to configured with physical networks, their traffic types and the providers with the devices supporting the service
This commit is contained in:
parent
614131a9de
commit
aa8fee4fac
|
|
@ -46,6 +46,16 @@ def describeResources(config):
|
|||
z.name = 'Sandbox-%s'%(config.get('cloudstack', 'hypervisor'))
|
||||
z.networktype = 'Advanced'
|
||||
z.guestcidraddress = '10.1.1.0/24'
|
||||
|
||||
vpcprovider = provider()
|
||||
vpcprovider.name = 'VpcVirtualRouter'
|
||||
|
||||
pn = physical_network()
|
||||
pn.name = "Sandbox-pnet"
|
||||
pn.traffictypes = [traffictype("Guest"), traffictype("Management"), traffictype("Public")]
|
||||
pn.providers.append(vpcprovider)
|
||||
|
||||
z.physical_networks.append(pn)
|
||||
|
||||
p = pod()
|
||||
p.name = 'POD0'
|
||||
|
|
|
|||
|
|
@ -47,6 +47,17 @@ def describeResources(config):
|
|||
z.name = 'Sandbox-%s'%(config.get('cloudstack', 'hypervisor'))
|
||||
z.networktype = 'Basic'
|
||||
z.securitygroupenabled = 'true'
|
||||
|
||||
sgprovider = provider()
|
||||
sgprovider.broadcastdomainrange = 'Pod'
|
||||
sgprovider.name = 'SecurityGroupProvider'
|
||||
|
||||
pn = physical_network()
|
||||
pn.name = "Sandbox-pnet"
|
||||
pn.traffictypes = [traffictype("Guest"), traffictype("Management")]
|
||||
pn.providers.append(sgprovider)
|
||||
|
||||
z.physical_networks.append(pn)
|
||||
|
||||
p = pod()
|
||||
p.name = 'POD0'
|
||||
|
|
|
|||
Loading…
Reference in New Issue