Update a Tenant

You can update the tenant attributes using the operations, such as desc-update, vni-update, port-add, port-delete, vlan-add, vlan-delete, vlan-update, num-vrf-update, and enable-bd-update.

About this task

Follow this procedure to update an existing tenant.

Procedure

Run the efa tenant update comamnd.
efa tenant update --name <tenant-name> --operation <value> --description <tenant-description> --l2-vni-range <value> --l3-vni-range <value> --vlan-range <value> --vrf-count <value> --enable-bd –port <list-of-ports> --force

Example

The following example shows the existing tenant configuration:
(efa:root)root@node-2:~# efa tenant show --detail
============================================================
Name            :  tenant11
Type            :  private
Description     :
VLAN Range      :  2001-2150
L2VNI Range     :
L3VNI Range     :
VRF Count       :  100
Enable BD       :  false
Ports           :  10.20.246.6[0/1-10]
                :  10.20.246.5[0/1-10]

============================================================

--- Time Elapsed: 159.855317ms ---