cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
85
Views
0
Helpful
0
Replies
Cisco Employee

How to delete specific node using JNC

Hi all i am using JNC to manage device . Trying to delete specific node on basis of node value which is key to list .

I am trying to use markdelete(Str Path) to delete my node but node able to get correct path for my node with node-name value as getting path error . Need help over it .

 

trying to mark : oxcdata.markDelete("/services/oxc/connection-name ='Test'");

getting element like 

 

[Element{name=oxc, ns=http://cisco.com/yang/svo/xconnect, attrs=[xmlns="http://cisco.com/yang/svo/xconnect], children=[connection-name, oxc-type, admin-state, central-frequency, allocation-width, signal-width, path1, path], path=/services/oxc}, Element{name=oxc, ns=http://cisco.com/yang/svo/xconnect, attrs=[xmlns="http://cisco.com/yang/svo/xconnect], children=[connection-name, oxc-type, admin-state, central-frequency, allocation-width, signal-width, path1, path], path=/services/oxc}]

 

 

 

 

Content for Community-Ad
August's Community Spotlight Awards
This widget could not be displayed.