efa tenant update

Allows changes to be made to a tenant after it has been created.

Syntax

efa tenant update [ --name tenant-name | --description tenant-description | --l2-vni-range | --l3-vni-range | --vlan-range | --vrf-count | --enable-bd |--operation desc-update | vni-update | port-add | port-delete | vlan-add | vlan-delete | vlan-update | num-vrf-update | enable-bd-update |--port |--force | --help]

Parameters

--name tenant-name
Specifies name of tenant.
--description tenant-description
Describes the tenant.
--l2-vni-range
Specifies the contiguous range of Layer 2 VNIs in ascending order that are reserved for the tenant within the scope of a fabric.
--l3-vni-range
Specifies the contiguous Range of L3 VNIs in ascending order will be reserved for the tenant within the scope of a fabric.
--vlan-range
Specifies the range of Vlans to be reserved for the tenant.
--vrf-count int
Specifies the number of VRFs tobe reserved for the tenant.
--enable-bd
Enables BD capability for networks created under this tenant.
--operation
Specifies operation code. Valid values are desc-update, vni-update, port-add, port-delete, vlan-add, vlan-delete, vlan-update, num-vrf-update, and enable-bd-update.
--port
Lists physical ports of devices which will be reserved for the asset. Example: SW1_IP[0/1],SW2_IP[0/5]
--force
Forces the deletion on the Tenant if the option is provided.
--help
Displays help for update.

Examples

# efa tenant update --name t3 --port 10.20.50.205[0/1-10],10.20.50.206[0/1-10] --operation port-add
Tenant updated successfully.
# efa tenant update --name tenant4 --operation vlan-add --vlan-range 201-300
Tenant updated successfully.

--- Time Elapsed: 402.8272ms ---
$ efa tenant show
+---------+-------------+-------------+----------------+-----------+-----------+---------+-----------------------+
|  Name   | L2VNI-Range | L3VNI-Range |   VLAN-Range   | VRF-Count | Enable-BD |  Type   |         Ports         |
+---------+-------------+-------------+----------------+-----------+-----------+---------+-----------------------+
| tenant1 | 10002-14190 | 14191-14200 | 2-100,200-4000 | 10        | False     | private | 10.24.48.131[0/21-24] |
|         |             |             |                |           |           |         | 10.24.51.135[0/21-24] |
+---------+-------------+-------------+----------------+-----------+-----------+---------+-----------------------+
| tenant2 |             |             | 2-99           | 10        | False     | private | 10.24.51.131[0/26-28] |
+---------+-------------+-------------+----------------+-----------+-----------+---------+-----------------------+
| tenant4 |             |             | 101-300        | 10        | False     | private | 10.24.51.131[0/23-25] |
+---------+-------------+-------------+----------------+-----------+-----------+---------+-----------------------+
Tenant Details
# efa tenant update --name tenant4 --operation vlan-delete --vlan-range 201-300
Tenant updated successfully.

--- Time Elapsed: 408.9277ms ---
$ efa tenant show
+---------+-------------+-------------+----------------+-----------+-----------+---------+-----------------------+
|  Name   | L2VNI-Range | L3VNI-Range |   VLAN-Range   | VRF-Count | Enable-BD |Type|         Ports         |
+---------+-------------+-------------+----------------+-----------+-----------+---------+-----------------------+
| tenant1 | 10002-14190 | 14191-14200 | 2-100,200-4000 |10| False     | private | 10.24.48.131[0/21-24] ||||||||| 10.24.51.135[0/21-24] |
+---------+-------------+-------------+----------------+-----------+-----------+---------+-----------------------+
| tenant2 ||| 2-99           |10| False     | private | 10.24.51.131[0/26-28] |
+---------+-------------+-------------+----------------+-----------+-----------+---------+-----------------------+
| tenant4 ||| 101-200,350    |10| False     | private | 10.24.51.131[0/23-25] |
+---------+-------------+-------------+----------------+-----------+-----------+---------+-----------------------+