Neutron REST Endpoints
EFA Topology Neutron Extension
GET
/v2.0/efa_topologies
Shows details of the topology
Normal response codes: 200
Table 1. Response parameters
Name |
IN |
Type |
Description |
id |
Body |
UUID |
Topology ID |
host |
Body |
String |
Host name of the Compute |
nic |
Body |
String |
Nic on the Compute |
provider_network |
Body |
String |
Provide Network to which the NIC belongs |
switch |
Body |
String |
IP address of the switch to which the NIC is connected |
Port |
Body |
String |
Switch Interface to which the NCI is connected |
po_name |
Body |
String |
LAG as created on EFA for the NICs |
DELETE
/v2.0/efa_topologies{id}
Deletes a toology link from its asscociate resources
Table 2. Response parameters
Name |
IN |
Type |
Description |
id |
Path |
UUID |
Topology ID |
POST
/v2.0/efa_topologies
Create a link on the efa_topology object
Table 3. Response parameters
Name |
IN |
Type |
Description |
host |
Body |
String |
Host name of the Compute |
nic |
Body |
String |
Nic on the Compute |
provider_network |
Body |
String |
Provide Network to which the NIC belongs |
switch |
Body |
String |
IP address of the switch to which the NIC is connected |
Port |
Body |
String |
Switch Interface to which the NCI is connected |
po_name |
Body |
String |
LAG as created on EFA for the NICs |
Example
e.g body = {‘efa_topology‘;:
{ 'host': 'Openstack115',
'nic': 'eth0'
'switch': "10.24.35.225',
'provider_network': "PFPT_LAG',
'port': '0/1',
'po_name': 'lag_1', }}