Skip to content

Commit bfd02c5

Browse files
author
Prasanna Santhanam
committed
traffic_type not traffictype
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
1 parent 04b14ab commit bfd02c5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tools/marvin/marvin/deployDataCenter.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,8 @@ def addTrafficType(self, physical_network_id, traffictype):
260260
traffic_type.traffictype = traffictype.typ
261261
traffic_type.kvmnetworklabel = traffictype.kvm if traffictype.kvm is not None else None
262262
traffic_type.xennetworklabel = traffictype.xen if traffictype.xen is not None else None
263-
traffictype.vmwarenetworklabel = traffictype.vmware if traffictype.vmware is not None else None
264-
traffictype.simulatorlabel = traffictype.simulator if traffictype.simulator is not None else None
263+
traffic_type.vmwarenetworklabel = traffictype.vmware if traffictype.vmware is not None else None
264+
traffic_type.simulatorlabel = traffictype.simulator if traffictype.simulator is not None else None
265265
return self.apiClient.addTrafficType(traffic_type)
266266

267267
def enableZone(self, zoneid, allocation_state="Enabled"):

0 commit comments

Comments
 (0)