Class Fog::Baremetal::OpenStack::Real
In: lib/fog/baremetal/openstack.rb
lib/fog/baremetal/openstack/requests/get_driver_properties.rb
lib/fog/baremetal/openstack/requests/list_chassis.rb
lib/fog/baremetal/openstack/requests/list_nodes_detailed.rb
lib/fog/baremetal/openstack/requests/create_node.rb
lib/fog/baremetal/openstack/requests/get_node.rb
lib/fog/baremetal/openstack/requests/patch_node.rb
lib/fog/baremetal/openstack/requests/set_node_maintenance.rb
lib/fog/baremetal/openstack/requests/unset_node_maintenance.rb
lib/fog/baremetal/openstack/requests/get_driver.rb
lib/fog/baremetal/openstack/requests/patch_chassis.rb
lib/fog/baremetal/openstack/requests/create_chassis.rb
lib/fog/baremetal/openstack/requests/list_drivers.rb
lib/fog/baremetal/openstack/requests/delete_port.rb
lib/fog/baremetal/openstack/requests/list_ports_detailed.rb
lib/fog/baremetal/openstack/requests/get_chassis.rb
lib/fog/baremetal/openstack/requests/delete_chassis.rb
lib/fog/baremetal/openstack/requests/set_node_provision_state.rb
lib/fog/baremetal/openstack/requests/create_port.rb
lib/fog/baremetal/openstack/requests/delete_node.rb
lib/fog/baremetal/openstack/requests/set_node_power_state.rb
lib/fog/baremetal/openstack/requests/patch_port.rb
lib/fog/baremetal/openstack/requests/list_nodes.rb
lib/fog/baremetal/openstack/requests/get_port.rb
lib/fog/baremetal/openstack/requests/list_chassis_detailed.rb
lib/fog/baremetal/openstack/requests/list_ports.rb
Parent: Object

Methods

Included Modules

Fog::OpenStack::Core

Public Class methods

NOTE: uncommenting this should be treated as api-change! def self.not_found_class

  Fog::Baremetal::OpenStack::NotFound

end

Public Instance methods

Create a new chassis

Attributes ===

description = Free text description of the chassis extra = Record arbitrary key/value metadata. Can be specified multiple times

Create a new node

Attributes ===

chassis_uuid = UUID of the chassis that this node belongs to driver = Driver used to control the node [REQUIRED] driver_info = Key/value pairs used by the driver, such as out-of-band management credentials. Can be

               specified multiple times

extra = Record arbitrary key/value metadata. Can be specified multiple times uuid = Unique UUID for the node properties = Key/value pairs describing the physical characteristics of the node. This is exported to

               Nova and used by the scheduler. Can be specified multiple times

Create a new port

Attributes ===

address = MAC Address for this port extra = Record arbitrary key/value metadata. Can be specified multiple times node_uuid = UUID of the node that this port belongs to

Patch a chassis

parameter example: [{:op=> ‘replace’, :path => "/extra/placement", :value => "somewhere"}]

Patch parameter, list of jsonpatch ===

op = Operations: ‘add’, ‘replace’ or ‘remove’ path = Attributes to add/replace or remove (only PATH is necessary on remove),

         e.g. /extra/placement

value = Value to set

Patch a node

parameter example: [{:op=> ‘replace’, :path => "/driver", :value => "pxe_ssh"}]

Patch parameter, list of jsonpatch ===

op = Operations: ‘add’, ‘replace’ or ‘remove’ path = Attributes to add/replace or remove (only PATH is necessary on remove),

         e.g. /driver_info/ipmi_address

value = Value to set

Patch a port

parameter example: [{:op=> ‘replace’, :path => "/driver_info/ipmi_address", :value => "192.0.2.1"}]

Patch parameter, list of jsonpatch ===

op = Operations: ‘add’, ‘replace’ or ‘remove’ path = Attributes to add/replace or remove (only PATH is necessary on remove),

         e.g. /driver_info/ipmi_address

value = Value to set

[Validate]