I want to do annotation for my action,whether it is possible

example:

container cong {
list server {
key MId;
leaf MId {
type string;
}
tailf:action reset {
tailf:actionpoint reboot-point;
input {
leaf test1 {
type string;
mandatory true;
}
leaf test2 {
type string;
mandatory true;
}
}
output {}
}
}
}

i want to do annotation like this

tailf:annotate /cong/server/reset/test1 {
tailf:altname “some”;
}

Yes you can annotate actions.

Example:

module dhcp-ann {
  namespace "urn:dummy";
  prefix dummy;
  import tailf-common {
    prefix tailf;
  }
  import dhcp {
    prefix x;
  }
  description
    "Annotation module for the generated dhcp YANG module";
  tailf:annotate "/x:dhcp" {
    tailf:cdb-oper;
  }
  tailf:annotate "/x:dhcp/x:set-clock" {
    tailf:alt-name some_name;
  }
}