From afb06330d3b3f6fdeb32012ee8626d88ba2ed381 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Thu, 3 Jul 2014 16:55:02 +0000 Subject: Convert to current IETF I-D version of publication protocol. See #705. svn path=/branches/tk705/; revision=5881 --- rpki/relaxng.py | 349 +++++++++++++++++++++++--------------------------------- 1 file changed, 141 insertions(+), 208 deletions(-) (limited to 'rpki/relaxng.py') diff --git a/rpki/relaxng.py b/rpki/relaxng.py index 07d7e05b..30a0824d 100644 --- a/rpki/relaxng.py +++ b/rpki/relaxng.py @@ -1478,9 +1478,9 @@ myrpki = lxml.etree.RelaxNG(lxml.etree.fromstring(r''' ''')) -## @var publication -## Parsed RelaxNG publication schema -publication = lxml.etree.RelaxNG(lxml.etree.fromstring(r''' +## @var publication_control +## Parsed RelaxNG publication_control schema +publication_control = lxml.etree.RelaxNG(lxml.etree.fromstring(r''' - + @@ -1537,11 +1537,6 @@ publication = lxml.etree.RelaxNG(lxml.etree.fromstring(r''' - - - - - @@ -1549,11 +1544,6 @@ publication = lxml.etree.RelaxNG(lxml.etree.fromstring(r''' - - - - - @@ -1598,7 +1588,7 @@ publication = lxml.etree.RelaxNG(lxml.etree.fromstring(r''' @@ -1650,7 +1640,7 @@ publication = lxml.etree.RelaxNG(lxml.etree.fromstring(r''' - + @@ -1795,196 +1785,152 @@ publication = lxml.etree.RelaxNG(lxml.etree.fromstring(r''' - - - - - publish - - - - - - - - - - - - publish - - - - - - - - - - - withdraw - - - - - - - - - - - withdraw - - - - - - - - - - - - publish - - - - - - - - - - - - publish - - - - - - - - - - - withdraw - - - - - - + + + + 1024 + - - - - withdraw - + + - - - - - - - - publish + + - + + 512000 + - - - - - - publish - - - - - - + + +''')) + +## @var publication +## Parsed RelaxNG publication schema +publication = lxml.etree.RelaxNG(lxml.etree.fromstring(r''' + + + + + 3 - - - - withdraw + + + + + - - - - + + + + query + + + + + + + + reply + + + + + + + + + + + + + - - - - withdraw - - - - - - + + + + + + - - - - - publish - - - - - - - + + + + + 1024 + + - - - - publish - - - - - - + + + - - - - withdraw - - - - - - + + + + + 4096 + + - - - - withdraw - - - - - - + + + + 1024 + - - - - - publish - + + + @@ -1992,33 +1938,25 @@ publication = lxml.etree.RelaxNG(lxml.etree.fromstring(r''' - - - - publish - + + - - - - withdraw - + + + - - - - withdraw - + + @@ -2026,11 +1964,6 @@ publication = lxml.etree.RelaxNG(lxml.etree.fromstring(r''' - - - 1024 - - -- cgit v1.2.3