LAN Connectivity Policy
A LAN Connectivity Policy groups one or more vNICs and wires them to their associated Ethernet policies (adapter, QoS, network or network group) and MAC pools. It defines the complete Ethernet configuration for a server, including fabric placement, slot and PCI link assignment, and optional link failover. The policy is applied to servers via a Server Profile Template.
Location in Intersight GUI:
Policies » LAN Connectivity
Diagram
Section titled “Diagram”Classes
Section titled “Classes”policies (compute.intersight.organizations)
Section titled “policies (compute.intersight.organizations)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| lan_connectivity | List | [lan_connectivity] | No |
lan_connectivity (compute.intersight.organizations.policies)
Section titled “lan_connectivity (compute.intersight.organizations.policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
| description | String | No | ||
| managed | Boolean | true, false | No | true |
| tags | List | [tags] | No | |
| target_platform | Choice | FIAttached, Standalone, UnifiedEdgeServer | No | FIAttached |
| vnic_placement_mode | Choice | auto, custom | No | custom |
| iqn_allocation_type | Choice | None, Static, Pool | No | None |
| vnics | List | [vnics] | No |
tags (compute.intersight.organizations.policies.lan_connectivity)
Section titled “tags (compute.intersight.organizations.policies.lan_connectivity)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| key | String | Yes | ||
| value | String | Yes |
vnics (compute.intersight.organizations.policies.lan_connectivity)
Section titled “vnics (compute.intersight.organizations.policies.lan_connectivity)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
| order | Integer | min: 0, max: 255 | No | 0 |
| fabric | Choice | A, B, None | No | A |
| slot | String | No | ||
| pci_link | Integer | min: 0, max: 1 | No | |
| failover | Boolean | true, false | No | false |
| mac_pool | String | No | ||
| ethernet_adapter_policy | String | No | ||
| ethernet_network_control_policy | String | No | ||
| ethernet_network_policy | String | No | ||
| ethernet_network_group_policy | String | No | ||
| ethernet_qos_policy | String | No |
Examples
Section titled “Examples”Example-1: The example below demonstrates an FI-attached LAN connectivity policy with two vNICs placed on separate fabric paths for high availability, using automatic slot assignment (the default).
compute: intersight: organizations: - name: MyOrganization policies: lan_connectivity: - name: web-lan description: LAN connectivity for web servers target_platform: FIAttached vnics: - name: eth0 order: 0 fabric: A mac_pool: web-mac-a ethernet_adapter_policy: web-eth-adapter ethernet_network_group_policy: web-vlan-group ethernet_qos_policy: web-qos
- name: eth1 order: 1 fabric: B mac_pool: web-mac-b ethernet_adapter_policy: web-eth-adapter ethernet_network_group_policy: web-vlan-group ethernet_qos_policy: web-qos tags: - key: env value: prodExample-2: The example below demonstrates explicit slot and PCI link assignment for deployments where vNIC placement must be pinned to a specific adapter slot.
compute: intersight: organizations: - name: MyOrganization policies: lan_connectivity: - name: web-lan-pinned description: LAN connectivity with explicit MLOM slot placement target_platform: FIAttached vnics: - name: eth0 order: 0 fabric: A slot: MLOM pci_link: 0 mac_pool: web-mac-a ethernet_adapter_policy: web-eth-adapter ethernet_network_group_policy: web-vlan-group ethernet_qos_policy: web-qosExample-3: The example below demonstrates a Standalone LAN connectivity policy using an Ethernet Network Policy for VLAN assignment.
compute: intersight: organizations: - name: MyOrganization policies: lan_connectivity: - name: standalone-lan description: LAN connectivity for standalone servers target_platform: Standalone vnics: - name: eth0 order: 0 fabric: None mac_pool: standalone-mac ethernet_adapter_policy: standalone-adapter ethernet_network_policy: access-vlan100 ethernet_qos_policy: best-effort