I have a Cisco nexus 9336 switch for which I'm trying to erase the existing configuration and apply a custom configuration. I'm trying to first add a line to create vlan or something simple to test if my custom configuration works when the poap process starts. I'm confused if this is the file I am supposed to edit or need to create another config file to apply my configuration.
I've tried to add: config_file_first.write("vlan 11\n") on line 625. I'm not confident this is right.
https://github.com/datacenter/nexus9000/blob/master/nx-os/poap/poap.py
Please help!