fix camelcasing of networkPorts -> network_ports
diff --git a/planetstack/core/xoslib/objects/sliceplus.py b/planetstack/core/xoslib/objects/sliceplus.py
index f4a5e0a..efb6b2a 100644
--- a/planetstack/core/xoslib/objects/sliceplus.py
+++ b/planetstack/core/xoslib/objects/sliceplus.py
@@ -27,7 +27,7 @@
"roles": roles}
@property
- def networkPorts(self):
+ def network_ports(self):
# XXX this assumes there is only one network that can have ports bound
# to it for a given slice. This is intended for the tenant view, which
# will obey this field.
@@ -39,8 +39,8 @@
return networkPorts
- @networkPorts.setter
- def networkPorts(self, value):
+ @network_ports.setter
+ def network_ports(self, value):
print "XXX set networkPorts to", value
@staticmethod