summaryrefslogtreecommitdiffstats
path: root/ioam/api/src/main/yang/ioam-sb-export@2017-02-06.yang
blob: af8a42bd61065ea41626589a99b61d3ebe950d18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
module ioam-sb-export {

  yang-version 1;

  namespace "urn:cisco:params:xml:ns:yang:ioam-sb-export";

  prefix ioam-sb-export;

  import ietf-inet-types {
    prefix inet;
  }

  organization "Cisco Systems, Inc.";
  contact
    "Shwetha Bhandari <shwethab@cisco.com>
     Sagar Srivastav <sagsriva@cisco.com>";

  description
    "This module contains a collection of YANG definitions for
     managing in-band OAM based export
     parameters.";

  revision 2017-02-06 {
    description
      "set source and collector addresses as mandatory";
    reference
      "";
  }

  container ioam-export {

    leaf disable {
       type boolean;
    }

    leaf collector-address {
        mandatory true;
        type inet:ipv4-address;
    }

    leaf source-address {
        mandatory true;
        type inet:ipv4-address;
    }
  }
}