aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2007-08-28 15:59:48 +0000
committerRob Austein <sra@hactrn.net>2007-08-28 15:59:48 +0000
commit0e1dbd520147538a2fa9625cebb9524769c3f25f (patch)
tree9367f8d50b906542a70e2dc76bca255bec115426 /scripts
parentbcd8088bc4785c6da043fe1611a05b38c2d48056 (diff)
Remove req_* attributes from left-right <list_resources/> response.
svn path=/docs/left-right-xml; revision=919
Diffstat (limited to 'scripts')
-rw-r--r--scripts/left-right-protocol-samples/pdu.062.xml2
-rw-r--r--scripts/left-right-schema.rnc5
-rw-r--r--scripts/left-right-schema.rng21
3 files changed, 2 insertions, 26 deletions
diff --git a/scripts/left-right-protocol-samples/pdu.062.xml b/scripts/left-right-protocol-samples/pdu.062.xml
index 660ff07c..086fddc8 100644
--- a/scripts/left-right-protocol-samples/pdu.062.xml
+++ b/scripts/left-right-protocol-samples/pdu.062.xml
@@ -3,6 +3,6 @@
<msg xmlns="http://www.hactrn.net/uris/rpki/left-right-spec/" version="1">
<list_resources type="reply" self_id="42" child_id="289" valid_until="2008-04-01T00:00:00Z">
<resource_class ipv4="10.0.0.44/32,10.3.0.44/32" ipv6="fe80:dead:beef::/48" as="666"/>
- <resource_class subject_name="Wombats are us" req_ipv4="10.0.0.0/8" ipv4="10.2.0.6/32" ipv6="fe80:deed:f00d::/48,fe80:dead:beef:2::-fe80:dead:beef:2::49" as="666"/>
+ <resource_class subject_name="Wombats are us" ipv4="10.2.0.6/32" ipv6="fe80:deed:f00d::/48,fe80:dead:beef:2::-fe80:dead:beef:2::49" as="666"/>
</list_resources>
</msg>
diff --git a/scripts/left-right-schema.rnc b/scripts/left-right-schema.rnc
index 0ded0568..6cc222c7 100644
--- a/scripts/left-right-schema.rnc
+++ b/scripts/left-right-schema.rnc
@@ -185,10 +185,7 @@ list_resources_elt = element list_resources {
attribute subject_name { xsd:token { maxLength="1024" } }?,
attribute as { xsd:token { maxLength="1024" } }?,
attribute ipv4 { xsd:token { maxLength="1024" } }?,
- attribute ipv6 { xsd:token { maxLength="1024" } }?,
- attribute req_as { xsd:token { maxLength="1024" } }?,
- attribute req_ipv4 { xsd:token { maxLength="1024" } }?,
- attribute req_ipv6 { xsd:token { maxLength="1024" } }?
+ attribute ipv6 { xsd:token { maxLength="1024" } }?
}*
)
}
diff --git a/scripts/left-right-schema.rng b/scripts/left-right-schema.rng
index 5bd0391e..a0d826a3 100644
--- a/scripts/left-right-schema.rng
+++ b/scripts/left-right-schema.rng
@@ -873,27 +873,6 @@
</data>
</attribute>
</optional>
- <optional>
- <attribute name="req_as">
- <data type="token">
- <param name="maxLength">1024</param>
- </data>
- </attribute>
- </optional>
- <optional>
- <attribute name="req_ipv4">
- <data type="token">
- <param name="maxLength">1024</param>
- </data>
- </attribute>
- </optional>
- <optional>
- <attribute name="req_ipv6">
- <data type="token">
- <param name="maxLength">1024</param>
- </data>
- </attribute>
- </optional>
</element>
</zeroOrMore>
</group>