From cdd5c46a279a0bb19e810d09c7061df27a75a564 Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Sat, 3 Feb 2007 23:33:43 +0000 Subject: [PATCH] - Update plc_ticket_pubkey attribute --- tools/slice_attributes.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/tools/slice_attributes.py b/tools/slice_attributes.py index 6c21bb3..32fa63f 100755 --- a/tools/slice_attributes.py +++ b/tools/slice_attributes.py @@ -6,7 +6,7 @@ # Mark Huang # 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'] -- 2.43.0