Federation groups

iLO federation allows you to manage multiple iLOs and servers from a single iLO web interface, including firmware updates, license installs and querying health status.

class hpilo.Ilo
add_federation_group(group_name, group_key, admin_priv=False, remote_cons_priv=True, reset_server_priv=False, virtual_media_priv=False, config_ilo_priv=True, login_priv=False)

Add a new federation group

get_federation_all_groups()

Get all federation group names

>>> ilo.get_federation_all_groups()
['DEFAULT']
get_federation_all_groups_info()

Get all federation group names and associated privileges

>>> ilo.get_federation_all_groups_info()
{'DEFAULT': {'admin_priv': False,
             'config_ilo_priv': False,
             'group_name': 'DEFAULT',
             'login_priv': True,
             'remote_cons_priv': False,
             'reset_server_priv': False,
             'virtual_media_priv': False}}
get_federation_group(group_name)

Get privileges for a specific federation group

>>> ilo.get_federation_group(group_name="DEFAULT")
{'admin_priv': False,
 'config_ilo_priv': False,
 'group_name': 'DEFAULT',
 'login_priv': True,
 'remote_cons_priv': False,
 'reset_server_priv': False,
 'virtual_media_priv': False}
mod_federation_group(group_name, new_group_name=None, group_key=None, admin_priv=None, remote_cons_priv=None, reset_server_priv=None, virtual_media_priv=None, config_ilo_priv=None, login_priv=None)

Set attributes for a federation group, only specified arguments will be changed. All arguments except group_name, new_group_name and group_key should be boolean

delete_federation_group(group_name)

Delete the specified federation group membership

get_federation_multicast()

Get the iLO federation multicast settings

>>> ilo.get_federation_multicast()
{'ipv6_multicast_scope': 'Site',
 'multicast_announcement_interval': 'Disabled',
 'multicast_discovery_enabled': 'No',
 'multicast_ttl': 5}
set_federation_multicast(multicast_federation_enabled=True, multicast_discovery_enabled=True, multicast_announcement_interval=600, ipv6_multicast_scope='Site', multicast_ttl=5)

Set the Federation multicast configuration