This new new port extension allows to create ports with hardware offloaded capabilities. Spec: https://review.opendev.org/c/openstack/neutron-specs/+/882272 Related-Bug: #2013228 Change-Id: I0c9863ff21f3dee6120f1c8424a69ded6c3612b1
95 lines
3.2 KiB
JSON
95 lines
3.2 KiB
JSON
{
|
|
"port": {
|
|
"admin_state_up": true,
|
|
"allowed_address_pairs": [
|
|
{
|
|
"ip_address": "12.12.11.12",
|
|
"mac_address": "fa:14:2a:b3:cb:f0"
|
|
}
|
|
],
|
|
"binding:host_id": "4df8d9ff-6f6f-438f-90a1-ef660d4586ad",
|
|
"binding:profile": {
|
|
"local_link_information": [
|
|
{
|
|
"port_id": "Ethernet3/1",
|
|
"switch_id": "0a:1b:2c:3d:4e:5f",
|
|
"switch_info": "switch1"
|
|
}
|
|
]
|
|
},
|
|
"binding:vif_details": {},
|
|
"binding:vif_type": "unbound",
|
|
"binding:vnic_type": "other",
|
|
"created_at": "2016-03-08T20:19:41",
|
|
"data_plane_status": null,
|
|
"description": "",
|
|
"device_id": "d90a13da-be41-461f-9f99-1dbcf438fdf2",
|
|
"device_owner": "baremetal:none",
|
|
"dns_assignment": [
|
|
{
|
|
"hostname": "myport",
|
|
"ip_address": "10.0.0.2",
|
|
"fqdn": "myport.my-domain.org"
|
|
}
|
|
],
|
|
"dns_domain": "my-domain.org.",
|
|
"dns_name": "myport",
|
|
"extra_dhcp_opts": [
|
|
{
|
|
"opt_value": "pxelinux.0",
|
|
"ip_version": 4,
|
|
"opt_name": "bootfile-name"
|
|
}
|
|
],
|
|
"fixed_ips": [
|
|
{
|
|
"ip_address": "10.0.0.2",
|
|
"subnet_id": "a0304c3a-4f08-4c43-88af-d796509c97d2"
|
|
}
|
|
],
|
|
"hints": {"openvswitch": {"other_config": {"tx-steering": "hash"}}},
|
|
"id": "65c0ee9f-d634-4522-8954-51021b570b0d",
|
|
"ip_allocation": "immediate",
|
|
"mac_address": "fa:16:3e:c9:cb:f0",
|
|
"name": "private-port",
|
|
"network_id": "a87cc70a-3e15-4acf-8205-9b711a3531b7",
|
|
"project_id": "d6700c0c9ffa4f1cb322cd4a1f3906fa",
|
|
"revision_number": 1,
|
|
"security_groups": [
|
|
"f0ac4394-7e4a-4409-9701-ba8be283dbc3"
|
|
],
|
|
"status": "DOWN",
|
|
"tags": ["tag1,tag2"],
|
|
"tenant_id": "d6700c0c9ffa4f1cb322cd4a1f3906fa",
|
|
"updated_at": "2016-03-08T20:19:41",
|
|
"qos_network_policy_id": "174dd0c1-a4eb-49d4-a807-ae80246d82f4",
|
|
"qos_policy_id": "29d5e02e-d5ab-4929-bee4-4a9fc12e22ae",
|
|
"port_security_enabled": true,
|
|
"resource_request": {
|
|
"request_groups": [
|
|
{
|
|
"id": "1e4f3958-c0c9-4dec-82fa-ed2dc1c5cb34",
|
|
"required": ["CUSTOM_VNIC_TYPE_NORMAL"],
|
|
"resources": {
|
|
"NET_PACKET_RATE_KILOPACKET_PER_SEC": 1000
|
|
}
|
|
},
|
|
{
|
|
"id": "b20bb47f-5d6d-45a6-8fe7-2c1b44f0db73",
|
|
"required": [
|
|
"CUSTOM_PHYSNET_PUBLIC", "CUSTOM_VNIC_TYPE_NORMAL"],
|
|
"resources": {
|
|
"NET_BW_EGR_KILOBIT_PER_SEC": 1000
|
|
}
|
|
}
|
|
],
|
|
"same_subtree": [
|
|
"1e4f3958-c0c9-4dec-82fa-ed2dc1c5cb34",
|
|
"b20bb47f-5d6d-45a6-8fe7-2c1b44f0db73"
|
|
]
|
|
},
|
|
"propagate_uplink_status": false,
|
|
"hardware_offload_type": "switchdev"
|
|
}
|
|
}
|