The source_openstack module¶
Openstack Data Source
-
octant.source_openstack.OPENSTACK_TABLES¶ Describes how to bind values extracted from the openstack client.
-
octant.source_openstack.NEUTRON_TABLES¶ Describes how to bind values extracted from the neutron client.
-
octant.source_openstack.fw_action(raw)¶ Normalize firewall action
Gives back a value between allow, deny, reject and other
-
octant.source_openstack.ip_version(vnum)¶ String version of ip version
-
octant.source_openstack.normalize_status(raw)¶ Normalize status values
Gives back a value between active,down,build,error and other
-
octant.source_openstack.port_max(port_range)¶ Extract port max from Openstack format
-
octant.source_openstack.port_min(port_range)¶ Extract port min from Openstack format
-
octant.source_openstack.register(datasource)¶ Register tables in datasource
It registers table that can be retrieved either from the OpenStack client or the Neutron client (firewall mainly)
Parameters: datasource – The datasource object to enrich.