Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions partition/roles/mgmt-server/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
fail_msg: "not all mandatory variables given, check role documentation"
quiet: true
that:
- mgmt_server_asn is not none
- mgmt_server_router_id is not none
- mgmt_server_spine_facing_interface is not none
- mgmt_server_metal_ssh_privkey is not none
- mgmt_server_metal_ssh_pubkey is not none
- mgmt_server_asn is defined and mgmt_server_asn is not none
- mgmt_server_router_id is defined and mgmt_server_router_id is not none
- mgmt_server_spine_facing_interface is defined and mgmt_server_spine_facing_interface is not none
- mgmt_server_metal_ssh_privkey is defined and mgmt_server_metal_ssh_privkey is not none
- mgmt_server_metal_ssh_pubkey is defined and mgmt_server_metal_ssh_pubkey is not none

- name: Gather package facts
ansible.builtin.package_facts:
Expand Down
2 changes: 1 addition & 1 deletion partition/roles/mgmt-server/templates/frr.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interface {{ mgmt_server_spine_facing_interface }}
no ipv6 nd suppress-ra
!
router bgp {{ mgmt_server_asn }}
bgp router-id {{ mgmt_server_routerid }}
bgp router-id {{ mgmt_server_router_id }}
bgp bestpath as-path multipath-relax
bgp network import-check
neighbor FABRIC peer-group
Expand Down
Loading