Commit b70c129d authored by Tarun Prabhu's avatar Tarun Prabhu

Updated extensions schemas. There was some really stupid stuff in there which I only just noticed.

parent aed804ef
......@@ -8,15 +8,11 @@ NodeFlagSpec =
## interface. In the future, we will make the loopback interface/link
## explicit in the topology
## Valid only for physical nodes
(element emulab:trivial_bandwidth { xsd:integer })?,
## Specify that this node is a subnode of another node. We MIGHT
## try to do this with properties in the future
## Valid for both virtual and physical nodes
element emulab:subnode_of { text }?,
element emulab:trivial_bandwidth { attribute value { xsd:integer } }? &
## Indicates that this node should never be considered identical to any
## other node. Could be done with a property
## Valid only for physical nodes
element emulab:unique { empty }?,
element emulab:unique { empty }? &
## Indicates that virtual links must either all be trivial (loopback), or
## none of them must be. Possibly expressible with properties?
element emulab:disallow_trivial_mix { empty }?
......
......@@ -67,25 +67,5 @@ VclassSpec = element emulab:vclass {
element physical_type { text }+
}
## The path to which a link has been mapped
## For the moment only 2 interface mappings are specified because
## every link only has 2 interfaces for the moment.
LinkMapping =
element emulab:component_hop {
attribute assigned_to { text },
InterfaceMapping,
InterfaceMapping
}+
# Each interface represents a particular physical interface. If that
# interface is one of the link end points, it is also mapped to that
# virtual node and its interface name.
InterfaceMapping = element interface {
attribute physical_node_name { text },
attribute physical_interface_name { text },
attribute virtual_node_name { text }?,
attribute virtual_interface_name { text }?
}
start = AssignedToSpec | HintToSpec | NodeFlagSpec | LinkFlagSpec | VclassSpec
| LinkMapping
\ No newline at end of file
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