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

Special chars like "*" cannot be processed in enums

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      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.";
      }

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: