RspecExtensions/nodegroup/1: nodegroup.xsd

File nodegroup.xsd, 1.2 KB (added by nriga@bbn.com, 10 years ago)
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3  An extension for specifying a group of identical nodes to reserve or already reserved within an RSpec.
4  Based on the geni-orca.renci.org concept
5  A node group is a node that means "I want this many nodes exactly like this"
6  In the manifest, the nodegroup tag simply indicates that this is one of N.
7  Converting a request to a manifest means duplicating the node, modifying the client_id of the node
8  and any interface elements to append a counter.
9  You may not specify a component_id on the request if you also specify the nodegroup element.
10  Hosted here: http://www.geni.net/resources/rspec/ext/nodegroup/1/nodegroup.xsd
11-->
12<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
13elementFormDefault="qualified"
14targetNamespace="http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/nodegroup/1"
15xmlns:nodegroup="http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/nodegroup/1">
16  <!--
17    This is meant to extend the node element.
18    This may be used in request or manifest RSpecs
19  -->
20  <xs:element name="nodegroup">
21    <xs:complexType>
22      <xs:attribute name="count" use="required" type="xs:integer"/>
23    </xs:complexType>
24  </xs:element>
25</xs:schema>