Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-333

Special chars like "*" cannot be processed in enums

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Medium Medium
    • None
    • None
    • None
    • None

      if an enum is generated from yang model that contains only a special character like "*" it fails to create working class for this enum.

      as in https://tools.ietf.org/html/rfc8294 :
      typedef ipv4-multicast-source-address {
      type union {
      type enumeration {
      enum *

      { description "Any source address."; }

      }
      type inet:ipv4-address;
      }
      description
      "Multicast source IPv4 address type.";
      }

            Unassigned Unassigned
            mcmarada Michal Cmarada
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: