The PlanetLab SM requires that each aggregate's RSpec
be enclosed in a <network> tag.
xml = self.eucaRSpec
cloud = self.cloudInfo
with xml.RSpec(type='eucalyptus'):
xml = self.eucaRSpec
cloud = self.cloudInfo
with xml.RSpec(type='eucalyptus'):
- with xml.cloud(id=cloud['name']):
+ with xml.network(id=cloud['name']):
with xml.ipv4:
xml << cloud['ip']
#self.__keyPairsXML(cloud['keypairs'])
with xml.ipv4:
xml << cloud['ip']
#self.__keyPairsXML(cloud['keypairs'])
start = RSpec
RSpec = element RSpec {
attribute type { xsd:NMTOKEN },
start = RSpec
RSpec = element RSpec {
attribute type { xsd:NMTOKEN },
+network = element network {
attribute id { xsd:NMTOKEN },
user_info?,
ipv4,
attribute id { xsd:NMTOKEN },
user_info?,
ipv4,
<attribute name="type">
<data type="NMTOKEN"/>
</attribute>
<attribute name="type">
<data type="NMTOKEN"/>
</attribute>
- <define name="cloud">
- <element name="cloud">
+ <define name="network">
+ <element name="network">
<attribute name="id">
<data type="NMTOKEN"/>
</attribute>
<attribute name="id">
<data type="NMTOKEN"/>
</attribute>