Skip to content

Commit 131a870

Browse files
updated CVP and role readme files for new fields of pnp
1 parent 391e9a8 commit 131a870

2 files changed

Lines changed: 82 additions & 0 deletions

File tree

cvp/plug_and_play/README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,17 @@ pnp_details:
221221
is_sudi_required: false
222222
is_stack_device: true
223223
224+
# Phase 2: CLAIM the stack device as StackSwitch (stack renumbering)
225+
# Phase 1: ADD the stack device to PnP (Unclaimed)
226+
network_devices:
227+
- device_info:
228+
- serial_number: FJC271925Q1
229+
hostname: NY-EN-9300
230+
state: Unclaimed
231+
pid: C9300-48UXM
232+
is_sudi_required: false
233+
is_stack_device: true
234+
224235
# Phase 2: CLAIM the stack device as StackSwitch (stack renumbering)
225236
claim_switching_devices:
226237
- site_name: Global/USA/New York/NY_BLD1
@@ -231,6 +242,10 @@ pnp_details:
231242
PNP_VLAN_ID: 2005
232243
LOOPBACK_IP: 204.1.2.2
233244
pnp_type: StackSwitch
245+
license_level: network-advantage
246+
top_of_stack_serial_number: FJC271925Q1
247+
cabling_scheme: 1B
248+
pnp_type: StackSwitch
234249
license_level: dna-advantage
235250
top_of_stack_serial_number: FJC271925Q1
236251
cabling_scheme: 1B
@@ -250,6 +265,23 @@ When SUDI authorization is required, set `is_sudi_required: true` and list **eve
250265
stack member serial number** in `user_sudi_serial_nos` (sent to the API as
251266
`userSudiSerialNos`).
252267

268+
```yaml
269+
---
270+
catalystcenter_version: 2.3.7.9
271+
pnp_details:
272+
claim_switching_devices:
273+
- site_name: Global/USA/New York/NY_BLD1
274+
project_name: Onboarding Configuration
275+
```
276+
277+
> **Stack renumbering:** `top_of_stack_serial_number` and `cabling_scheme` apply only when `pnp_type: StackSwitch`. `license_level` accepts the values reported by the device's `validLicenseLevels` (e.g. `network-advantage`, `advantage`); refer to your Catalyst Center version's API schema for the authoritative list.
278+
279+
#### Switch Stack with SUDI Authorization
280+
281+
When SUDI authorization is required, set `is_sudi_required: true` and list **every
282+
stack member serial number** in `user_sudi_serial_nos` (sent to the API as
283+
`userSudiSerialNos`).
284+
253285
```yaml
254286
---
255287
catalystcenter_version: 2.3.7.9

roles/pnp/README.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,25 @@ Stack-specific fields: `is_stack_device` (sent as `stack`),
155155
is_sudi_required: false
156156
is_stack_device: true
157157
158+
# Play 2: CLAIM the stack device as StackSwitch (stack renumbering)
159+
# Play 1: ADD the stack device to PnP (Unclaimed)
160+
- hosts: localhost
161+
roles:
162+
- role: pnp
163+
vars:
164+
catalystcenter_host: "{{ vault_catalystcenter_host }}"
165+
catalystcenter_username: "{{ vault_catalystcenter_username }}"
166+
catalystcenter_password: "{{ vault_catalystcenter_password }}"
167+
pnp_state: "merged"
168+
pnp_config:
169+
- device_info:
170+
- serial_number: FJC271925Q1
171+
hostname: NY-EN-9300
172+
state: Unclaimed
173+
pid: C9300-48UXM
174+
is_sudi_required: false
175+
is_stack_device: true
176+
158177
# Play 2: CLAIM the stack device as StackSwitch (stack renumbering)
159178
- hosts: localhost
160179
roles:
@@ -209,6 +228,37 @@ stack member serial number** in `user_sudi_serial_nos` (sent to the API as
209228
state: Unclaimed
210229
pid: C9300-48UXM
211230
is_stack_device: true
231+
```
232+
233+
#### Switch Stack with SUDI Authorization
234+
235+
When SUDI authorization is required, set `is_sudi_required: true` and list **every
236+
stack member serial number** in `user_sudi_serial_nos` (sent to the API as
237+
`userSudiSerialNos`).
238+
239+
```yaml
240+
- hosts: localhost
241+
roles:
242+
- role: pnp
243+
vars:
244+
catalystcenter_host: "{{ vault_catalystcenter_host }}"
245+
catalystcenter_username: "{{ vault_catalystcenter_username }}"
246+
catalystcenter_password: "{{ vault_catalystcenter_password }}"
247+
pnp_state: "merged"
248+
pnp_config:
249+
- site_name: Global/USA/New York/NY_BLD1
250+
project_name: Onboarding Configuration
251+
pnp_type: StackSwitch
252+
license_level: network-advantage
253+
top_of_stack_serial_number: FJC271925Q1
254+
cabling_scheme: 1B
255+
device_info:
256+
- serial_number: FJC271925Q1
257+
hostname: NY-EN-9300
258+
state: Unclaimed
259+
pid: C9300-48UXM
260+
is_stack_device: true
261+
is_stack_device: true
212262
is_sudi_required: true
213263
user_sudi_serial_nos:
214264
- FJC271925Q1

0 commit comments

Comments
 (0)