Zdravko Bozakov | 2da7634 | 2019-10-21 09:47:35 +0200 | [diff] [blame] | 1 | # Copyright 2018-present Open Networking Foundation |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | type: google.api.Service |
| 16 | config_version: 3 |
| 17 | |
| 18 | http: |
| 19 | rules: |
| 20 | - selector: bbsim.BBSim.Version |
| 21 | get: "/v1/version" |
| 22 | - selector: bbsim.BBSim.GetOlt |
| 23 | get: "/v1/olt" |
| 24 | additional_bindings: |
| 25 | - get: "/v1/olt/status" |
| 26 | - selector: bbsim.BBSim.GetONUs |
| 27 | get: "/v1/olt/onus" |
| 28 | - selector: bbsim.BBSim.GetONU |
| 29 | get: "/v1/olt/onus/{SerialNumber}" |
Pragya Arya | 1cbefa4 | 2020-01-13 12:15:29 +0530 | [diff] [blame] | 30 | - selector: bbsim.BBSim.ShutdownONU |
| 31 | delete: "/v1/olt/onus/{SerialNumber}" |
| 32 | - selector: bbsim.BBSim.PoweronONU |
| 33 | post: "/v1/olt/onus/{SerialNumber}" |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame^] | 34 | - selector: bbsim.BBSim.SetOnuAlarmIndication |
Pragya Arya | 694ece0 | 2020-02-07 13:03:47 +0530 | [diff] [blame] | 35 | post: "/v1/olt/onus/{SerialNumber}/alarms/{AlarmType}/{Status}" |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 36 | - selector: bbsim.BBSim.GetOnuTrafficSchedulers |
| 37 | get: "/v1/olt/onus/{SerialNumber}/trafficschedulers" |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame^] | 38 | - selector: bbsim.BBSim.SetOltAlarmIndication |
| 39 | post: "/v1/olt/ports/{InterfaceType}/{InterfaceID}/alarms/los/{Status}" |