Bases: Target
Target object for block storage devices with RDMA transport.
Whether 2 connectors belong to the same host or not.
This is used for multi attach volumes, to be able to know when there are no more attachments on a given host.
This is the generic implementation, but specific targets may overwrite it. For example iSCSI would check the the “initiator” key instead, and NVMe-oF would check the “nqn” key.
Creates export data for a logical volume.
Targets that don’t override create_export must implement this.
Targets that don’t override remove_export must implement this.
Synchronously recreates an export for a volume.
Serializes driver data into single line string.
Returns the connection info.
In NVMeOF driver, :driver_volume_type: is set to ‘nvmeof’, :data: is the driver data that has the value of _get_connection_properties_from_vol.
Example return value:
{
"driver_volume_type": "nvmeof",
"data":
{
"target_portal": "1.1.1.1",
"target_port": 4420,
"nqn": "nqn.volume-0001",
"transport_type": "rdma",
"ns_id": 10
}
}
Removes an export for a Target/Volume.
Disallow connection from connector.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.