Commit 189f598 1 parent 400fd00 commit 189f598 Copy full SHA for 189f598
File tree 1 file changed +0
-11
lines changed
1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -114,17 +114,6 @@ def multi_asic_display_default_option():
114
114
]
115
115
116
116
def multi_asic_namespace_validation_callback (ctx , param , value ):
117
- # TODO: this condition has a bug: it should be either "multi_asic.is_multi_asic()"
118
- # or "self.is_multi_asic", but changing it to correct version will lead to the
119
- # following cli not working on single-asic:
120
- # show ip(v6) bgp neighbors/network, show storm_control add/del
121
- # e.g.
122
- # admin@str2-7050cx3-acs-02:/usr$ show ip bgp neighbor -n asic0
123
- # -n/--namespace is not available for single asic
124
- # Aborted!
125
- # admin@str2-7050cx3-acs-02:/usr$ show ip bgp neighbor
126
- # -n/--namespace is not available for single asic
127
- # Aborted!
128
117
if not multi_asic .is_multi_asic :
129
118
click .echo ("-n/--namespace is not available for single asic" )
130
119
ctx .abort ()
You can’t perform that action at this time.
0 commit comments