-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to Ansible 8.4.0 and NSO OC 2.79.3
- Loading branch information
1 parent
0c1191e
commit 53c0728
Showing
6 changed files
with
112 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,119 @@ | ||
type: object | ||
required: | ||
- vrf | ||
properties: | ||
required: | ||
- vrf | ||
vrf: | ||
type: object | ||
required: | ||
- {{ check_vars.vrf }} | ||
properties: | ||
required: | ||
- {{ check_vars.vrf }} | ||
{{ check_vars.vrf }}: | ||
type: object | ||
required: | ||
- address_family | ||
properties: | ||
required: | ||
- address_family | ||
address_family: | ||
type: object | ||
required: | ||
- ipv4 | ||
properties: | ||
required: | ||
- ipv4 | ||
ipv4: | ||
type: object | ||
required: | ||
- routes | ||
properties: | ||
routes: | ||
type: object | ||
required: {{ check_vars.routes }} | ||
required: | ||
{% for route in check_vars.routes %} | ||
- {{ route.route }} | ||
{% endfor %} | ||
properties: | ||
{% for route in check_vars.routes %} | ||
{{ route.route }}: | ||
type: object | ||
required: | ||
- route | ||
{% if route.active is defined and route.active %} | ||
- active | ||
{% endif %} | ||
{% if route.metric is defined and route.metric %} | ||
- metric | ||
{% endif %} | ||
{% if route.next_hop is defined and route.next_hop %} | ||
- next_hop | ||
{% endif %} | ||
{% if route.source_protocol is defined and route.source_protocol %} | ||
- source_protocol | ||
{% endif %} | ||
{% if route.next_hop is defined and route.next_hop %} | ||
- next_hop | ||
{% endif %} | ||
properties: | ||
route: | ||
type: string | ||
const: {{ route.route }} | ||
{% if route.active is defined and route.active %} | ||
active: | ||
type: boolean | ||
const: {{ route.active }} | ||
{% endif %} | ||
{% if route.metric is defined and route.metric %} | ||
metric: | ||
type: integer | ||
const: {{ route.metric }} | ||
{% endif %} | ||
{% if route.next_hop is defined and route.next_hop %} | ||
next_hop: | ||
{% if route.next_hop.next_hop_list is defined and route.next_hop.next_hop_list %} | ||
type: object | ||
required: | ||
- next_hop_list | ||
properties: | ||
next_hop_list: | ||
type: object | ||
required: | ||
{% for next_hop in route.next_hop.next_hop_list %} | ||
- "{{ next_hop.index }}" | ||
{% endfor %} | ||
properties: | ||
{% for next_hop in route.next_hop.next_hop_list %} | ||
"{{ next_hop.index }}": | ||
type: object | ||
required: | ||
- index | ||
- next_hop | ||
{% if next_hop.outgoing_interface is defined and next_hop.outgoing_interface %} | ||
- outgoing_interface | ||
{% endif %} | ||
properties: | ||
index: | ||
type: integer | ||
const: {{ next_hop.index }} | ||
next_hop: | ||
type: string | ||
const: {{ next_hop.next_hop }} | ||
{% if next_hop.outgoing_interface is defined and next_hop.outgoing_interface %} | ||
outgoing_interface: | ||
type: string | ||
const: {{ next_hop.outgoing_interface }} | ||
{% endif %} | ||
{% endfor %} | ||
{% endif %} | ||
{% if route.next_hop.outgoing_interface is defined and route.next_hop.outgoing_interface %} | ||
type: object | ||
required: | ||
- outgoing_interface | ||
properties: | ||
outgoing_interface: | ||
type: object | ||
required: | ||
- {{ route.next_hop.outgoing_interface }} | ||
{% endif %} | ||
{% endif %} | ||
{% if route.source_protocol is defined and route.source_protocol %} | ||
source_protocol: | ||
type: string | ||
const: {{ route.source_protocol }} | ||
{% endif %} | ||
{% endfor %} |