• This project
    • Loading...
  • Sign in

홍길동 / onos

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • onos
  • utils
  • yangutils
  • src
  • test
  • resources
  • ValidSameGroupingEntryInModuleAndCont...
  • Gaurav Agrawal's avatar
    [ONOS-3894, 4071] YANG Advanced Construct Union & Grouping · bd804470 ...
    bd804470
    Change-Id: I0f828adb5884c2d7b6e4120f9843c416608ae5e7
    Gaurav Agrawal authored 2016-03-25 15:44:38 +0000
ValidSameGroupingEntryInModuleAndContainer.yang 441 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
module Test {
    yang-version 1;
    namespace http://huawei.com;
    prefix Ant;
    grouping endpoint {
        leaf address {
            type ip-address;
        }
    leaf port {
        type port-number;
        }
    }
    container valid {
        grouping endpoint {
            leaf address {
                type ip-address;
            }
            leaf port {
                type port-number;
            }
        }
    }
}