Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
2391a137
Commit
2391a137
authored
Oct 05, 2009
by
Jonathon Duerig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow either _uuid or _urn attributes for naming.
parent
0f97e8cb
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
14 deletions
+24
-14
protogeni/rspec/protogeni-rspec-common.rnc
protogeni/rspec/protogeni-rspec-common.rnc
+6
-3
protogeni/rspec/rspec-ad-common.xsd
protogeni/rspec/rspec-ad-common.xsd
+6
-3
protogeni/rspec/rspec-ad.rnc
protogeni/rspec/rspec-ad.rnc
+2
-1
protogeni/rspec/rspec-ad.xsd
protogeni/rspec/rspec-ad.xsd
+2
-1
protogeni/rspec/rspec-request-common.xsd
protogeni/rspec/rspec-request-common.xsd
+7
-6
protogeni/rspec/rspec-request.xsd
protogeni/rspec/rspec-request.xsd
+1
-0
No files found.
protogeni/rspec/protogeni-rspec-common.rnc
View file @
2391a137
...
...
@@ -63,16 +63,19 @@ VirtualName = attribute virtual_id { text }
ComponentName =
# This is the uuid of the aggregate that this node or link belongs
# to. It is required in an advertisement.
attribute component_manager_uuid { text } &
attribute component_manager_uuid { text }? &
attribute component_manager_urn { text }? &
# User-readable name for the component
attribute component_name { text }? &
# The uuid of the physical component.
attribute component_uuid { text }
attribute component_uuid { text }? &
attribute component_urn { text }?
ComponentInterfaceDeclName = attribute component_id { text }
ComponentInterfaceRefName =
attribute component_node_uuid { text } &
attribute component_node_uuid { text }? &
attribute component_node_urn { text }? &
attribute component_interface_id { text }
InterfaceDecl = empty
...
...
protogeni/rspec/rspec-ad-common.xsd
View file @
2391a137
...
...
@@ -131,15 +131,18 @@
<xs:attribute
name=
"virtual_id"
use=
"required"
/>
</xs:attributeGroup>
<xs:attributeGroup
name=
"ComponentName"
>
<xs:attribute
name=
"component_manager_uuid"
use=
"required"
/>
<xs:attribute
name=
"component_manager_uuid"
/>
<xs:attribute
name=
"component_manager_urn"
/>
<xs:attribute
name=
"component_name"
/>
<xs:attribute
name=
"component_uuid"
use=
"required"
/>
<xs:attribute
name=
"component_uuid"
/>
<xs:attribute
name=
"component_urn"
/>
</xs:attributeGroup>
<xs:attributeGroup
name=
"ComponentInterfaceDeclName"
>
<xs:attribute
name=
"component_id"
use=
"required"
/>
</xs:attributeGroup>
<xs:attributeGroup
name=
"ComponentInterfaceRefName"
>
<xs:attribute
name=
"component_node_uuid"
use=
"required"
/>
<xs:attribute
name=
"component_node_uuid"
/>
<xs:attribute
name=
"component_node_urn"
/>
<xs:attribute
name=
"component_interface_id"
use=
"required"
/>
</xs:attributeGroup>
<xs:complexType
name=
"InterfaceDecl"
>
...
...
protogeni/rspec/rspec-ad.rnc
View file @
2391a137
...
...
@@ -56,7 +56,8 @@ InterfaceRef &=
# length restrictions on URNs end.
ExternalReference = element external_ref {
ComponentInterfaceRefName &
attribute component_manager_uuid { text }
attribute component_manager_uuid { text }? &
attribute component_manager_urn { text }?
}
RSpecContents &=
...
...
protogeni/rspec/rspec-ad.xsd
View file @
2391a137
...
...
@@ -21,7 +21,8 @@
<xs:element
name=
"external_ref"
>
<xs:complexType>
<xs:attributeGroup
ref=
"rspec:ComponentInterfaceRefName"
/>
<xs:attribute
name=
"component_manager_uuid"
use=
"required"
/>
<xs:attribute
name=
"component_manager_uuid"
/>
<xs:attribute
name=
"component_manager_urn"
/>
</xs:complexType>
</xs:element>
<xs:element
name=
"bgp_prefix"
>
...
...
protogeni/rspec/rspec-request-common.xsd
View file @
2391a137
...
...
@@ -32,9 +32,7 @@
</xs:simpleType>
</xs:attribute>
<xs:attributeGroup
ref=
"rspec:VirtualName"
/>
<xs:attribute
name=
"component_manager_uuid"
/>
<xs:attribute
name=
"component_name"
/>
<xs:attribute
name=
"component_uuid"
/>
<xs:attributeGroup
ref=
"rspec:ComponentName"
/>
<xs:attribute
name=
"colocate"
/>
<xs:attribute
name=
"virtualization_subtype"
/>
<xs:attribute
name=
"exclusive"
/>
...
...
@@ -130,15 +128,18 @@
<xs:attribute
name=
"virtual_id"
use=
"required"
/>
</xs:attributeGroup>
<xs:attributeGroup
name=
"ComponentName"
>
<xs:attribute
name=
"component_manager_uuid"
use=
"required"
/>
<xs:attribute
name=
"component_manager_uuid"
/>
<xs:attribute
name=
"component_manager_urn"
/>
<xs:attribute
name=
"component_name"
/>
<xs:attribute
name=
"component_uuid"
use=
"required"
/>
<xs:attribute
name=
"component_uuid"
/>
<xs:attribute
name=
"component_urn"
/>
</xs:attributeGroup>
<xs:attributeGroup
name=
"ComponentInterfaceDeclName"
>
<xs:attribute
name=
"component_id"
use=
"required"
/>
</xs:attributeGroup>
<xs:attributeGroup
name=
"ComponentInterfaceRefName"
>
<xs:attribute
name=
"component_node_uuid"
use=
"required"
/>
<xs:attribute
name=
"component_node_uuid"
/>
<xs:attribute
name=
"component_node_urn"
/>
<xs:attribute
name=
"component_interface_id"
use=
"required"
/>
</xs:attributeGroup>
<xs:attributeGroup
name=
"InterfaceDecl"
>
...
...
protogeni/rspec/rspec-request.xsd
View file @
2391a137
...
...
@@ -44,6 +44,7 @@
<xs:element
name=
"interface_ref"
>
<xs:complexType>
<xs:attribute
name=
"component_node_uuid"
/>
<xs:attribute
name=
"component_node_urn"
/>
<xs:attribute
name=
"component_interface_id"
/>
<xs:attribute
name=
"virtual_node_id"
/>
<xs:attribute
name=
"virtual_interface_id"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment