summaryrefslogtreecommitdiffstats
path: root/ioam/api/src/main/yang/ioam-sb-export.yang
blob: f04028a3834dd3c6e94752b91f0aee43268328c8 (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;

  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
      "";
  }

  import ietf-inet-types {
    prefix inet;
  }

  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;
    }
  }
}