git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce4b1d3
)
dont delete vini's interent2 placeholder record
author
Tony Mack
<tmack@cs.princeton.edu>
Fri, 16 Oct 2009 21:27:47 +0000
(21:27 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Fri, 16 Oct 2009 21:27:47 +0000
(21:27 +0000)
sfa/plc/sfa-import-plc.py
patch
|
blob
|
history
diff --git
a/sfa/plc/sfa-import-plc.py
b/sfa/plc/sfa-import-plc.py
index
8e0b308
..
e0de5f4
100755
(executable)
--- a/
sfa/plc/sfa-import-plc.py
+++ b/
sfa/plc/sfa-import-plc.py
@@
-205,8
+205,13
@@
def main():
record = existing_records[(record_hrn, type)]
# if this is the interface name dont do anything
if record_hrn == import_auth or record['peer_authority']:
- continue
-
+ continue
+ # dont delete vini's internet2 placeholdder record
+ # normally this would be deleted becuase it does not have a plc record
+ if ".vini" in import_auth and import_auth.endswith('vini') and \
+ record_hrn.endswith("internet2"):
+ continue
+
found = False
if type == 'authority':