- Update plc_ticket_pubkey attribute
authorMark Huang <mlhuang@cs.princeton.edu>
Sat, 3 Feb 2007 23:33:43 +0000 (23:33 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Sat, 3 Feb 2007 23:33:43 +0000 (23:33 +0000)
tools/slice_attributes.py

index 6c21bb3..32fa63f 100755 (executable)
@@ -6,7 +6,7 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2006 The Trustees of Princeton University
 #
-# $Id: slice_attributes.py,v 1.2 2007/02/03 00:43:37 mlhuang Exp $
+# $Id: slice_attributes.py,v 1.3 2007/02/03 21:42:39 mlhuang Exp $
 #
 
 import re
@@ -98,6 +98,17 @@ for slice_attribute in GetSliceAttributes({'name': rename.keys()}):
     # Delete the old attribute
     DeleteSliceAttribute(id)
 
+# Update plc_ticket_pubkey attribute
+for slice_attribute in GetSliceAttributes({'name': "plc_ticket_pubkey"}):
+    id = slice_attribute['slice_attribute_id']
+
+    UpdateSliceAttribute(id, """
+MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDKXa72MEKDAnVyzEpKOB1ot2eW
+xG/TG2aa7q/2oy1xf5XMmU9H9uKwO+GoUeinp1BSxgkVRF0VhEGGaqKR9kYQzX0k
+ht4+P2hAr+UyU4cp0NxV4xfmyAbrNKuHVjawMUCu5BH0IkBUC/89ckxk71oROnak
+FbI7ojUezSGr4aVabQIDAQAB
+""".lstrip())
+
 # Delete _deleted and deprecated slice attributes and types
 for attribute_type in GetSliceAttributeTypes():
     id = attribute_type['attribute_type_id']