diff options
author | Rob Austein <sra@hactrn.net> | 2014-03-16 17:51:29 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2014-03-16 17:51:29 +0000 |
commit | 8270de20f38869dc9c0dec082f7bc59b30f2db97 (patch) | |
tree | aa06d3dc6b94b417cdb5a681c08ccbad888a1115 /rpkid/portal-gui/scripts/rpkigui-reset-demo.py | |
parent | 7332a3d614b606b91ea2cf75c19cf169f09ef73e (diff) |
Pull from trunk.
svn path=/branches/tk671/; revision=5705
Diffstat (limited to 'rpkid/portal-gui/scripts/rpkigui-reset-demo.py')
-rw-r--r-- | rpkid/portal-gui/scripts/rpkigui-reset-demo.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/rpkid/portal-gui/scripts/rpkigui-reset-demo.py b/rpkid/portal-gui/scripts/rpkigui-reset-demo.py index e1ff6134..0a3a1537 100644 --- a/rpkid/portal-gui/scripts/rpkigui-reset-demo.py +++ b/rpkid/portal-gui/scripts/rpkigui-reset-demo.py @@ -1,4 +1,4 @@ -# Copyright (C) 2012, 2013 SPARTA, Inc. a Parsons Company +# Copyright (C) 2012, 2013, 2014 SPARTA, Inc. a Parsons Company # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -39,3 +39,10 @@ for n in xrange(1, 33): conf.clear_alerts() print '... updating resource certificate cache' list_received_resources(sys.stdout, conf) + + # Remove delegated resources (see https://trac.rpki.net/ticket/544) + # Note that we do not remove the parent-child relationship, just the + # resources. + for child in conf.children(): + child.asns.delete() + child.address_ranges.delete() |