Hi,
I have the following schema:
eci-srtp-aps-aug.yang
module eci-srtp-aps-aug {
yang-version 1.1;
namespace "urn:eci:params:xml:ns:yang:eci-srtp-aps-aug";
prefix "eci-srtp-aps-aug";
....
/* augmentation */
augment "/te:te/te:tunnels/te:tunnel" {
container config-aps {
uses srtp-aps-protocol;
container actions {
uses eci-aps:aps-actions;
}
}
container state-aps {
config false;
uses eci-aps:aps-state;
}
}
> eci-aps.yang
grouping aps-actions {
action manual-switch-working {
//tailf:actionpoint "apsactionpoint"; < Need this in the annotate file below>
description
"A switch action initiated by an operator command.
It switches normal traffic signal to the working
transport entity.";
reference "ITU-T G.808.1";
}
**
> eci-srtp-aps-ann.yang
**
module eci-srtp-aps-ann {
namespace "urn:eci-srtp-aps-ann";
prefix eci-srtp-aps-ann;
import tailf-common { prefix tailf; }
import ietf-te { prefix te; }
import eci-aps { prefix eci-aps; }
import eci-srtp-aps-aug { prefix eci-srtp-aps-aug; }
tailf:annotate "/te:te/te:tunnels/te:tunnel/eci-srtp-aps-aug:config-aps" {
tailf:callpoint SrtpAps { } <This Works>
}
tailf:annotate "/te:te/te:tunnels/te:tunnel/eci-srtp-aps-aug:config-aps/eci-srtp-aps-aug:actions/eci-aps:manual-switch-working" {
tailf:actionpoint "manualapsactionpoint"; <This does not work>
}
}
Please look at the above files and provide some insight on how I can add actionpoint in my annotate file. Added comments in the Yang file on what is working/not-working.