Hi,
Would like to know, is there any way of getting only the keys or composite keys from NSO by using REST. I do not want get the full instancedata(above 3000 lines) from NSO, instead want to get only the keys List which is available in NSO.
E.g:
list XXXInterfaceService {
key "node-name connection-type peer-node-name interface-connection-number";
uses ncs:service-data;
ncs:servicepoint XXXInterfaceService-servicepoint;
leaf node-name {
type string;
mandatory true;
}
leaf peer-node-name {
type string;
mandatory true;
}
leaf interface-connection-number {
type enumeration {
enum "1";
enum "2";
enum "3";
enum "4";
}
mandatory true;
}
leaf connection-type {
type leafref {
path "XXXX";
}
mandatory true;
}
.............................
..........................
}
Here is the sample YANG that i use but when this service exists in NSO, i Want to get only the composite keys(node-name connection-type peer-node-name interface-connection-number) from NB API.