mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-660: Fixes traffic label configuration in Marvin
Signed-off-by: Chip Childers <chip.childers@gmail.com>
This commit is contained in:
parent
bec00cce46
commit
14f589702a
|
|
@ -258,9 +258,9 @@ class deployDataCenters():
|
|||
traffic_type = addTrafficType.addTrafficTypeCmd()
|
||||
traffic_type.physicalnetworkid = physical_network_id
|
||||
traffic_type.traffictype = traffictype.typ
|
||||
if traffictype.labeldict:
|
||||
traffic_type.kvmnetworklabel = traffictype.labeldict.xen
|
||||
traffic_type.xennetworklabel = traffictype.labeldict.kvm
|
||||
if traffictype.labeldict is not None:
|
||||
traffic_type.kvmnetworklabel = traffictype.labeldict.kvm
|
||||
traffic_type.xennetworklabel = traffictype.labeldict.xen
|
||||
traffic_type.vmwarenetworklabel = traffictype.labeldict.vmware
|
||||
return self.apiClient.addTrafficType(traffic_type)
|
||||
|
||||
|
|
@ -419,7 +419,6 @@ class deployDataCenters():
|
|||
self.createZones(self.config.zones)
|
||||
self.updateConfiguration(self.config.globalConfig)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
parser = OptionParser()
|
||||
|
|
|
|||
Loading…
Reference in New Issue