File tree Expand file tree Collapse file tree
roles/dtc/common/templates/ndfc_inventory Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 hostname: {{ switch['name'] }}
2828 model: {{ pdata['model'] }}
2929 version: {{ pdata['version'] }}
30+ {% if switch ['poap' ].discovery_creds is defined and switch ['poap' ].discovery_creds %}
31+ discovery_username: PLACE_HOLDER_USERNAME
32+ discovery_password: PLACE_HOLDER_PASSWORD
33+ {% endif %}
3034 config_data:
3135 modulesModel: {{ pdata['modulesModel'] }}
3236 gateway: {{ pdata['gateway'] }}
4246 - preprovision_serial: {{ switch['poap'] ['preprovision'] ['serial_number'] }}
4347 model: {{ switch['poap'] ['preprovision'] ['model'] }}
4448 version: {{ switch['poap'] ['preprovision'] ['version'] }}
49+ {% if switch ['poap' ].discovery_creds is defined and switch ['poap' ].discovery_creds %}
50+ discovery_username: PLACE_HOLDER_USERNAME
51+ discovery_password: PLACE_HOLDER_PASSWORD
52+ {% endif %}
4553 config_data:
4654 modulesModel: {{ switch['poap'] ['preprovision'] ['modulesModel'] }}
4755 gateway: {{ switch['management'] ['default_gateway_v4'] | ansible.utils.ipaddr('address') }}/{{ switch['management'] ['subnet_mask_ipv4'] }}
Original file line number Diff line number Diff line change 2626 hostname: {{ switch['name'] }}
2727 model: {{ pdata['model'] }}
2828 version: {{ pdata['version'] }}
29+ {% if switch ['poap' ].discovery_creds is defined and switch ['poap' ].discovery_creds %}
30+ discovery_username: PLACE_HOLDER_USERNAME
31+ discovery_password: PLACE_HOLDER_PASSWORD
32+ {% endif %}
2933 config_data:
3034 modulesModel: {{ pdata['modulesModel'] }}
3135 gateway: {{ pdata['gateway'] }}
4246 - preprovision_serial: {{ switch['poap'] ['preprovision'] ['serial_number'] }}
4347 model: {{ switch['poap'] ['preprovision'] ['model'] }}
4448 version: {{ switch['poap'] ['preprovision'] ['version'] }}
49+ {% if switch ['poap' ].discovery_creds is defined and switch ['poap' ].discovery_creds %}
50+ discovery_username: PLACE_HOLDER_USERNAME
51+ discovery_password: PLACE_HOLDER_PASSWORD
52+ {% endif %}
4553 config_data:
4654 modulesModel: {{ switch['poap'] ['preprovision'] ['modulesModel'] }}
4755 gateway: {{ switch['management'] ['default_gateway_v4'] | ansible.utils.ipaddr('address') }}/{{ switch['management'] ['subnet_mask_ipv4'] }}
You can’t perform that action at this time.
0 commit comments