Node Registration
Location in GUI: Fabric » Inventory » Fabric Membership
Diagram
Section titled “Diagram”Classes
Section titled “Classes”nodes (apic.node_policies)
Section titled “nodes (apic.node_policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| role | Choice | leaf, spine, apic | Yes | |
| set_role | Boolean | true, false | No | false |
| serial_number | String | Regex: ^[a-zA-Z0-9_.:-]{1,16}$ | No | |
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
| id | Integer | min: 1, max: 4000 | Yes | |
| pod | Integer | min: 0, max: 255 | No | 1 |
| type | Choice | tier-2-leaf, remote-leaf-wan, virtual, border-gateway | No | |
| remote_pool_id | Integer | min: 1, max: 255 | No |
Examples
Section titled “Examples”Example-1: In the example below we create a node registration for a leaf and a spine switch. The spine switch uses the set_role option to define that it is a spine if hardware is a dual-role.
apic: node_policies: nodes: - id: 101 pod: 1 role: leaf serial_number: ABC1234567 name: LEAF101 - id: 1001 pod: 1 role: spine set_role: true # For dual-role switches serial_number: ABC1234569 name: SPINE1001Example-2: In the example below we create a node registration for a remote leaf switch.
apic: nodes:
- id: 3101 pod: 1 role: leaf type: remote-leaf-wan serial_number: ABC1234568 name: RLEAF3101Example-3: In the example below we create a node registration for a leaf that is supposed to work as a border gateway switch.
apic: nodes: - id: 401 pod: 1 role: leaf type: border-gateway serial_number: TEP-1-401 name: leaf-401Location in GUI: Fabric » Inventory » Fabric Membership
Diagram
Section titled “Diagram”Classes
Section titled “Classes”nodes (apic.node_policies)
Section titled “nodes (apic.node_policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| role | Choice | leaf, spine, apic | Yes | |
| set_role | Boolean | true, false | No | false |
| serial_number | String | Regex: ^[a-zA-Z0-9_.:-]{1,16}$ | No | |
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
| id | Integer | min: 1, max: 4000 | Yes | |
| pod | Integer | min: 0, max: 255 | No | 1 |
| type | Choice | tier-2-leaf, remote-leaf-wan, virtual | No | |
| remote_pool_id | Integer | min: 1, max: 255 | No |
Examples
Section titled “Examples”apic: node_policies: nodes: - id: 101 pod: 1 role: leaf serial_number: ABC1234567 name: LEAF101 - id: 3101 pod: 1 role: leaf type: remote-leaf-wan serial_number: ABC1234568 name: RLEAF3101 - id: 1001 pod: 1 role: spine set_role: true # For dual-role switches serial_number: ABC1234569 name: SPINE1001Location in GUI: Fabric » Inventory » Fabric Membership
Diagram
Section titled “Diagram”Classes
Section titled “Classes”nodes (apic.node_policies)
Section titled “nodes (apic.node_policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| role | Choice | leaf, spine, apic | Yes | |
| set_role | Boolean | true, false | No | false |
| serial_number | String | Regex: ^[a-zA-Z0-9_.:-]{1,16}$ | No | |
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
| id | Integer | min: 1, max: 4000 | Yes | |
| pod | Integer | min: 0, max: 255 | No | 1 |
| type | Choice | tier-2-leaf, remote-leaf-wan, virtual | No | |
| remote_pool_id | Integer | min: 1, max: 255 | No |
Examples
Section titled “Examples”apic: node_policies: nodes: - id: 101 pod: 1 role: leaf serial_number: ABC1234567 name: LEAF101 - id: 3101 pod: 1 role: leaf type: remote-leaf-wan serial-number: ABC1234568 name: RLEAF3101 - id: 1001 pod: 1 role: spine set_role: true # For dual-role switches serial_number: ABC1234569 name: SPINE1001Location in GUI: Fabric » Inventory » Fabric Membership
Diagram
Section titled “Diagram”Classes
Section titled “Classes”nodes (apic.node_policies)
Section titled “nodes (apic.node_policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| role | Choice | leaf, spine, apic | Yes | |
| set_role | Boolean | true, false | No | false |
| serial_number | String | Regex: ^[a-zA-Z0-9_.:-]{1,16}$ | No | |
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
| id | Integer | min: 1, max: 4000 | Yes | |
| pod | Integer | min: 0, max: 255 | No | 1 |
| type | Choice | tier-2-leaf, remote-leaf-wan, virtual | No | |
| remote_pool_id | Integer | min: 1, max: 255 | No |
Examples
Section titled “Examples”apic: node_policies: nodes: - id: 101 pod: 1 role: leaf serial_number: ABC1234567 name: LEAF101 - id: 3101 pod: 1 role: leaf type: remote-leaf-wan serial-number: ABC1234568 name: RLEAF3101 - id: 1001 pod: 1 role: spine set_role: true # For dual-role switches serial_number: ABC1234569 name: SPINE1001