Skip to content
Open
Show file tree
Hide file tree
Changes from 6 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
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
OVERLAY_MODE: cli
GRFIELD_DEBUG_FLAG: Enable
ENABLE_PVLAN: false
AAA_REMOTE_IP_ENABLED: False
AAA_REMOTE_IP_ENABLED: {{ vxlan.global.ibgp.enable_aaa_remote_ip | default(defaults.vxlan.global.ibgp.enable_aaa_remote_ip) }}
TCAM_ALLOCATION: {{ vxlan.global.ibgp.tcam_allocation | default(defaults.vxlan.global.ibgp.tcam_allocation) }}
{% if not (vxlan.underlay.general.enable_ipv6_underlay | default(defaults.vxlan.underlay.general.enable_ipv6_underlay) | ansible.builtin.bool) %}
FEATURE_PTP: {{ vxlan.global.ptp.enable | default(defaults.vxlan.global.ptp.enable) }}
Expand Down Expand Up @@ -41,3 +41,10 @@
STP_BRIDGE_PRIORITY: {{ vxlan.global.spanning_tree.bridge_priority | default(defaults.vxlan.global.spanning_tree.bridge_priority) }}
{% endif %}
{% endif %}
POWER_REDUNDANCY_MODE: {{ vxlan.global.ibgp.power_redundancy | default(defaults.vxlan.global.ibgp.power_redundancy) }}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do these also need to be considered for other fabric types?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Power could be also in External, ISN or eBGP, but currently only updated for VxLAN_EVPN

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's enable this in the other fabric types where applicable

COPP_POLICY: {{ vxlan.global.ibgp.copp_policy | default(defaults.vxlan.global.ibgp.copp_policy) }}
HD_TIME: {{ vxlan.global.ibgp.vtep_holddown_time | default(defaults.vxlan.global.ibgp.vtep_holddown_time) }}
ENABLE_NGOAM: {{ vxlan.global.ibgp.enable_ngoam | default(defaults.vxlan.global.ibgp.enable_ngoam) }}
ENABLE_TENANT_DHCP: {{ vxlan.global.ibgp.enable_tenant_dhcp | default(defaults.vxlan.global.ibgp.enable_tenant_dhcp) }}
STRICT_CC_MODE: {{ vxlan.global.ibgp.strict_config_compliance | default(defaults.vxlan.global.ibgp.strict_config_compliance) }}
ENABLE_DEFAULT_QUEUING_POLICY: {{ vxlan.global.ibgp.enable_default_queuing_policy | default(defaults.vxlan.global.ibgp.enable_default_queuing_policy) }}
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,6 @@
{% set l3_vlan_range = defaults.vxlan.global.layer3_vlan_range.from ~ '-' ~ defaults.vxlan.global.layer3_vlan_range.to %}
{% endif %}
VRF_VLAN_RANGE: {{ l3_vlan_range }}
AUTO_UNIQUE_VRF_LITE_IP_PREFIX: {{ vxlan.global.ibgp.auto_unique_vrflite_ip_prefix | default(defaults.vxlan.global.ibgp.auto_unique_vrflite_ip_prefix) }}
PER_VRF_LOOPBACK_AUTO_PROVISION: {{ vxlan.global.ibgp.per_vrf_loopback_v4_auto_provision | default(defaults.vxlan.global.ibgp.per_vrf_loopback_v4_auto_provision) }}
SUBINTERFACE_RANGE: {{ vxlan.global.ibgp.sub_int_range | default(defaults.vxlan.global.ibgp.sub_int_range) }}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same question here about other fabric types

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also available on external and ISN, with eBGP I think it's also present in General instead of resources

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's enable this in the other fabric types where applicable

11 changes: 11 additions & 0 deletions roles/validate/files/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,17 @@ factory_defaults:
leaf_same_bgp_asn: false
ibgp:
tcam_allocation: true
power_redundancy: ps-redundant
copp_policy: strict
vtep_holddown_time: 180
enable_ngoam: true
enable_tenant_dhcp: true
strict_config_compliance: false
enable_aaa_remote_ip: false
enable_default_queuing_policy: false
sub_int_range: 2-511
auto_unique_vrflite_ip_prefix: false
per_vrf_loopback_v4_auto_provision: false
route_reflectors: 2
anycast_gateway_mac: 20:20:00:00:00:aa
auth_proto: MD5
Expand Down