terraform/vendor/github.com/jtopjian/cobblerclient/methods.txt

1991 lines
50 KiB
Plaintext
Raw Normal View History

This is a short document that lists the xmlrpc calls needed.
-- login:
curl -XPOST -d '
<methodCall>
<methodName>login</methodName>
<params>
<param>
<value>
<string>cobbler</string>
</value>
</param>
<param>
<value>
<string>cobbler</string>
</value>
</param>
</params>
</methodCall>
' http://localhost:25151/
<?xml version='1.0'?>
<methodResponse>
<params>
<param>
<value>
<string>ZyWe2dxicTWGsDpbo+WT3z1WZ2trEgfoaw==</string>
</value>
</param>
</params>
</methodResponse>
-- create new system:
curl -XPOST -d '
<methodCall>
<methodName>new_system</methodName>
<params>
<param>
<value>
<string>ZyWe2dxicTWGsDpbo+WT3z1WZ2trEgfoaw==</string>
</value>
</param>
</params>
</methodCall>
' http://localhost:25151/
<?xml version='1.0'?>
<methodResponse>
<params>
<param>
<value>
<string>___NEW___system::qxK4MZaxtZzTaxZW98nNZWbgkmyTXtU14Q==</string>
</value>
</param>
</params>
</methodResponse>
-- set system name:
curl -XPOST -d '
<methodCall>
<methodName>modify_system</methodName>
<params>
<param>
<value>
<string>___NEW___system::qxK4MZaxtZzTaxZW98nNZWbgkmyTXtU14Q==</string>
</value>
</param>
<param>
<value>
<string>name</string>
</value>
</param>
<param>
<value>
<string>systemname01</string>
</value>
</param>
<param>
<value>
<string>ZyWe2dxicTWGsDpbo+WT3z1WZ2trEgfoaw==</string>
</value>
</param>
</params>
</methodCall>
' http://localhost:25151/
<?xml version='1.0'?>
<methodResponse>
<params>
<param>
<value><boolean>1</boolean></value>
</param>
</params>
</methodResponse>
-- set system profile:
curl -XPOST -d '
<methodCall>
<methodName>modify_system</methodName>
<params>
<param>
<value>
<string>___NEW___system::qxK4MZaxtZzTaxZW98nNZWbgkmyTXtU14Q==</string>
</value>
</param>
<param>
<value>
<string>profile</string>
</value>
</param>
<param>
<value>
<string>centos7-x86_64</string>
</value>
</param>
<param>
<value>
<string>ZyWe2dxicTWGsDpbo+WT3z1WZ2trEgfoaw==</string>
</value>
</param>
</params>
</methodCall>
' http://localhost:25151/
-- configure network interface (still need to figure out name of gateway property):
curl -XPOST -d '
<methodCall>
<methodName>modify_system</methodName>
<params>
<param>
<value>
<string>___NEW___system::ridhgThzSpL5wwjdWSonGsM8nv/HtSfNQQ==</string>
</value>
</param>
<param>
<value>
<string>modify_interface</string>
</value>
</param>
<param>
<value>
<struct>
<member>
<name>macaddress-eth0</name>
<value>
<string>01:02:03:04:05:06</string>
</value>
</member>
<member>
<name>ipaddress-eth0</name>
<value>
<string>10.20.30.40</string>
</value>
</member>
<member>
<name>dnsname-eth0</name>
<value>
<string>systemname01.domain.tld</string>
</value>
</member>
<member>
<name>subnetmask-eth0</name>
<value>
<string>255.255.255.0</string>
</value>
</member>
<member>
<name>if-gateway-eth0</name>
<value>
<string>10.20.30.1</string>
</value>
</member>
</struct>
</value>
</param>
<param>
<value>
<string>ZyWe2dxicTWGsDpbo+WT3z1WZ2trEgfoaw==</string>
</value>
</param>
</params>
</methodCall>
' http://localhost:25151/
<?xml version='1.0'?>
<methodResponse>
<params>
<param>
<value>
<boolean>1</boolean>
</value>
</param>
</params>
</methodResponse>
-- save the system:
curl -XPOST -d '
<methodCall>
<methodName>save_system</methodName>
<params>
<param>
<value>
<string>___NEW___system::qxK4MZaxtZzTaxZW98nNZWbgkmyTXtU14Q==</string>
</value>
</param>
<param>
<value>
<string>ZyWe2dxicTWGsDpbo+WT3z1WZ2trEgfoaw==</string>
</value>
</param>
</params>
</methodCall>
' http://localhost:25151/
<?xml version='1.0'?>
<methodResponse>
<params>
<param>
<value><boolean>1</boolean></value>
</param>
</params>
</methodResponse>
result will be 0 if save failed.
--- sync
curl -XPOST -d '
<methodCall>
<methodName>sync</methodName>
<params>
<param>
<value><string>zYli1fFyS3Hi6qlSPMorEWfiUhBfAuOsrA==</string></value>
</param>
</params>
</methodCall>
' http://localhost:25151/
<?xml version='1.0'?>
<methodResponse>
<params>
<param>
<value><boolean>1</boolean></value>
</param>
</params>
</methodResponse>
-- create a kickstart file:
curl -XPOST -d '
<methodCall>
<methodName>read_or_write_kickstart_template</methodName>
<params>
<param>
<value>
<string>/var/lib/cobbler/kickstarts/foo.ks</string>
</value>
</param>
<param>
<value>
<boolean>0</boolean>
</value>
</param>
<param>
<value>
<string># test content for the kickstart file</string>
</value>
</param>
<param>
<value>
<string>zYli1fFyS3Hi6qlSPMorEWfiUhBfAuOsrA==</string>
</value>
</param>
</params>
</methodCall>' http://localhost:25151/
-- get a kickstart file:
curl -XPOST -d '
<methodCall>
<methodName>read_or_write_kickstart_template</methodName>
<params>
<param>
<value>
<string>/var/lib/cobbler/kickstarts/foo.ks</string>
</value>
</param>
<param>
<value>
<boolean>1</boolean>
</value>
</param>
<param>
<value>
<string></string>
</value>
</param>
<param>
<value>
<string>securetoken99</string>
</value>
</param>
</params>
</methodCall>' http://localhost:25151/
-- create a snippet:
curl -XPOST -d '
<methodCall>
<methodName>read_or_write_snippet</methodName>
<params>
<param>
<value>
<string>/var/lib/cobbler/snippets/foo</string>
</value>
</param>
<param>
<value>
<boolean>0</boolean>
</value>
</param>
<param>
<value>
<string># test content for the snippet file</string>
</value>
</param>
<param>
<value>
<string>zYli1fFyS3Hi6qlSPMorEWfiUhBfAuOsrA==</string>
</value>
</param>
</params>
</methodCall>' http://localhost:25151/
-- get a snippet:
curl -XPOST -d '
<methodCall>
<methodName>read_or_write_snippet</methodName>
<params>
<param>
<value>
<string>/var/lib/cobbler/snippets/some-snippet</string>
</value>
</param>
<param>
<value>
<boolean>1</boolean>
</value>
</param>
<param>
<value>
<string></string>
</value>
</param>
<param>
<value>
<string>securetoken99</string>
</value>
</param>
</params>
</methodCall>' http://localhost:25151/
-- get distros:
curl -XPOST -d '<methodCall>
<methodName>get_distros</methodName>
<params>
<param>
<value>
<string>-1</string>
</value>
</param>
<param>
<value>
<string>4f8464lmE6s+6YmQcOr+ACJvdyd5kIzV0w==</string>
</value>
</param>
</params>
</methodCall>
' http://localhost:25151/
<?xml version="1.0"?>
<methodResponse>
<params>
<param>
<value>
<array>
<data>
<value>
<struct>
<member>
<name>comment</name>
<value>
<string/>
</value>
</member>
<member>
<name>kernel</name>
<value>
<string>/var/www/cobbler/ks_mirror/Ubuntu-14.04/install/netboot/ubuntu-installer/amd64/linux</string>
</value>
</member>
<member>
<name>uid</name>
<value>
<string>MTQ1MTg1NjMzNC4yMTk0MTg3My43Mzg0NTM</string>
</value>
</member>
<member>
<name>kernel_options_post</name>
<value>
<struct>
</struct>
</value>
</member>
<member>
<name>redhat_management_key</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>kernel_options</name>
<value>
<struct>
</struct>
</value>
</member>
<member>
<name>redhat_management_server</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>initrd</name>
<value>
<string>/var/www/cobbler/ks_mirror/Ubuntu-14.04/install/netboot/ubuntu-installer/amd64/initrd.gz</string>
</value>
</member>
<member>
<name>mtime</name>
<value>
<double>1451856336.460383</double>
</value>
</member>
<member>
<name>template_files</name>
<value>
<struct>
</struct>
</value>
</member>
<member>
<name>ks_meta</name>
<value>
<struct>
<member>
<name>tree</name>
<value>
<string>http://@@http_server@@/cblr/links/Ubuntu-14.04-x86_64</string>
</value>
</member>
</struct>
</value>
</member>
<member>
<name>boot_files</name>
<value>
<struct>
</struct>
</value>
</member>
<member>
<name>breed</name>
<value>
<string>ubuntu</string>
</value>
</member>
<member>
<name>os_version</name>
<value>
<string>trusty</string>
</value>
</member>
<member>
<name>mgmt_classes</name>
<value>
<array>
<data>
</data>
</array>
</value>
</member>
<member>
<name>fetchable_files</name>
<value>
<struct>
</struct>
</value>
</member>
<member>
<name>tree_build_time</name>
<value>
<int>0</int>
</value>
</member>
<member>
<name>arch</name>
<value>
<string>x86_64</string>
</value>
</member>
<member>
<name>name</name>
<value>
<string>Ubuntu-14.04-x86_64</string>
</value>
</member>
<member>
<name>owners</name>
<value>
<array>
<data>
<value>
<string>admin</string>
</value>
</data>
</array>
</value>
</member>
<member>
<name>ctime</name>
<value>
<double>1451856334.214615</double>
</value>
</member>
<member>
<name>source_repos</name>
<value>
<array>
<data>
</data>
</array>
</value>
</member>
<member>
<name>depth</name>
<value>
<int>0</int>
</value>
</member>
</struct>
</value>
</data>
</array>
</value>
</param>
</params>
</methodResponse>
-- get distro:
curl -XPOST -d '<methodCall>
<methodName>get_distro</methodName>
<params>
<param>
<value>
<string>Ubuntu-14.04-x86_64</string>
</value>
</param>
<param>
<value>
<string>4f8464lmE6s+6YmQcOr+ACJvdyd5kIzV0w==</string>
</value>
</param>
</params>
</methodCall>
' http://localhost:25151/
<?xml version="1.0"?>
<methodResponse>
<params>
<param>
<value>
<struct>
<member>
<name>comment</name>
<value>
<string/>
</value>
</member>
<member>
<name>kernel</name>
<value>
<string>/var/www/cobbler/ks_mirror/Ubuntu-14.04/install/netboot/ubuntu-installer/amd64/linux</string>
</value>
</member>
<member>
<name>uid</name>
<value>
<string>MTQ1MTg1NjMzNC4yMTk0MTg3My43Mzg0NTM</string>
</value>
</member>
<member>
<name>kernel_options_post</name>
<value>
<string/>
</value>
</member>
<member>
<name>redhat_management_key</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>kernel_options</name>
<value>
<string/>
</value>
</member>
<member>
<name>redhat_management_server</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>initrd</name>
<value>
<string>/var/www/cobbler/ks_mirror/Ubuntu-14.04/install/netboot/ubuntu-installer/amd64/initrd.gz</string>
</value>
</member>
<member>
<name>mtime</name>
<value>
<double>1451856336.460383</double>
</value>
</member>
<member>
<name>template_files</name>
<value>
<string/>
</value>
</member>
<member>
<name>ks_meta</name>
<value>
<string>tree=http://@@http_server@@/cblr/links/Ubuntu-14.04-x86_64 </string>
</value>
</member>
<member>
<name>boot_files</name>
<value>
<string/>
</value>
</member>
<member>
<name>breed</name>
<value>
<string>ubuntu</string>
</value>
</member>
<member>
<name>os_version</name>
<value>
<string>trusty</string>
</value>
</member>
<member>
<name>mgmt_classes</name>
<value>
<array>
<data></data>
</array>
</value>
</member>
<member>
<name>fetchable_files</name>
<value>
<string/>
</value>
</member>
<member>
<name>tree_build_time</name>
<value>
<int>0</int>
</value>
</member>
<member>
<name>arch</name>
<value>
<string>x86_64</string>
</value>
</member>
<member>
<name>name</name>
<value>
<string>Ubuntu-14.04-x86_64</string>
</value>
</member>
<member>
<name>owners</name>
<value>
<array>
<data>
<value>
<string>admin</string>
</value>
</data>
</array>
</value>
</member>
<member>
<name>ctime</name>
<value>
<double>1451856334.214615</double>
</value>
</member>
<member>
<name>source_repos</name>
<value>
<array>
<data></data>
</array>
</value>
</member>
<member>
<name>depth</name>
<value>
<int>0</int>
</value>
</member>
</struct>
</value>
</param>
</params>
</methodResponse>
-- get profiles:
curl -XPOST -d '<methodCall>
<methodName>get_profiles</methodName>
<params>
<param>
<value>
<string>-1</string>
</value>
</param>
<param>
<value>
<string>4f8464lmE6s+6YmQcOr+ACJvdyd5kIzV0w==</string>
</value>
</param>
</params>
</methodCall>
' http://localhost:25151/
<?xml version="1.0"?>
<methodResponse>
<params>
<param>
<value>
<array>
<data>
<value>
<struct>
<member>
<name>comment</name>
<value>
<string/>
</value>
</member>
<member>
<name>kickstart</name>
<value>
<string>/var/lib/cobbler/kickstarts/sample.seed</string>
</value>
</member>
<member>
<name>name_servers_search</name>
<value>
<array>
<data>
</data>
</array>
</value>
</member>
<member>
<name>ks_meta</name>
<value>
<struct>
</struct>
</value>
</member>
<member>
<name>kernel_options_post</name>
<value>
<struct>
</struct>
</value>
</member>
<member>
<name>repos</name>
<value>
<array>
<data>
</data>
</array>
</value>
</member>
<member>
<name>redhat_management_key</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>virt_path</name>
<value>
<string/>
</value>
</member>
<member>
<name>kernel_options</name>
<value>
<struct>
</struct>
</value>
</member>
<member>
<name>virt_file_size</name>
<value>
<int>5</int>
</value>
</member>
<member>
<name>mtime</name>
<value>
<double>1451856335.087784</double>
</value>
</member>
<member>
<name>enable_gpxe</name>
<value>
<int>0</int>
</value>
</member>
<member>
<name>template_files</name>
<value>
<struct>
</struct>
</value>
</member>
<member>
<name>uid</name>
<value>
<string>MTQ1MTg1NjMzNS4wOTk4MTczMTYuMTI1ODc</string>
</value>
</member>
<member>
<name>virt_auto_boot</name>
<value>
<int>1</int>
</value>
</member>
<member>
<name>virt_cpus</name>
<value>
<int>1</int>
</value>
</member>
<member>
<name>mgmt_parameters</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>boot_files</name>
<value>
<struct>
</struct>
</value>
</member>
<member>
<name>mgmt_classes</name>
<value>
<array>
<data>
</data>
</array>
</value>
</member>
<member>
<name>distro</name>
<value>
<string>Ubuntu-14.04-x86_64</string>
</value>
</member>
<member>
<name>virt_disk_driver</name>
<value>
<string>raw</string>
</value>
</member>
<member>
<name>virt_bridge</name>
<value>
<string>virbr0</string>
</value>
</member>
<member>
<name>parent</name>
<value>
<string/>
</value>
</member>
<member>
<name>virt_type</name>
<value>
<string>kvm</string>
</value>
</member>
<member>
<name>proxy</name>
<value>
<string/>
</value>
</member>
<member>
<name>enable_menu</name>
<value>
<int>1</int>
</value>
</member>
<member>
<name>fetchable_files</name>
<value>
<struct>
</struct>
</value>
</member>
<member>
<name>name_servers</name>
<value>
<array>
<data>
</data>
</array>
</value>
</member>
<member>
<name>name</name>
<value>
<string>Ubuntu-14.04-x86_64</string>
</value>
</member>
<member>
<name>dhcp_tag</name>
<value>
<string>default</string>
</value>
</member>
<member>
<name>owners</name>
<value>
<array>
<data>
<value>
<string>admin</string>
</value>
</data>
</array>
</value>
</member>
<member>
<name>ctime</name>
<value>
<double>1451856335.087784</double>
</value>
</member>
<member>
<name>virt_ram</name>
<value>
<int>512</int>
</value>
</member>
<member>
<name>server</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>redhat_management_server</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>depth</name>
<value>
<int>1</int>
</value>
</member>
<member>
<name>template_remote_kickstarts</name>
<value>
<int>0</int>
</value>
</member>
</struct>
</value>
</data>
</array>
</value>
</param>
</params>
</methodResponse>
-- get profile:
curl -XPOST -d '<methodCall>
<methodName>get_profile</methodName>
<params>
<param>
<value>
<string>Ubuntu-14.04-x86_64</string>
</value>
</param>
<param>
<value>
<string>4f8464lmE6s+6YmQcOr+ACJvdyd5kIzV0w==</string>
</value>
</param>
</params>
</methodCall>
' http://localhost:25151/
<?xml version="1.0"?>
<methodResponse>
<params>
<param>
<value>
<struct>
<member>
<name>comment</name>
<value>
<string/>
</value>
</member>
<member>
<name>kickstart</name>
<value>
<string>/var/lib/cobbler/kickstarts/sample.seed</string>
</value>
</member>
<member>
<name>name_servers_search</name>
<value>
<array>
<data>
</data>
</array>
</value>
</member>
<member>
<name>ks_meta</name>
<value>
<string/>
</value>
</member>
<member>
<name>kernel_options_post</name>
<value>
<string/>
</value>
</member>
<member>
<name>repos</name>
<value>
<string/>
</value>
</member>
<member>
<name>redhat_management_key</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>virt_path</name>
<value>
<string/>
</value>
</member>
<member>
<name>kernel_options</name>
<value>
<string/>
</value>
</member>
<member>
<name>virt_file_size</name>
<value>
<int>5</int>
</value>
</member>
<member>
<name>mtime</name>
<value>
<double>1451856335.087784</double>
</value>
</member>
<member>
<name>enable_gpxe</name>
<value>
<int>0</int>
</value>
</member>
<member>
<name>template_files</name>
<value>
<string/>
</value>
</member>
<member>
<name>uid</name>
<value>
<string>MTQ1MTg1NjMzNS4wOTk4MTczMTYuMTI1ODc</string>
</value>
</member>
<member>
<name>virt_auto_boot</name>
<value>
<int>1</int>
</value>
</member>
<member>
<name>virt_cpus</name>
<value>
<int>1</int>
</value>
</member>
<member>
<name>mgmt_parameters</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>boot_files</name>
<value>
<string/>
</value>
</member>
<member>
<name>mgmt_classes</name>
<value>
<array>
<data>
</data>
</array>
</value>
</member>
<member>
<name>distro</name>
<value>
<string>Ubuntu-14.04-x86_64</string>
</value>
</member>
<member>
<name>virt_disk_driver</name>
<value>
<string>raw</string>
</value>
</member>
<member>
<name>virt_bridge</name>
<value>
<string>virbr0</string>
</value>
</member>
<member>
<name>parent</name>
<value>
<string/>
</value>
</member>
<member>
<name>virt_type</name>
<value>
<string>kvm</string>
</value>
</member>
<member>
<name>proxy</name>
<value>
<string/>
</value>
</member>
<member>
<name>enable_menu</name>
<value>
<int>1</int>
</value>
</member>
<member>
<name>fetchable_files</name>
<value>
<string/>
</value>
</member>
<member>
<name>name_servers</name>
<value>
<array>
<data>
</data>
</array>
</value>
</member>
<member>
<name>name</name>
<value>
<string>Ubuntu-14.04-x86_64</string>
</value>
</member>
<member>
<name>dhcp_tag</name>
<value>
<string>default</string>
</value>
</member>
<member>
<name>owners</name>
<value>
<array>
<data>
<value>
<string>admin</string>
</value>
</data>
</array>
</value>
</member>
<member>
<name>ctime</name>
<value>
<double>1451856335.087784</double>
</value>
</member>
<member>
<name>virt_ram</name>
<value>
<int>512</int>
</value>
</member>
<member>
<name>server</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>redhat_management_server</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>depth</name>
<value>
<int>1</int>
</value>
</member>
<member>
<name>template_remote_kickstarts</name>
<value>
<int>0</int>
</value>
</member>
</struct>
</value>
</param>
</params>
</methodResponse>
-- get systems:
curl -XPOST -d '<methodCall>
<methodName>get_systems</methodName>
<params>
<param>
<value>
<string>-1</string>
</value>
</param>
<param>
<value>
<string>4f8464lmE6s+6YmQcOr+ACJvdyd5kIzV0w==</string>
</value>
</param>
</params>
</methodCall>
' http://localhost:25151/
<?xml version="1.0"?>
<methodResponse>
<params>
<param>
<value>
<array>
<data>
<value>
<struct>
<member>
<name>comment</name>
<value>
<string/>
</value>
</member>
<member>
<name>profile</name>
<value>
<string>Ubuntu-14.04-x86_64</string>
</value>
</member>
<member>
<name>kickstart</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>name_servers_search</name>
<value>
<array>
<data>
</data>
</array>
</value>
</member>
<member>
<name>ks_meta</name>
<value>
<struct>
</struct>
</value>
</member>
<member>
<name>kernel_options_post</name>
<value>
<struct>
</struct>
</value>
</member>
<member>
<name>image</name>
<value>
<string/>
</value>
</member>
<member>
<name>redhat_management_key</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>power_type</name>
<value>
<string>ether_wake</string>
</value>
</member>
<member>
<name>power_user</name>
<value>
<string/>
</value>
</member>
<member>
<name>kernel_options</name>
<value>
<struct>
</struct>
</value>
</member>
<member>
<name>virt_file_size</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>mtime</name>
<value>
<double>1451856819.487791</double>
</value>
</member>
<member>
<name>enable_gpxe</name>
<value>
<int>0</int>
</value>
</member>
<member>
<name>template_files</name>
<value>
<struct>
</struct>
</value>
</member>
<member>
<name>gateway</name>
<value>
<string/>
</value>
</member>
<member>
<name>uid</name>
<value>
<string>MTQ1MTg1NjgxOS40OTE4ODYyODQuNzAxMTY</string>
</value>
</member>
<member>
<name>virt_auto_boot</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>monit_enabled</name>
<value>
<boolean>0</boolean>
</value>
</member>
<member>
<name>virt_cpus</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>mgmt_parameters</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>boot_files</name>
<value>
<struct>
</struct>
</value>
</member>
<member>
<name>hostname</name>
<value>
<string/>
</value>
</member>
<member>
<name>repos_enabled</name>
<value>
<boolean>0</boolean>
</value>
</member>
<member>
<name>name</name>
<value>
<string>test</string>
</value>
</member>
<member>
<name>virt_type</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>mgmt_classes</name>
<value>
<array>
<data>
</data>
</array>
</value>
</member>
<member>
<name>power_pass</name>
<value>
<string/>
</value>
</member>
<member>
<name>netboot_enabled</name>
<value>
<boolean>1</boolean>
</value>
</member>
<member>
<name>ipv6_autoconfiguration</name>
<value>
<boolean>0</boolean>
</value>
</member>
<member>
<name>status</name>
<value>
<string>production</string>
</value>
</member>
<member>
<name>virt_path</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>interfaces</name>
<value>
<struct>
</struct>
</value>
</member>
<member>
<name>power_address</name>
<value>
<string/>
</value>
</member>
<member>
<name>proxy</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>fetchable_files</name>
<value>
<struct>
</struct>
</value>
</member>
<member>
<name>name_servers</name>
<value>
<array>
<data>
</data>
</array>
</value>
</member>
<member>
<name>ldap_enabled</name>
<value>
<boolean>0</boolean>
</value>
</member>
<member>
<name>ipv6_default_device</name>
<value>
<string/>
</value>
</member>
<member>
<name>virt_pxe_boot</name>
<value>
<int>0</int>
</value>
</member>
<member>
<name>virt_disk_driver</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>owners</name>
<value>
<array>
<data>
<value>
<string>admin</string>
</value>
</data>
</array>
</value>
</member>
<member>
<name>ctime</name>
<value>
<double>1451856819.487791</double>
</value>
</member>
<member>
<name>virt_ram</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>power_id</name>
<value>
<string/>
</value>
</member>
<member>
<name>server</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>redhat_management_server</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>depth</name>
<value>
<int>2</int>
</value>
</member>
<member>
<name>ldap_type</name>
<value>
<string>authconfig</string>
</value>
</member>
<member>
<name>template_remote_kickstarts</name>
<value>
<int>0</int>
</value>
</member>
</struct>
</value>
</data>
</array>
</value>
</param>
</params>
</methodResponse>
-- get system:
curl -XPOST -d '<methodCall>
<methodName>get_system</methodName>
<params>
<param>
<value>
<string>test</string>
</value>
</param>
<param>
<value>
<string>4f8464lmE6s+6YmQcOr+ACJvdyd5kIzV0w==</string>
</value>
</param>
</params>
</methodCall>
' http://localhost:25151/
<?xml version="1.0"?>
<methodResponse>
<params>
<param>
<value>
<struct>
<member>
<name>comment</name>
<value>
<string/>
</value>
</member>
<member>
<name>profile</name>
<value>
<string>Ubuntu-14.04-x86_64</string>
</value>
</member>
<member>
<name>kickstart</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>name_servers_search</name>
<value>
<array>
<data>
</data>
</array>
</value>
</member>
<member>
<name>ks_meta</name>
<value>
<string/>
</value>
</member>
<member>
<name>kernel_options_post</name>
<value>
<string/>
</value>
</member>
<member>
<name>image</name>
<value>
<string/>
</value>
</member>
<member>
<name>redhat_management_key</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>power_type</name>
<value>
<string>ether_wake</string>
</value>
</member>
<member>
<name>power_user</name>
<value>
<string/>
</value>
</member>
<member>
<name>kernel_options</name>
<value>
<string/>
</value>
</member>
<member>
<name>virt_file_size</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>mtime</name>
<value>
<double>1451856819.487791</double>
</value>
</member>
<member>
<name>enable_gpxe</name>
<value>
<int>0</int>
</value>
</member>
<member>
<name>template_files</name>
<value>
<string/>
</value>
</member>
<member>
<name>gateway</name>
<value>
<string/>
</value>
</member>
<member>
<name>uid</name>
<value>
<string>MTQ1MTg1NjgxOS40OTE4ODYyODQuNzAxMTY</string>
</value>
</member>
<member>
<name>virt_auto_boot</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>monit_enabled</name>
<value>
<boolean>0</boolean>
</value>
</member>
<member>
<name>virt_cpus</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>mgmt_parameters</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>boot_files</name>
<value>
<string/>
</value>
</member>
<member>
<name>hostname</name>
<value>
<string/>
</value>
</member>
<member>
<name>repos_enabled</name>
<value>
<boolean>0</boolean>
</value>
</member>
<member>
<name>name</name>
<value>
<string>test</string>
</value>
</member>
<member>
<name>virt_type</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>mgmt_classes</name>
<value>
<array>
<data>
</data>
</array>
</value>
</member>
<member>
<name>power_pass</name>
<value>
<string/>
</value>
</member>
<member>
<name>netboot_enabled</name>
<value>
<boolean>1</boolean>
</value>
</member>
<member>
<name>ipv6_autoconfiguration</name>
<value>
<boolean>0</boolean>
</value>
</member>
<member>
<name>status</name>
<value>
<string>production</string>
</value>
</member>
<member>
<name>virt_path</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>interfaces</name>
<value>
<struct>
</struct>
</value>
</member>
<member>
<name>power_address</name>
<value>
<string/>
</value>
</member>
<member>
<name>proxy</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>fetchable_files</name>
<value>
<string/>
</value>
</member>
<member>
<name>name_servers</name>
<value>
<array>
<data>
</data>
</array>
</value>
</member>
<member>
<name>ldap_enabled</name>
<value>
<boolean>0</boolean>
</value>
</member>
<member>
<name>ipv6_default_device</name>
<value>
<string/>
</value>
</member>
<member>
<name>virt_pxe_boot</name>
<value>
<int>0</int>
</value>
</member>
<member>
<name>virt_disk_driver</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>owners</name>
<value>
<array>
<data>
<value>
<string>admin</string>
</value>
</data>
</array>
</value>
</member>
<member>
<name>ctime</name>
<value>
<double>1451856819.487791</double>
</value>
</member>
<member>
<name>virt_ram</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>power_id</name>
<value>
<string/>
</value>
</member>
<member>
<name>server</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>redhat_management_server</name>
<value>
<string>&lt;&lt;inherit&gt;&gt;</string>
</value>
</member>
<member>
<name>depth</name>
<value>
<int>2</int>
</value>
</member>
<member>
<name>ldap_type</name>
<value>
<string>authconfig</string>
</value>
</member>
<member>
<name>template_remote_kickstarts</name>
<value>
<int>0</int>
</value>
</member>
</struct>
</value>
</param>
</params>
</methodResponse>