aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/yang/openconfig/openconfig-probes-types.yang
blob: 0b4e1bd72b5a3f9a7500f6d96fe99acdaa1de324 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
module openconfig-probes-types {

  yang-version "1";

  // namespace
  namespace "http://openconfig.net/yang/probes/types";

  prefix "oc-probes-types";

  // import some basic types
  import openconfig-extensions { prefix oc-ext; }

  // meta
  organization "OpenConfig working group";

  contact
    "OpenConfig working group
    www.openconfig.net";

  description
    "This module defines types related to the probes.";

  oc-ext:openconfig-version "0.1.0";

  revision "2017-09-05" {
    description
      "Initial public revision";
    reference "0.1.0";
  }

  typedef test-type {
    type enumeration {
      enum ICMP {
        description
          "Send ICMP echo requests.";
      }
      enum ICMP6 {
        description
          "Send ICMP6 echo requests.";
      }
      enum ICMP_TIMESTAMP {
        description
          "Send ICMP timestamp requests.";
      }
      enum ICMP6_TIMESTAMP {
        description
          "Sedn ICMP6 timestamp requests.";
      }
      enum TCP {
        description
          "Send TPC packets.";
      }
      enum UDP {
        description
          "Send UDP packets.";
      }
      enum UDP_TIMESTAMP {
        description
          "Send UDP packets with timestamp.";
      }
      enum HTTP_GET {
        description
          "Execute HTTP GET requests.";
      }
      enum HTTP_GET_META {
        description
          "Execute HTTP GET requests of metadata.";
      }
    }
    description
      "Type definition with enumerations describing the basis of
      the probe test type identifier";
  }

}