Interface OpendaylightMdsalListTestData

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.DataRoot

    public interface OpendaylightMdsalListTestData
    extends org.opendaylight.yangtools.yang.binding.DataRoot
    This module contains a collection of YANG definitions used for some test cases.

    This class represents the following YANG schema fragment defined in module opendaylight-mdsal-list-test

     module opendaylight-mdsal-list-test {
       namespace urn:opendaylight:params:xml:ns:yang:controller:md:sal:test:list;
       prefix list-test;
       revision 2014-07-01 {
       }
       grouping two-level-list {
         list top-level-list {
           key name;
           leaf name {
             type string;
           }
           list nested-list {
             key name;
             leaf name {
               type string;
             }
             leaf type {
               type string;
             }
             ordered-by user;
           }
         }
       }
       container top {
         uses two-level-list;
       }
       notification two-level-list-changed {
         uses two-level-list;
       }
       rpc put-top {
         input input {
           uses two-level-list;
         }
       }
       rpc get-top {
         output output {
           uses two-level-list;
         }
       }
     }
     
    • Method Detail

      • getTop

        @Nullable Top getTop()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.test.list.rev140701.Top top, or null if not present