Commit f5f4bd20 authored by Tarun Prabhu's avatar Tarun Prabhu
Browse files

Syntax errors fixed :(

parent 11a411f6
...@@ -12,7 +12,7 @@ NodeFlagSpec = ...@@ -12,7 +12,7 @@ NodeFlagSpec =
## Indicates that this node should never be considered identical to any ## Indicates that this node should never be considered identical to any
## other node. Could be done with a property ## other node. Could be done with a property
## Valid only for physical nodes ## Valid only for physical nodes
element emulab:unique { empty }? & element emulab:unique { empty }?
TypeLimitSpec = TypeLimitSpec =
element emulab:set_type_limit { TypeLimitContents } element emulab:set_type_limit { TypeLimitContents }
......
...@@ -54,17 +54,10 @@ VclassSpec = element emulab:vclass { ...@@ -54,17 +54,10 @@ VclassSpec = element emulab:vclass {
attribute name { text } & attribute name { text } &
## Specify whether the vclass is hard (ie. all nodes *must* be of the same ## Specify whether the vclass is hard (ie. all nodes *must* be of the same
## type) or soft (ie. violating it is allowed, but penalize) ## type) or soft (ie. violating it is allowed, but penalize)
(element hard { empty } | attribute weight { "hard" | xsd:float { minInclusive = "0.0" } } &
(element soft { empty }, ## The physical types associated with this vclass
element weight { xsd:float { minInclusive = "0.0" } } )) & element emulab:physical_type { attribute name { text } }+
element physical_type { text }+
} }
start = HintToSpec | NodeFlagSpec | LinkFlagSpec | VclassSpec start = HintToSpec | NodeFlagSpec | LinkFlagSpec | VclassSpec
Supports Markdown
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