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 range | --l3-vni-range range | --vlan-range range | --vrf-count number | --enable-bd |--operation { desc-update | vni-update | port-add | port-delete | vlan-add | vlan-delete | vlan-update | num-vrf-update | enable-bd-update| mirror-destination-port-add | mirror-destination-port-delete } |--port port-list | --force | --port value | --mirror-destination-port value ]

Parameters

--name tenant-name
Specifies name of tenant.
--description tenant-description
Describes the tenant.
--l2-vni-range 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 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 range
Specifies the range of VLANs to be reserved for the tenant.
--vrf-count int number
Specifies the number of VRFs to be reserved for the tenant.
--enable-bd
Enables BD capability for networks created under this tenant.
--operation { desc-update | vni-update | port-add | port-delete | vlan-add | vlan-delete | vlan-update | num-vrf-update | enable-bd-update | mirror-destination-port-add | mirror-destination-port-delete }
Specifies operation code.
--port value
Lists physical ports of devices which will be reserved for the asset. Example: SW1_IP[0/1],SW2_IP[0/5]
--mirror-destination-port value

List of physical ports of devices which will be reserved as mirror destination ports. Example: SW1_IP[0/1,0/2,0/12-15,0/5:4],SW2_IP[0/1,0/4,0/5:1-2,0/5:3,0/9-20].

--force
Forces the deletion on the tenant if the option is provided.

Examples

This example removes a VLAN range from the tenant.
$ efa tenant update --name tenant21 --operation vlan-delete 
--vlan-range 201-300

Tenant updated successfully.
This example adds a port to an existing tenant.
$ efa tenant update --name tenant21 --operation port-add 
--port 10.20.216.15[0/29]

Tenant updated successfully.