File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
examples/05-nautobot-peeringdb Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1- # Import Adapters
2- from diffsync .enum import DiffSyncFlags
1+ """Main.py."""
32
3+ # Import Adapters
44from adapter_nautobot import NautobotRemote
55from adapter_peeringdb import PeeringDB
66
7+ from diffsync .enum import DiffSyncFlags
8+
9+
710# Initialize PeeringDB adapter, using CATNIX id for demonstration
811peeringdb = PeeringDB (ix_id = 62 )
912
1013# Initialize Nautobot adapter, pointing to the demo instance (it's also the default settings)
11- nautobot = NautobotRemote (url = "https://demo.nautobot.com" , token = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" )
14+ nautobot = NautobotRemote (url = "https://demo.nautobot.com" , token = "a" * 40 ) # nosec
1215
1316# Load PeeringDB info into the adapter
1417peeringdb .load ()
You can’t perform that action at this time.
0 commit comments