Searched refs:etree (Results 1 - 3 of 3) sorted by relevance
/solaris-userland/components/openstack/nova/files/solariszones/ |
H A D | sysconfig.py | 20 from lxml import etree namespace 31 """ return an etree object representing fixed (static) networking 33 svcbundle = etree.Element("service_bundle", type="profile", 37 physical = etree.SubElement(svcbundle, "service", version="1", 39 instance = etree.SubElement(physical, "instance", enabled="true", 41 pg = etree.SubElement(instance, "property_group", type="application", 43 etree.SubElement(pg, "propval", type="astring", name="active_ncp", 47 install = etree.SubElement(svcbundle, "service", version="1", 49 instance = etree.SubElement(install, "instance", enabled="true", 58 pg4 = etree [all...] |
H A D | driver.py | 43 from lxml import etree namespace 1756 fileroot = etree.parse(os.path.join(root, fname))
|
/solaris-userland/components/ruby/puppet-solaris/files/ |
H A D | update_smf.py | 45 from lxml import etree namespace 112 prop_pattern = etree.Element( 117 desc = etree.SubElement(prop_pattern, "description") 118 loctext = etree.SubElement(desc, "loctext") 214 parser = etree.XMLParser(remove_blank_text=True) 215 tree = etree.parse(smf_xml_file, parser) 225 except etree.XMLSyntaxError as msg: 238 pg_pattern = etree.SubElement( 253 f_handle.write(etree.tostring(tree, pretty_print=True))
|
Completed in 165 milliseconds