diff options
author | Rob Austein <sra@hactrn.net> | 2012-01-12 04:01:20 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2012-01-12 04:01:20 +0000 |
commit | e5662c723c93bbdd0d5b752d96fea038ab8b4da0 (patch) | |
tree | fd706f153de71d0239657e4c620bd4b52c24c530 /rpkid/tests | |
parent | 8cd53f7fdc02c73bbc32f32b8a9e21564f298fb1 (diff) |
Refactor library functions out of rpkic command line shell (see #26,
but note that I'm working this as part of #100 so it's on the tk100
branch, see #100).
This substantially completes #26 and #100, other than GUI integration.
Still some documentation and cleanup work to be done.
svn path=/branches/tk100/; revision=4150
Diffstat (limited to 'rpkid/tests')
-rw-r--r-- | rpkid/tests/yamltest.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rpkid/tests/yamltest.py b/rpkid/tests/yamltest.py index 40dd0e5f..290120f7 100644 --- a/rpkid/tests/yamltest.py +++ b/rpkid/tests/yamltest.py @@ -313,7 +313,7 @@ class allocation(object): for k in self.kids: f.writerows((k.name, a) for a in k.resources.asn) f.close() - self.run_rpkic("synchronize_asns", fn) + self.run_rpkic("load_asns", fn) def dump_prefixes(self, fn): """ @@ -323,7 +323,7 @@ class allocation(object): for k in self.kids: f.writerows((k.name, p) for p in (k.resources.v4 + k.resources.v6)) f.close() - self.run_rpkic("synchronize_prefixes", fn) + self.run_rpkic("load_prefixes", fn) def dump_roas(self, fn): """ @@ -335,7 +335,7 @@ class allocation(object): f.writerows((p, r.asn, group) for p in (r.v4 + r.v6 if r.v4 and r.v6 else r.v4 or r.v6 or ())) f.close() - self.run_rpkic("synchronize_roa_requests", fn) + self.run_rpkic("load_roa_requests", fn) @property def pubd(self): |