YANG Compilation error

Dear Team,

I am trying to add a new leaf but getting error as “error: bad argument value “XmlProxyPort”, should be of type identifier” I have simply added a leaf, all other added leaves are working fine.

      leaf XmlProxyPort {
            tailf:info "Xml Proxy Port";
            type uint16;
            config false;
            description "XML Interface proxy Port used for proxy communication of xml messages to SNE from DNA/GNM";

Please help to get it resolved


The error message from confdc is indicating that the name being assigned to the leaf is invalid. If you rename it as something that doesn’t start with Xml, then it will work.