On Thu, Dec 15, 2016 at 04:31:10PM +0100, Martin Bjorklund wrote: > > Looking at the YANG fragment, I am also not sure how useful it is to > > carry the 32 'something' restriction forward. Note that 32 means > > unicode characters in YANG but space of the UTF-8 encoding of > > characters for SMIv2 (since it all ends up being a restriction for the > > OCTET STRING). Perhaps this deserves a feature, namely, whether an > > implementation supports flexible names or restricts names according to > > the SMIv2 ENTITY-MIB rules. > > Hmm, this cannot easily be done with a YANG feature, but maybe we can > simply change these strings to unrestricted strings, and then state > that a server MAY impose additional restrictions on valid values?
Yes, I would go towards less restrictions in general with a caveat that systems implementing a direct mapping to the ENTITY-MIB MAY impose additional length restrictions on valid values. /js -- Juergen Schoenwaelder Jacobs University Bremen gGmbH Phone: +49 421 200 3587 Campus Ring 1 | 28759 Bremen | Germany Fax: +49 421 200 3103 <http://www.jacobs-university.de/> _______________________________________________ netmod mailing list [email protected] https://www.ietf.org/mailman/listinfo/netmod
