|
| 1 | +--- |
| 2 | +- name: Create Custom Field Chassis MAC Address |
| 3 | + networktocode.nautobot.custom_field: |
| 4 | + state: present |
| 5 | + url: "{{ nautobot_url }}" |
| 6 | + token: "{{ nautobot_token }}" |
| 7 | + description: MAC address advertised to LLDP neighbors (for switches only) |
| 8 | + label: Chassis MAC Address |
| 9 | + type: text |
| 10 | + key: chassis_mac_address |
| 11 | + required: false |
| 12 | + weight: 100 |
| 13 | + content_types: dcim.device |
| 14 | + filter_logic: exact |
| 15 | + validation_regex: ^[0-9A-F][0-9A-F](:[0-9A-F][0-9A-F]){5}$ |
| 16 | + |
| 17 | +- name: Create Custom Field DHCP Relay IPv4 Address |
| 18 | + networktocode.nautobot.custom_field: |
| 19 | + state: present |
| 20 | + url: "{{ nautobot_url }}" |
| 21 | + token: "{{ nautobot_token }}" |
| 22 | + description: >- |
| 23 | + For certain interface Roles, configure a "DHCP Helper" service on the |
| 24 | + router to forward DHCP requests from locally-connected clients to the |
| 25 | + DHCP server specified by this option. The value is an IPv4 address |
| 26 | + without the /prefixlen. |
| 27 | + label: DHCP Relay IPv4 Address |
| 28 | + type: text |
| 29 | + key: dhcp_relay_ipv4_address |
| 30 | + required: false |
| 31 | + weight: 100 |
| 32 | + content_types: |
| 33 | + - dcim.interface |
| 34 | + - vni_custom_model.ucvni |
| 35 | + validation_regex: ^\d+\.\d+\.\d+\.\d+$ |
| 36 | + filter_logic: exact |
| 37 | + |
| 38 | +- name: Create Custom Field Tenant VLAN ID |
| 39 | + networktocode.nautobot.custom_field: |
| 40 | + state: present |
| 41 | + url: "{{ nautobot_url }}" |
| 42 | + token: "{{ nautobot_token }}" |
| 43 | + description: >- |
| 44 | + VLAN ID visible to the Tenant, used in the dot1q tag when this VNI |
| 45 | + appears on a trunk port. Normally different to the actual VLAN created |
| 46 | + on the switch - we use VLAN translation to gives the tenant a consistent |
| 47 | + VLAN ID across the whole fabric. |
| 48 | + label: Tenant VLAN ID |
| 49 | + type: integer |
| 50 | + key: tenant_vlan_id |
| 51 | + required: false |
| 52 | + weight: 100 |
| 53 | + content_types: |
| 54 | + - vni_custom_model.ucvni |
| 55 | + validation_minimum: 1 |
| 56 | + validation_maximum: 4096 |
| 57 | + filter_logic: exact |
0 commit comments