sliceplus support for site_allocation and network_ports for tenant view
diff --git a/planetstack/core/xoslib/objects/sliceplus.py b/planetstack/core/xoslib/objects/sliceplus.py
index efb6b2a..7ec8e27 100644
--- a/planetstack/core/xoslib/objects/sliceplus.py
+++ b/planetstack/core/xoslib/objects/sliceplus.py
@@ -27,6 +27,14 @@
"roles": roles}
@property
+ def site_allocation(self):
+ return self.getSliceInfo()["sitesUsed"]
+
+ @site_allocation.setter
+ def site_allocation(self, value):
+ print "XXX set sitesUsed to", value
+
+ @property
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