Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Hi Team,I’m trying to better understand the following:how to use MAAPI functions inside cb_create within service packages, how to define maapi object/session..etc with the existing parameters NCS is passing when the functions is called. I cannot seem...
Dan, thanks so much for your help! Below is how we made it work:instead of
m = ncs.maagic.get_maapi(root)
t = m.attach(tctx)
t.shared_copy_tree('/ncs:devices/device{%s}/config/cisco-ios-xr:class-map{%s}' % (srcPE, currentClass), '/ncs:devices/device{...
Hi Dan,With copy_tree I can deploy the service and see the class-map in my example being copied from xr0 to xr1, however when I delete the service, it's doesn't remove the class-map from xr1. That's why I thought I need to use shared_copy_tree, as in...
But this says otherwisehttp://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/asr9k_r5-3/routing/configuration/guide/b_routing_cg53xasr9k/b_routing_cg53xasr9k_chapter_0100.html#ID567 "As configured CoS values in ethernet headers may not be ret...