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

This example removes a VLAN range from the tenant.
(efa:extreme)extreme@node-1:~$ efa tenant update --name tenant21 --operation vlan-delete --vlan-range 201-300

Tenant updated successfully.

--- Time Elapsed: 387.469634ms ---
This example adds a port to an existing tenant.
(efa:extreme)extreme@node-1:~$ efa tenant update --name tenant21 --operation port-add --port 10.20.216.15[0/29]

Tenant updated successfully.

--- Time Elapsed: 472.431968ms ---