+++ /dev/null
-module test-operation-service {
- yang-version 1.1;
- namespace "urn:test:operation";
- prefix "operation";
-
- revision "2017-06-21" {
- description
- "Initial revision";
- }
-
- container my-cont {
- action in-cont {
- input {
- leaf input-leaf {
- type string;
- }
- }
-
- output {
- leaf output-leaf {
- type string;
- }
- }
- }
-
- action in-cont2 {
- input {
- leaf input-leaf {
- type string;
- }
- }
-
- output {
- leaf output-leaf {
- type string;
- }
- }
- }
- }
-
- list my-list {
- key "name";
-
- leaf name {
- type string;
- }
-
- action in-list {
- input {
- leaf input-list-leaf {
- type string;
- }
- }
-
- output {
- leaf output-list-leaf {
- type string;
- }
- }
- }
- }
-
- rpc my-rpc {
- input {
- leaf rpc-input-leaf {
- type string;
- }
- }
-
- output {
- leaf rpc-output-leaf {
- type string;
- }
- }
- }
-}