traffic_type not traffictype

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
Prasanna Santhanam 2013-01-15 19:36:30 +05:30
parent 04b14ab03f
commit bfd02c5db3
1 changed files with 2 additions and 2 deletions

View File

@ -260,8 +260,8 @@ class deployDataCenters():
traffic_type.traffictype = traffictype.typ
traffic_type.kvmnetworklabel = traffictype.kvm if traffictype.kvm is not None else None
traffic_type.xennetworklabel = traffictype.xen if traffictype.xen is not None else None
traffictype.vmwarenetworklabel = traffictype.vmware if traffictype.vmware is not None else None
traffictype.simulatorlabel = traffictype.simulator if traffictype.simulator is not None else None
traffic_type.vmwarenetworklabel = traffictype.vmware if traffictype.vmware is not None else None
traffic_type.simulatorlabel = traffictype.simulator if traffictype.simulator is not None else None
return self.apiClient.addTrafficType(traffic_type)
def enableZone(self, zoneid, allocation_state="Enabled"):