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:
8e569f6
)
dont remove root or sub authorities
author
Tony Mack
<tmack@cs.princeton.edu>
Mon, 10 May 2010 22:35:25 +0000
(22:35 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Mon, 10 May 2010 22:35:25 +0000
(22:35 +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
4732d20
..
0350bbb
100755
(executable)
--- a/
sfa/plc/sfa-import-plc.py
+++ b/
sfa/plc/sfa-import-plc.py
@@
-203,7
+203,9
@@
def main():
for (record_hrn, type) in existing_records.keys():
record = existing_records[(record_hrn, type)]
# if this is the interface name dont do anything
- if record_hrn == interface_hrn or record['peer_authority']:
+ if record_hrn == interface_hrn or \
+ record_hrn == root_auth or \
+ record['peer_authority']:
continue
# dont delete vini's internet2 placeholdder record
# normally this would be deleted becuase it does not have a plc record