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

Binding Specification: Constructor arguments do not preserve statement order as defined in YANG

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Resolution: Won't Do
    • None
    • None
    • Binding V2 codegen
    • None
    • Operating System: All
      Platform: All

    Description

      In Current Binding Specification v1 constructor for list key
      does not take arguments in order specified in YANG key statement, but rather in alphabetical order.

      This could be considered design bug, since several other drafts / specifications
      requires key values to be presented in same order as in yang model.

      Also YANG language requires for RPC element to be present in same order
      as in YANG model, so removing alphabetically sorted elements in favor
      of elements sorted as present in YANG model will provide easier understanding
      of Java Bidning and its mapping to YANG.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              tony.tkacik@gmail.com Tony Tkacik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: