Bases: IronicObject
, VersionedObjectDictCompat
Get a Conductor record by its hostname.
Return a list of Conductor objects.
Loads and applies updates for this Conductor.
Loads a Conductor
with the same uuid from the database and
checks for updated attributes. Updates are applied from
the loaded chassis column by column, if there are any updates.
context – Security context. NOTE: This should only be used internally by the indirection_api. Unfortunately, RPC requires context as the first argument, even though we don’t use it. A context should be set when instantiating the object, e.g.: Conductor(context)
Register an active conductor with the cluster.
cls – the Conductor
context – Security context
hostname – the hostname on which the conductor will run
drivers – the list of drivers enabled in the conductor
conductor_group – conductor group to join, used for node:conductor affinity.
update_existing – When false, registration will raise an exception when a conflicting online record is found. When true, will overwrite the existing record. Default: False.
ConductorAlreadyRegistered
a Conductor
object.
Register hardware interfaces with the conductor.
interfaces – List of interface to register, each entry should be a dictionary conaining “hardware_type”, “interface_type”, “interface_name” and “default”, e.g. {‘hardware_type’: ‘hardware-type’, ‘interface_type’: ‘deploy’, ‘interface_name’: ‘direct’, ‘default’: True}
Unregister all hardware interfaces for this conductor.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.