Module ImportFrom alias Import alias Import alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore Num FunctionDef arguments args NameParam NameParam defaults body If CompareGt Call NameLoad NameLoad AttributeLoad NameLoad attr body If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str attr orelse Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Assign NameStore SubscriptLoad BinOpAdd NameLoad NameLoad Slice AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore ListLoad Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword IfExp NameLoad Str Str keyword Str If NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad If CompareIs NameLoad NameLoad body Return Call NameLoad NameLoad With Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad body If BoolOpAnd NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad If NameLoad body With AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str If NameLoad body Expr Call AttributeLoad NameLoad attr keyword Str Return Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad With AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str If NameLoad body With AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Return Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad Str NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad Str If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body If BoolOpAnd NameLoad UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str orelse Expr Call AttributeLoad NameLoad attr keyword Str For NameStore BoolOpOr NameLoad ListLoad body With AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword Str Return Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str With Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr keyword NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str With Call AttributeLoad NameLoad attr keyword NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Call AttributeLoad Str attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad If NameLoad body With AttributeLoad NameLoad attr body Expr AttributeLoad NameLoad attr Assign NameStore Dict If NameLoad body Assign SubscriptStore NameLoad Index Str Str If NameLoad body With Call AttributeLoad NameLoad attr NameLoad body With AttributeLoad NameLoad attr body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr keyword Call NameLoad SubscriptLoad NameLoad Index Str keyword Call NameLoad BinOpMult SubscriptLoad NameLoad Index Str Num keyword Str orelse If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpMult NameLoad Num keyword Str If NameLoad body With AttributeLoad NameLoad attr body Expr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str With Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str keyword Str body Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword IfExp NameLoad Str Str With AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr keyword Call NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr keyword Str keyword Call NameLoad NameLoad With AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword NameLoad orelse Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad With AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str With Call AttributeLoad NameLoad attr keyword Str body Expr Call AttributeLoad NameLoad attr keyword Str With Call AttributeLoad NameLoad attr keyword Str body Expr Call AttributeLoad NameLoad attr keyword Str keyword Str Return Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str If NameLoad body Assign NameStore Str Assign NameStore Call AttributeLoad Str attr NameLoad Call NameLoad NameLoad orelse Assign NameStore Str Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Call NameLoad Str keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Str If NameLoad body With Call AttributeLoad NameLoad attr keyword Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad body With Call AttributeLoad NameLoad attr keyword Str body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Return Call NameLoad NameLoad decorator_list NameLoad decorator_list
N/A __future__ unicode_literals N/A hashlib N/A six devops.helpers.xmlgenerator XMLGenerator LibvirtXMLBuilder N/A object N/A N/A NAME_SIZE 80 _crop_name N/A N/A cls name N/A N/A N/A N/A N/A len name N/A cls NAME_SIZE N/A N/A N/A isinstance name N/A six string_types N/A N/A hash_str N/A N/A N/A N/A hashlib md5 N/A N/A name encode utf8 hexdigest N/A N/A hash_str N/A N/A N/A N/A hashlib md5 name hexdigest N/A name N/A N/A hash_str name N/A N/A cls NAME_SIZE N/A name N/A classmethod build_network_xml N/A N/A cls network_name bridge_name addresses forward ip_network_address ip_network_prefixlen stp has_pxe_server has_dhcp_server dhcp_range_start dhcp_range_end tftp_root_dir N/A None None None None True False False None None None N/A N/A Generate network XML

        :type network: Network
            :rtype : String
         N/A N/A addresses None N/A N/A addresses N/A N/A network_xml N/A XMLGenerator network N/A N/A N/A network_xml name N/A N/A cls _crop_name network_name N/A N/A N/A network_xml bridge name bridge_name stp N/A stp on off delay 0 N/A forward N/A N/A N/A N/A network_xml forward mode forward N/A N/A ip_network_address None N/A N/A N/A str network_xml N/A N/A N/A network_xml ip address ip_network_address prefix ip_network_prefixlen N/A N/A N/A has_pxe_server tftp_root_dir N/A N/A N/A N/A network_xml tftp root tftp_root_dir N/A has_dhcp_server N/A N/A N/A network_xml dhcp N/A N/A N/A N/A network_xml range start dhcp_range_start end dhcp_range_end N/A address addresses N/A N/A N/A N/A network_xml host mac N/A address N/A mac ip N/A address N/A ip name N/A address N/A name N/A has_pxe_server N/A N/A N/A N/A network_xml bootp file pxelinux.0 N/A N/A str network_xml N/A classmethod build_volume_xml N/A N/A cls name capacity format backing_store_path backing_store_format N/A N/A N/A Generate volume XML

        :type volume: Volume
            :rtype : String
         N/A volume_xml N/A XMLGenerator volume N/A N/A N/A volume_xml name N/A N/A cls _crop_name name N/A N/A N/A volume_xml capacity N/A str capacity N/A N/A volume_xml target N/A N/A N/A N/A volume_xml format type format N/A N/A N/A N/A volume_xml permissions mode 0644 N/A backing_store_path N/A N/A N/A volume_xml backingStore N/A N/A N/A N/A volume_xml path backing_store_path N/A N/A N/A volume_xml format type backing_store_format N/A N/A str volume_xml N/A classmethod build_snapshot_xml N/A N/A cls name description external disk_only memory_file domain_isactive local_disk_devices N/A None None False False False None N/A N/A Generate snapshot XML

        :rtype : String
        :type name: String
        :type description: String
         N/A xml_builder N/A XMLGenerator domainsnapshot N/A N/A name None N/A N/A N/A N/A xml_builder name name N/A N/A description None N/A N/A N/A N/A xml_builder description description N/A external N/A N/A N/A domain_isactive N/A disk_only N/A N/A N/A N/A xml_builder memory file memory_file snapshot external N/A N/A N/A N/A xml_builder memory snapshot no N/A disk N/A local_disk_devices N/A N/A N/A N/A xml_builder disks N/A N/A N/A N/A xml_builder disk name N/A disk N/A disk_target_dev file N/A disk N/A disk_volume_path snapshot external N/A N/A str xml_builder N/A classmethod _build_disk_device N/A N/A cls device_xml disk_type disk_device disk_volume_format disk_volume_path disk_bus disk_target_dev disk_serial N/A N/A N/A Build xml for disk

        :param device_xml: XMLBuilder
        :param disk_device: DiskDevice
         N/A N/A N/A device_xml disk type disk_type device disk_device N/A N/A N/A N/A device_xml driver type disk_volume_format cache unsafe N/A N/A N/A device_xml source file disk_volume_path N/A N/A disk_bus usb N/A N/A N/A N/A device_xml target dev disk_target_dev bus disk_bus removable on N/A N/A N/A device_xml readonly N/A N/A N/A N/A device_xml target dev disk_target_dev bus disk_bus N/A N/A N/A device_xml serial disk_serial N/A classmethod _build_interface_device N/A N/A cls device_xml interface_type interface_mac_address interface_network_name interface_id interface_model N/A N/A N/A Build xml for interface

        :param device_xml: XMLBuilder
        :param interface: Network
         N/A N/A N/A device_xml interface type interface_type N/A N/A N/A N/A device_xml mac address interface_mac_address N/A N/A N/A device_xml source network interface_network_name N/A N/A N/A device_xml target dev N/A N/A virnet{0} format interface_id N/A N/A interface_model None N/A N/A N/A N/A device_xml model type interface_model N/A classmethod build_node_xml N/A N/A cls name hypervisor use_host_cpu vcpu memory use_hugepages hpet os_type architecture boot reboot_timeout bootmenu_timeout emulator has_vnc vnc_password local_disk_devices interfaces acpi numa N/A N/A N/A Generate node XML

        :type node: Node
        :type emulator: String
            :rtype : String
         N/A node_xml N/A XMLGenerator domain type hypervisor N/A N/A N/A node_xml name N/A N/A cls _crop_name name N/A acpi N/A N/A N/A node_xml features N/A N/A N/A node_xml acpi N/A cpu_args N/A N/A use_host_cpu N/A N/A N/A cpu_args N/A mode host-passthrough N/A numa N/A N/A N/A N/A node_xml cpu cpu_args N/A N/A N/A node_xml numa N/A N/A cell numa N/A N/A N/A N/A node_xml cell cpus N/A str N/A cell N/A cpus memory N/A str N/A N/A cell N/A memory 1024 unit KiB N/A N/A cpu_args N/A N/A N/A N/A node_xml cpu cpu_args N/A N/A N/A node_xml vcpu N/A str vcpu N/A N/A N/A node_xml memory N/A str N/A memory 1024 unit KiB N/A use_hugepages N/A N/A N/A node_xml memoryBacking N/A N/A N/A node_xml hugepages N/A N/A N/A node_xml clock offset utc N/A N/A N/A N/A node_xml clock timer name rtc tickpolicy catchup track wall N/A N/A N/A N/A node_xml catchup threshold 123 slew 120 limit 10000 N/A N/A N/A N/A node_xml clock timer name pit tickpolicy delay N/A N/A N/A N/A node_xml clock timer name hpet present N/A hpet yes no N/A N/A node_xml os N/A N/A N/A N/A node_xml type os_type arch architecture N/A boot_dev boot N/A N/A N/A N/A node_xml boot dev boot_dev N/A reboot_timeout N/A N/A N/A N/A node_xml bios rebootTimeout N/A str reboot_timeout N/A bootmenu_timeout N/A N/A N/A N/A node_xml bootmenu enable yes timeout N/A str bootmenu_timeout N/A N/A node_xml devices N/A N/A N/A N/A node_xml controller type usb model nec-xhci N/A N/A N/A node_xml emulator emulator N/A has_vnc N/A N/A vnc_password N/A N/A N/A N/A node_xml graphics type vnc listen 0.0.0.0 autoport yes passwd vnc_password N/A N/A N/A N/A node_xml graphics type vnc listen 0.0.0.0 autoport yes N/A disk_device local_disk_devices N/A N/A N/A N/A cls _build_disk_device node_xml disk_device N/A interface interfaces N/A N/A N/A N/A cls _build_interface_device node_xml interface N/A N/A node_xml video N/A N/A N/A N/A node_xml model type vga vram 9216 heads 1 N/A N/A N/A node_xml serial type pty N/A N/A N/A N/A node_xml target port 0 N/A N/A N/A node_xml console type pty N/A N/A N/A N/A node_xml target type serial port 0 N/A N/A str node_xml N/A classmethod build_iface_xml N/A N/A cls name ip prefix vlanid N/A None None None N/A N/A Generate interface bridge XML

        :type name: String
        :type ip: IPAddress
        :type prefix: Integer
        :type vlanid: Integer
            :rtype : String
         N/A vlanid N/A N/A iface_type vlan N/A iface_name N/A N/A {0}.{1} format name N/A str vlanid N/A N/A iface_type ethernet N/A iface_name N/A N/A {0} format name N/A interface_xml N/A XMLGenerator interface type iface_type name iface_name N/A N/A N/A interface_xml start mode onboot N/A vlanid N/A N/A N/A N/A interface_xml vlan tag N/A str vlanid N/A N/A N/A N/A interface_xml interface name name N/A N/A N/A ip None N/A prefix None N/A N/A N/A N/A interface_xml protocol family ipv4 N/A N/A N/A N/A interface_xml ip address ip prefix prefix N/A N/A str interface_xml N/A classmethod N/A