On Mon, Aug 13, 2018 at 02:29:37PM -0400, Warren Kumari wrote:
> Seriously, 6 different ways to notate a MAC address...
> Nope, this isn't actionable, but thank you for letting me vent!

TBH, RFC 6021:
typedef mac-address {
     type string {
       pattern '[0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}';
     }
     description
      "The mac-address type represents an IEEE 802 MAC address.
       The canonical representation uses lowercase characters.

       In the value set and its semantics, this type is equivalent
       to the MacAddress textual convention of the SMIv2.";
     reference
      "IEEE 802: IEEE Standard for Local and Metropolitan Area
                 Networks: Overview and Architecture
       RFC 2579: Textual Conventions for SMIv2";
   }

So, the fix is to use a cli one step closer to yang. :-)


-- Jeff

_______________________________________________
GROW mailing list
GROW@ietf.org
https://www.ietf.org/mailman/listinfo/grow

Reply via email to