Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-639

Netconf can confuse action definitions when they have equal name

XMLWordPrintable

      Attempting to invoke actions on the following model:

       

      module conflict {
        yang-version 1.1;
        namespace "whatever";
       
        container foo {
           action xyzzy {
             input {
               leaf foo {
                 type string;
               }
             }
           }
         }
      
         list bar {
           action xyzzy {
             input {
               leaf bar {
                 type int8;
               }
             }
           } 
         }
      }
      

      will not reliably, because NetconfMessageTransformer is using only the action name to find the definition – hence it will confuse the two definitions.

       

            apuchyova Anna Bencúrová
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: