openconfig / public

Repository for publishing OpenConfig models, documentation, and other material for the community.
Apache License 2.0
888 stars 644 forks source link

Canonical format for integer numbers #93

Open mjethanandani opened 6 years ago

mjethanandani commented 6 years ago

Currently in YANG, the canonical form for integers is decimal numbers. It would be nice, but currently, integer numbers cannot be expressed in hexadecimal format. If hexadecimal format is desired, rather than declaring ethertype-type as uint16 and suggesting that the value can be expected in hex notation, why not make it a string that can expect a pattern of '0x[0-9a-fA-F]*'?

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 180 days with no activity. If you wish to keep this issue active, please remove the stale label or add a comment, otherwise will be closed in 14 days.

mahesh-arrcus commented 2 months ago

Has this issue been addressed?

mjethanandani commented 2 months ago

Has this issue been addressed?