Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-216

generated interface from "container" in "case" does not extend ChildOf interface

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: Windows
      Platform: PC

    • 1377

    Description

      It is not possible to use "container" which is located underneath "case" in InstanceIdentifierBuilder.child(<N extends ChildOf<? super T>> container) because generated interface from "container" does not extend ChildOf interface.

      Example:
      opendaylight-action-types.yang

      grouping action {
      choice action {
      case output-action-case {
      container output-action

      { ... }

      }
      }
      }

      generated interface from output-action-case is
      public interface OutputAction
      extends
      DataObject,
      Augmentable<org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.action.output.action._case.OutputAction>

      Attachments

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

        Activity

          People

            mvitez@cisco.com Martin Vitez
            msunal@cisco.com Martin Sunal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: