Update a Tenant Endpoint Group

When you update a tenant endpoint group, you can specify the resources like device ports, VLAN range, L2 VNI range, L3 VNI range, and VRF count.

About this task

Follow this procedure to update a tenant endpoint group.

For syntax and command examples, see the ExtremeCloud Orchestrator Command Reference, 3.2.1 .

Procedure

To update a tenant endpoint group when you create a tenant, run the following command:
efa tenant create --name <tenant-name> --description <tenant-description> --l2-vni-range <value> --l3-vni-range <value> -- vlan-range <value> --vrf-count <value> --enable-bd –port <list-of-ports>

Example

  1. The following example creates a VLAN-based tenant with manual VNI mapping:
    (efa:extreme)extreme@node-1:~$ efa tenant create --name tenant11 --l2-vni-range 
    10002-14190 
    --l3-vni-range 14191-14200 --vlan-range 2-4090 --vrf-count 10 --port 
    10.20.216.15[0/11-20],10.20.216.16[0/11-20] 
    --description Subscriber1
    
    Tenant created successfully.
    
    --- Time Elapsed: 455.141597ms ---
  2. The following example creates a BD-based tenant:
    (efa:extreme)extreme@node-1:~$ efa tenant create --name tenant21 --l2-vni-range 
    30002-34190 
    --l3-vni-range 34191-34200 --vlan-range 2-4090 --vrf-count 10 --enable-bd 
    --port 10.20.216.15[0/21-28],10.20.216.16[0/21-28]
    
    Tenant created successfully.
    
    --- Time Elapsed: 501.176996ms ---
  3. The following example creates a tenant with auto-VNI with breakout ports:
    (efa:extreme)extreme@node-1:~$ efa tenant create --name tenant12 
    --vlan-range 2-100 --vrf-count 10 --port 
    10.20.216.103[0/1-10],10.20.216.104[0/1-5,0/6:1-4]
    
    Tenant created successfully.
    
    --- Time Elapsed: 427.73527ms ---
  4. The following creates a shared tenant:
    (efa:extreme)extreme@node-1:~$ efa tenant create --name ST 
    --type shared --port 10.20.216.15[0/1-10],10.20.216.16[0/1-10]
    
    Tenant created successfully.
    
    --- Time Elapsed: 381.182892ms ---