aboutsummaryrefslogtreecommitdiff
path: root/rpki/left_right.py
AgeCommit message (Collapse)Author
2016-05-07Oops, TeX-style "--" numeric ranges in copyright comments are bad fitRob Austein
for XML. Apparently we were carefully changing just the XML files to use a single "-" to work around this. Enough already, just convert all copyright year ranges to single "-" and have done with this. svn path=/branches/tk705/; revision=6427
2016-05-07More copyright notices, what fun.Rob Austein
svn path=/branches/tk705/; revision=6426
2016-04-23rpkic extract_root_certificate and extract_root_tal commands.Rob Austein
svn path=/branches/tk705/; revision=6378
2015-10-26"Any programmer who fails to comply with the standard naming, formatting,Rob Austein
or commenting conventions should be shot. If it so happens that it is inconvenient to shoot him, then he is to be politely requested to recode his program in adherence to the above standard." -- Michael Spier, Digital Equipment Corporation svn path=/branches/tk705/; revision=6152
2015-10-22First cut at replacing rpkid's HTTP and I/O system with Tornado. NotRob Austein
quite working perfectly yet (cron is a bit wonky) but manages to produce an initial set of ROAs without thowing any exceptions, and code is already much cleaner than the old callback-based horror. svn path=/branches/tk705/; revision=6139
2015-10-20Change <self/> (etc) to <tenant/> (etc). "self" always was a reallyRob Austein
bad choice for something implemented in Python, holdover from an older specification, but Django ORM's troubles with "self" as a keyword argument were the last straw. Enough already. Backwards compatability should be a straightforward data migration. svn path=/branches/tk705/; revision=6134
2015-10-19Amputate old SQL code out of rpkid with a fire axe, replacing it withRob Austein
Django ORM. Duct tape and bailing wire everywhere, much clean-up left to do, but basic "make yamltest" suite runs. Much of the clean-up isn't worth doing until after revamping the I/O system, as it'll all change again at that point anyway. svn path=/branches/tk705/; revision=6127
2015-10-16PyLint. As usual, a lot of noise and a handful of real, albeit minor, bugs.Rob Austein
svn path=/branches/tk705/; revision=6123
2015-10-16Doh, forgot to include rrdp_notification_uri in old-style SQL template.Rob Austein
svn path=/branches/tk705/; revision=6121
2015-10-16Replace RRDP wired-in-URL kludge with proper support in OOB andRob Austein
left-right protocol and irdb and rpkidb models. Not fully working yet, RRDP URI isn't yet showing up everywhere it should, but this is probably more an indication that the previous hack was incomplete than that the replacement broke something. svn path=/branches/tk705/; revision=6120
2015-10-12Checkpoint while porting old create/set actions to ORM models.Rob Austein
svn path=/branches/tk705/; revision=6113
2015-10-11Add XMLTemplate class in an attempt to encapsulate omst of theRob Austein
XML-related voodoo for models exposed in the left-right protocol. svn path=/branches/tk705/; revision=6110
2015-10-10Clean up ancient XML namespace kludges.Rob Austein
svn path=/branches/tk705/; revision=6109
2015-10-10Merge what's left of rpki.xml_utils into what's left ofRob Austein
rpki.left_right and start pruning the result down to figure out how much really needs to be ported over to the new models. svn path=/branches/tk705/; revision=6108
2015-10-10Clean still more old XML-related classes. Rob Austein
At this point, all the classes remaining in rpki.left_right pertain are the pre-Django equivalents of models, and they're the only things left still using rpki.xml_utils. Some old test code remains broken (not yet converted). GUI code that I know about has been converted but not tested (not all that much to convert there, mostly the GUI just invokes the Zookeeper. svn path=/branches/tk705/; revision=6107
2015-10-09Unwind more of the left_right XML processing from the oldRob Austein
rpki.left_right classes. svn path=/branches/tk705/; revision=6106
2015-10-09Baby steps towards using new rpkidb models. Now that SAX is gone,Rob Austein
clean up some of the corresponding mess. svn path=/branches/tk705/; revision=6105
2015-10-07Move all the special-case glorp for attribute types into templates,Rob Austein
thereby eliminating still more parsing code. No clue why we didn't do this years ago. svn path=/branches/tk705/; revision=6095
2015-10-07SAX cleanup.Rob Austein
svn path=/branches/tk705/; revision=6094
2015-10-07Working without SAX. I think. Checkpointing version that workedRob Austein
before ripping out remaining SAX code. svn path=/branches/tk705/; revision=6093
2015-07-21Last batch of catch-up merges. Still need to test, but this is aRob Austein
development branch, so committing the merge before testing shouldn't break anything. svn path=/branches/tk705/; revision=6084
2014-11-12Fix first round of RRDP SIA URI bugs.Rob Austein
svn path=/branches/tk705/; revision=6019
2014-11-09rpkic force_publication working on tk705 again.Rob Austein
svn path=/branches/tk705/; revision=6014
2014-11-08Clean up unused exceptions left over from some refactoring expeditionRob Austein
or another. svn path=/branches/tk705/; revision=6013
2014-10-03Whittle another chunk off the SAX monster.Rob Austein
svn path=/branches/tk705/; revision=5983
2014-10-02Whittle one small chunk off the left-right protocol SAX mess.Rob Austein
svn path=/branches/tk705/; revision=5981
2014-09-25Convert remaining rpkid up-down code from SAX to etree.Rob Austein
svn path=/branches/tk705/; revision=5970
2014-09-24Start converting rpkid's up-down implementation to use lxml.etree instead of ↵Rob Austein
SAX. svn path=/branches/tk705/; revision=5969
2014-09-19Convert irdbd from SAX to lxml.etree.Rob Austein
svn path=/branches/tk705/; revision=5962
2014-09-17Clean out last vestiges of SAX-based publication protocol code.Rob Austein
svn path=/branches/tk705/; revision=5960
2014-07-18Pull changes from trunk.Rob Austein
svn path=/branches/tk705/; revision=5903
2014-07-18Pull XML namespaces and so forth from schemas where possible.Rob Austein
svn path=/trunk/; revision=5902
2014-07-09Add withdrawal hashes to publication and rrdp.Rob Austein
svn path=/branches/tk705/; revision=5888
2014-07-07Checkpoint of SQL-based publish and withdraw processing. Doesn'tRob Austein
handle publish-with-overwrite correctly yet, not generating RRDP files yet, but passes "make test" without doing anything obviously insane. svn path=/branches/tk705/; revision=5887
2014-07-03Convert to current IETF I-D version of publication protocol. See #705.Rob Austein
svn path=/branches/tk705/; revision=5881
2014-05-29PyLintRob Austein
svn path=/trunk/; revision=5845
2014-05-29Python style police: instantiate exceptions before raising themRob Austein
(convert two-expression form of "raise" to one-expression form). svn path=/trunk/; revision=5844
2014-05-29Provide our own logging Formatter class rather than straining toRob Austein
subclass the stock one. Replace all uses of rpki.log.traceback() with logging package .exception() calls. Use LoggingAdapter for all the whacky per-stream logging code in rpki.http. Fix default logging priority for non-daemon programs like rpkic. svn path=/trunk/; revision=5843
2014-05-28Update all uses of rpki.log.traceback() for use with logging module.Rob Austein
svn path=/trunk/; revision=5838
2014-05-28Whack all logging calls to use per-module logger objects.Rob Austein
svn path=/trunk/; revision=5837
2014-05-20Clean up ancient singleton arguments to .execute(); MySQLdb used toRob Austein
tolerate these, but seems not to like them anymore, at least not on MacOSX Mavericks with Homebrew's version of MySQL and MySQLdb. svn path=/trunk/; revision=5830
2014-04-05Source tree reorg, phase 1. Almost everything moved, no file contents changed.Rob Austein
svn path=/branches/tk685/; revision=5757