RspecExtensions/nodegroup/1: nodegroup.rnc

File nodegroup.rnc, 924 bytes (added by nriga@bbn.com, 10 years ago)
Line 
1# An extension for specifying a group of identical nodes to reserve or already reserved within an RSpec.
2# Based on the geni-orca.renci.org concept
3# A node group is a node that means "I want this many nodes exactly like this"
4# In the manifest, the nodegroup tag simply indicates that this is one of N.
5# Converting a request to a manifest means duplicating the node, modifying the client_id of the node
6# and any interface elements to append a counter.
7# You may not specify a component_id on the request if you also specify the nodegroup element.
8# Hosted here: http://www.geni.net/resources/rspec/ext/nodegroup/1/nodegroup.xsd
9default namespace = "http://www.geni.net/resoruces/rspec/ext/nodegroup/1"
10
11# This is meant to extend the node element.
12# This may be used in request or manifest RSpecs
13NodeGroupSpec = element nodegroup {
14  # Count of identical nodes
15  attribute count { xsd:integer }
16}
17
18start = NodeGroupSpec
19