This commit contains the following changes:
1. remove it from cmd; as there is no need to expose this as a
separate command. Making this as an util which will be invoked
by xenapi_bootstrap.
2. rename the general function of get_hostname to be get_remote_hostname
and move it to common_functions.
3. change the keywords for the facts items to make it more clear.
Change-Id: Ie786b3085c29f9a1faf2c51a1a704ded1010af7b
This commit is to add a new command - get_xenapi_facts
which will gather facts for XenAPI. When deploy OpenStack
on XenServer, the facts can be used by deploy approach(e.g.
kolla-ansible).
Change-Id: Ia606d6ddc651cfa0b75fa34d8f14bc156d9dbe27
Add utils to do HIMN configuration. If the local HIMN interface
is up and gets IP address allocated, we can get the interface
via checking if the local interface has an IP belong to the same
network as the dom0's HIMN IP which should be supplied. Otherwise
read xenstore to get mac address and find the interface via mac.
After identified the interface, we populate the ifcfg file to
ensure this interface will be up in the future across boots.
Change-Id: I5f8cd53710edb714f0c4c1dc50c1d4472f2e365f
Depends-on: Ia363afc1fc932bf44a7ac956a5bc27978bb47868