Skip to content

Commit

Permalink
Appease linters
Browse files Browse the repository at this point in the history
Fix pep8 E265: block comment should start with '# '
  • Loading branch information
allenrobel committed Dec 8, 2024
1 parent acb3890 commit 0bc26be
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions playbooks/files/dynamic_inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

"""
# Summary
Dynamic inventory for DCNM Collection integration tests. Inventory
is built from environment variables.
Expand All @@ -33,13 +34,13 @@
See README.md in the top-level of this repository and define the environment
variables described there appropriately for your environment.
"""
test_fabric = environ.get("ND_FABRIC_NAME")
nd_ip4 = environ.get("ND_IP4")
nd_password = environ.get("ND_PASSWORD")
nd_testcase = environ.get("ND_TESTCASE")
nd_username = environ.get("ND_USERNAME", "admin")
nxos_password = environ.get("NXOS_PASSWORD")
nxos_username = environ.get("NXOS_USERNAME", "admin")

# These are not used in any integration tests
bgw_1 = environ.get("ND_BGW_1_IP4", "10.1.1.211")
bgw_2 = environ.get("ND_BGW_2_IP4", "10.1.1.212")
Expand All @@ -49,9 +50,13 @@
leaf_4 = environ.get("ND_LEAF_4_IP4", "10.1.1.109")
spine_1 = environ.get("ND_SPINE_1_IP4", "10.1.1.112")
spine_2 = environ.get("ND_SPINE_2_IP4", "10.1.1.113")
#-----------------

# -----------------
# dcnm_vrf
#-----------------
# -----------------

# VXLAN/EVPN Fabric Name
test_fabric = environ.get("ND_FABRIC_NAME")
# switch_1: border switch role
switch_1 = environ.get("ND_SPINE_1_IP4", "10.1.1.112")
# switch_2: border switch role
Expand All @@ -60,6 +65,11 @@
switch_3 = environ.get("ND_LEAF_3_IP4", "10.1.1.108")
# Interface to use for VRF LITE extensions on switch_1, switch_2
interface_1 = environ.get("ND_INTERFACE_1", "Ethernet1/2")

# output is printed to STDOUT, where ansible-playbook -i reads it.
# If you change any vars above, be sure to add them below.
# We'll clean this up as the integration test vars are standardized.

output = {
"_meta": {"hostvars": {}},
"all": {
Expand Down

0 comments on commit 0bc26be

Please sign in to comment.