Commit 5a387fb0 authored by Jonathon Duerig's avatar Jonathon Duerig

Initial revision of new peers schema with example

parent 85d8986c
default namespace rs = "http://www.protogeni.net/resources/rspec/2"
AnyExtension =
attribute * - rs:* { text }* &
element * - rs:* { text }* &
element * - rs:* { AnyExtension }*
'#
# GENIPUBLIC-COPYRIGHT
# Copyright (c) 2010 University of Utah and the Flux Group.
# All rights reserved.
#
default namespace = "http://www.protogeni.net/resources/peers/1"
include "any-extension.rnc"
Peers = element peers {
AnyExtension &
Authority*
}
Authority = element authority {
AnyExtension &
attribute name { text } &
attribute url { text } &
attribute permit { "cm" | "sa" | "ses" | "ch" | "am" | "id" }
}
start = Peers
<peers xmlns="http://www.protogeni.net/resources/ca-permits/1">
<authority name="urn:publicid+emulab.net+authority+ch"
url="https://www.emulab.net/protogeni/xmlrpc/ch"
permit="ch" />
<authority name="urn:publicid+emulab.net+authority+cm"
url="https://www.emulab.net/protogeni/xmlrpc/cm"
permit="cm" />
<authority name="urn:publicid+emulab.net+authority+cm"
url="https://www.emulab.net/protogeni/xmlrpc/am"
permit="am" />
<authority name="urn:publicid+emulab.net+authority+sa"
url="https://www.emulab.net/protogeni/xmlrpc/sa"
permit="sa" />
<authority name="urn:publicid+emulab.net+authority+sa"
url="https://www.emulab.net/protogeni/xmlrpc/sa"
permit="id" />
<authority name="urn:publicid+flybynight.com+authority+cm"
url="https://flybynight.com/protogeni/xmlrpc/cm"
permit="cm" />
</permits>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment