rspec = RSpec (rspec_string)
return rspec.rspec.xpath("./network[@name]/@name")
# TODO: already merged in sfa-trunk. Use the one there
rspec = RSpec (rspec_string)
return rspec.rspec.xpath("./network[@name]/@name")
# TODO: already merged in sfa-trunk. Use the one there
rspec = RSpec (rspec_string)
return rspec.rspec.xpath("./network[@name='%s']/site/node[sliver]/hostname/text()" % network)
rspec = RSpec (rspec_string)
return rspec.rspec.xpath("./network[@name='%s']/site/node[sliver]/hostname/text()" % network)
rspec = RSpec (rspec_string)
# xxx todo - could not find the xpath syntax for 'does not have the sliver attribute'
return rspec.rspec.xpath("./network[@name='%s']/site/node[~sliver]/hostname/text()" % network)
rspec = RSpec (rspec_string)
# xxx todo - could not find the xpath syntax for 'does not have the sliver attribute'
return rspec.rspec.xpath("./network[@name='%s']/site/node[~sliver]/hostname/text()" % network)