Commit 233cde77 authored by Tarun Prabhu's avatar Tarun Prabhu

policy.rnc contains a specification for policies.

parent 62e41532
#
# EMULAB-COPYRIGHT
# Copyright (c) 2005-2007 University of Utah and the Flux Group.
# All rights reserved.
#
#
# Definition of policies
#
## A type limit policy specification
TypeLimitSpec = element type_limit {
## Name of the type we are limiting
element type_name { text },
## Limit as to the number of nodes of this type the experiment can use
element type_limit { xsd:float { minInclusive = "0.0" } }
}
## A desire policy specification
DesireLimitSpec = element desire_policy {
## Name of the feature
element feature_name { text },
## Either disallow it entirely or set a limit on it
(element disallow { empty }
| element limit { xsd:float { minInclusive = "0.0" } })
}
start = element policy {
## 0 or more type limits and desire limits
(TypeLimitSpec | DesireLimitSpec) *
}
\ 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