From dd368128bb582042c294f045dcdfa36703ac78cf Mon Sep 17 00:00:00 2001
From: Mark Huang <mlhuang@cs.princeton.edu>
Date: Wed, 11 Oct 2006 19:52:19 +0000
Subject: [PATCH] - add pcu_ids

---
 PLC/Sites.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/PLC/Sites.py b/PLC/Sites.py
index b961ba7c..cb9c54a0 100644
--- a/PLC/Sites.py
+++ b/PLC/Sites.py
@@ -37,7 +37,7 @@ class Site(Row):
         'person_ids': Parameter([int], "List of account identifiers", ro = True),
         'slice_ids': Parameter([int], "List of slice identifiers", ro = True),
         'address_ids': Parameter([int], "List of address identifiers", ro = True),
-        # 'pcu_ids': Parameter([int], "List of PCU identifiers", ro = True),
+        'pcu_ids': Parameter([int], "List of PCU identifiers", ro = True),
         'node_ids': Parameter([int], "List of site node identifiers", ro = True),
         }
 
@@ -168,9 +168,9 @@ class Site(Row):
            slice.delete(commit = False)
 
         # Delete all site PCUs
-        # pcus = PCUs(self.api, self['pcu_ids'])
-        # for pcu in pcus.values():
-        #    pcu.delete(commit = False)
+        pcus = PCUs(self.api, self['pcu_ids'])
+        for pcu in pcus.values():
+           pcu.delete(commit = False)
 
         # Delete all site nodes
         nodes = Nodes(self.api, self['node_ids'])
-- 
2.47.0