Skip to content

Commit 976b201

Browse files
author
sai chintalapudi
committed
fixes for n7k failures
1 parent 2d3bd07 commit 976b201

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

lib/cisco_node_utils/bridge_domain.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def default_bd_name
144144
# This type property can be defined only for one bd
145145
def fabric_control
146146
match = config_get('bridge_domain', 'fabric_control', bd: @bd_ids)
147-
match == @bd_ids ? true : false
147+
match.to_s == @bd_ids ? true : false
148148
end
149149

150150
def fabric_control=(val)

lib/cisco_node_utils/cmd_ref/fabricpath.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ loadbalance_multicast_has_vlan:
8282
_exclude: [N5k, N6k]
8383
kind: boolean
8484
auto_default: false
85-
get_command: "show fabricpath load-balance | begin Ftag"
85+
get_command: "show fabricpath load-balance | begin ignore-case Ftag"
8686
get_value: '/^Use VLAN: TRUE/'
8787
default_value: true
8888

@@ -93,7 +93,7 @@ loadbalance_multicast_reset:
9393
loadbalance_multicast_rotate:
9494
_exclude: [N5k, N6k]
9595
kind: int
96-
get_command: "show fabricpath load-balance | begin Ftag"
96+
get_command: "show fabricpath load-balance | begin ignore-case Ftag"
9797
get_value: '/^Rotate amount: (\d+)/'
9898
# default_value: n/a. The default rotate amount is randomized to avoid polarization.
9999

lib/cisco_node_utils/cmd_ref/snmp_server.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ packet_size:
6262
# the n3|9k behavior when the issue is resolved.
6363
default_value: 0
6464
N6k: *n5k_default_packet_size
65-
N7k: *n5k_default_packet_size
65+
# On recent versions, packet size is fixed,
66+
# so this change will take care of the fix but
67+
# it could still fail in the older versions.
68+
N7k: *n3k_default_packet_size
6669
# On recent versions, packet size is fixed,
6770
# so this change will take care of the fix but
6871
# it could still fail in the older versions.

0 commit comments

Comments
 (0)