11-04-2018 04:46 PM
Hi,
where can I find a sample implementation of yang and mapping logic for displaying out of "show ip bgp summ" on a cisco-nx device?
thanks,
Kerim
Solved! Go to Solution.
11-05-2018 11:20 PM - edited 11-06-2018 02:30 AM
Ive built a small example package that uess reactive FASTMAP and live-status exec to do service selftests like you want. You can find it here https://github.com/NSO-developer/selftest
11-05-2018 01:45 AM
I'm pretty sure there is no such example.
Did a quick check now, and ip bgp summary seems not to be included in the latest CLI NED. Is that what you are using? If you want this status to be included in the NED, you need to file a ticket requesting it to be added.
If you are using a NETCONF NED, this may already be covered, not sure. Feel free to share your YANG with me.
11-05-2018 11:26 AM
11-05-2018 11:30 AM
Yeah, I checked the nexus yang model for device state (out put of show commands) too...I couldn't find something to model "show ip bgp summary" for. But it will help me understand the concept, if you can point me how one leverages the oprational(state) yang model to display states...say "show interface status"....
thanks
11-05-2018 11:20 PM - edited 11-06-2018 02:30 AM
Ive built a small example package that uess reactive FASTMAP and live-status exec to do service selftests like you want. You can find it here https://github.com/NSO-developer/selftest
11-06-2018 11:59 AM
thanks hniska! do you happen to have or point me where I could find similar implementation in Java? not a big deal if you couldn't find one, I think can make sense out of the python code. Just more familiar with java
11-14-2018 03:57 AM
Hi!
Nope, no java implementation that I know of. But maybe this is the thing that will make you switch over to Python, at least for NSO projects :)
03-03-2019 02:20 PM
Thanks...Yeah I am working on it(python)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide