🔥 3-day streak
Cisco CCNP Automation AUTOCOR (350-901)135 / 136
Question 135 of 136

You are given a YANG data model with the following structure for VLAN configuration: module vlan-config { container vlans { list vlan { key "id"; leaf id { type uint16; } leaf name { type string; } leaf-list ports { type string; } } } } Your automation script must produce a JSON payload representing two VLANs: VLAN 10 named "users" with ports GigabitEthernet1/0/1 and GigabitEthernet1/0/2, and VLAN 20 named "servers" with port GigabitEthernet1/0/3. Which JSON representation correctly reflects this YANG model?

Reviewed for accuracy · Report an issueNext question