aboutsummaryrefslogtreecommitdiffstats
path: root/sdnr/northbound/oofpcipoc/model/src/main/yang/oofpcipoc-api.yang
blob: a6880909e0b9333ce1ef4d06231e632cd08c5c9c (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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
module oofpcipoc-api {
    yang-version "1.1";
    namespace "org:onap:ccsdk";
    prefix "oofpcipoc-api";

  import oofpcipoc {
    prefix oofpcipoc;
    revision-date "2019-03-08";
  }

  organization
    "ONAP";
  contact
    "Editors:  Sandeep Shah <mailto:sandeep.shah2@techmahindra.com> Martin Skorupski <mailto:martin.skorupski@highstreet-technologies.com> ";

  description
    "This module contains a collection of YANG definitions for managing radio access network (RAN) devices.";

  revision 2019-03-08 {
    description
      "Added new API's to support ANR use case";
    reference
      "";
  }

  revision 2018-11-27 {
    description
      "oofpcipoc api definition ";
    reference
      "";
  }


  rpc greeting {
    description
      "For testing";
  input {
    leaf salutation {
      type string;
    description
      "salutation";
    }
  }
  output {
    leaf response {
      type string;
    description
      "Hello response";
      }
    }
  }

  rpc configuration-phy-cell-id {
    description
      "Configure PCI value of a specific cell in Radio Access Network (RAN)";
    input {
      uses oofpcipoc:configuration-phy-cell-id-request;
    }
    output {
      uses oofpcipoc:oofpcipoc-rpc-response;
    }
  }

  rpc generic-neighbor-configuration {
    description
      "Configure properties of a neighbor of a cell";
    input {
      uses oofpcipoc:generic-neighbor-configuration-request;
    }
    output {
      uses oofpcipoc:oofpcipoc-rpc-response;
    }
  }

  rpc add-neighbor {
    description
      "Add a neighbor (or neighbors) to a specific cell";
    input {
      uses oofpcipoc:add-neighbor-request;
    }
    output {
      uses oofpcipoc:oofpcipoc-rpc-response;
    }
  }

  rpc delete-neighbor {
    description
      "Delete a neighbor (or neighbors) of a specific cell";
    input {
      uses oofpcipoc:delete-neighbor-request;
    }
    output {
      uses oofpcipoc:oofpcipoc-rpc-response;
    }
  }

  rpc handle-nbrlist-change-notif {
    description
      "Handle nbrlist-change-notification: update configDB & publish DMAAP message";
    input {
      uses oofpcipoc:handle-nbrlist-change-notif-request;
    }
    output {
      uses oofpcipoc:oofpcipoc-rpc-response;
    }
  }
}