Hi,

According to RFC6020 a leafref within a union is not allowed. This issue is
captured by Y30 of the yang1.1 issue list.

My question: how can such a construct as show below be modeled conforming to
RFC6020?

    leaf the_reference {type uint8;}
    leaf something {
        type union {
            type leafref {
                path "../the_reference";
            }
            type enumeration {
                enum "none";
                enum "something-else";
            }
        }
    }

Has anyone any ideas or can someone provide me a pointer if this has been
discussed already?

Thanks,
Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to