Skip to content

Conversation

@chrisvanheuveln
Copy link
Contributor

  • rd needs nv overlay evpn to expose cli
  • nexus does not support nsr
  • added a common method to check for attrs that are excluded from cmd_ref
    • cmd_ref.lookup returns type UnsupportedCmdRef

* `rd` needs `nv overlay evpn` to expose cli
* nexus does not support nsr
* added a common method to check for attrs that are excluded from cmd_ref
  * `cmd_ref.lookup` returns type `UnsupportedCmdRef`
Gem::Version.new(lim) < Gem::Version.new(ver)
end

def skip_if_UnsupportedCmdRef(feature_name, attribute_name) # rubocop:disable Style/MethodName
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a nice addition.

end

def test_nsr
skip_if_UnsupportedCmdRef('bgp', 'nsr')
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like the nsr stuff was added by the XR team when they were still doing puppet. I see that NSR is supported for OSPFv2 on Nexus but there is no mention of BGP. Did you find documentation that states it's not supported for BGP or is it the absence of the CLI?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Neither. Our yaml excludes it so I added this check to obey the yaml. (sushirol exluded it from nexus when he added the attr)

@chrisvanheuveln chrisvanheuveln merged commit 7be1a20 into develop Feb 6, 2019
@chrisvanheuveln chrisvanheuveln deleted the cvh_triage_2 branch February 8, 2019 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants