L4L7 Device
Location in GUI: Tenants
» XXX
» Services
» L4-L7
» Devices
Diagram
Classes
services (apic.tenants)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
l4l7_devices | List | [l4l7_devices] | No |
l4l7_devices (apic.tenants.services)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
alias | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
context_aware | Choice | single-Context , multi-Context | No | single-Context |
type | Choice | PHYSICAL , VIRTUAL , CLOUD | No | PHYSICAL |
function | Choice | None , GoTo , GoThrough , L2 , L1 | No | GoTo |
copy_device | Boolean | true , false | No | false |
managed | Boolean | true , false | No | false |
promiscuous_mode | Boolean | true , false | No | false |
service_type | Choice | ADC , FW , OTHERS , COPY , NATIVELB | No | FW |
trunking | Boolean | true , false | No | false |
physical_domain | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
vmware_vmm_domain | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
active_active | Boolean | true , false | No | false |
concrete_devices | List | [concrete_devices] | No | |
logical_interfaces | List | [logical_interfaces] | No |
concrete_devices (apic.tenants.services.l4l7_devices)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
alias | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
vcenter_name | String | min: 0 , max: 512 | No | |
vm_name | String | min: 0 , max: 512 | No | |
interfaces | List | [interfaces] | No |
logical_interfaces (apic.tenants.services.l4l7_devices)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.:-]{1,16}$ | Yes | |
alias | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
vlan | Integer | min: 1 , max: 4096 | No | |
concrete_interfaces | List | [concrete_interfaces] | No |
interfaces (apic.tenants.services.l4l7_devices.concrete_devices)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
alias | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
vnic_name | String | Regex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{0,128}$ | No | |
node_id | Integer | min: 1 , max: 4000 | No | |
node2_id | Integer | min: 1 , max: 4000 | No | |
pod_id | Integer | min: 1 , max: 255 | No | |
fex_id | Integer | min: 101 , max: 199 | No | |
module | Integer | min: 1 , max: 9 | No | 1 |
port | Integer | min: 1 , max: 127 | No | |
channel | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
vlan | Integer | min: 1 , max: 4096 | No |
concrete_interfaces (apic.tenants.services.l4l7_devices.logical_interfaces)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
device | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
interface_name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes |
Examples
Simple example:
apic: tenants: - name: ABC services: l4l7_devices: - name: DEV1 physical_domain: PHY1 concrete_devices: - name: DEV1 interfaces: - name: INT1 node_id: 101 port: 11 logical_interfaces: - name: INT1 vlan: 135 concrete_interfaces: - device: DEV1 interface_name: INT1
Full GoTo example:
apic: tenants: - name: ABC services: l4l7_devices: - name: DEV1 alias: DEV1-ALIAS context_aware: single-Context type: PHYSICAL function: GoTo copy_device: false managed: false promiscuous_mode: false service_type: FW trunking: false physical_domain: PHY1 concrete_devices: - name: DEV1 alias: DEV1-ALIAS vcenter_name: vm_name: interfaces: - name: INT1 alias: INT1-ALIAS vnic_name: node_id: 101 module: 1 port: 11 - name: INT2 node_id: 101 fex_id: 101 port: 13 logical_interfaces: - name: INT1 alias: INT1-ALIAS vlan: 135 concrete_interfaces: - device: DEV1 interface_name: INT1
Full L2 example:
apic: tenants: - name: ABC services: l4l7_devices: - name: DEV2 type: PHYSICAL function: L2 service_type: OTHERS physical_domain: PHY1 active_active: true concrete_devices: - name: DEV1 alias: DEV1-ALIAS interfaces: - name: INT1 node_id: 101 module: 1 port: 11 vlan: 123 - name: INT2 node_id: 101 fex_id: 101 port: 13 channel: PC1 vlan: 124 logical_interfaces: - name: INT1 alias: INT1-ALIAS concrete_interfaces: - device: DEV1 interface_name: INT1 - name: INT2 concrete_interfaces: - device: DEV1 interface_name: INT2
Example for GoTo with firewall behind vPC as a concrete device, using vlan-812 as encap with explicit interface configuration (port-channel not created in access_policies.yaml requires providing both node ids):
apic: tenants: - name: ABC services: l4l7_devices: - name: FW-vl812 type: PHYSICAL function: GoTo service_type: FW physical_domain: firewalldom concrete_devices: - name: FW-vl812 interfaces: - name: FW pod_id: 2 node_id: 131 node2_id: 132 channel: fw-vpc logical_interfaces: - name: FW-vl812 vlan: 812 concrete_interfaces: - device: FW-vl812 interface_name: FW