Joey Armstrong | 2ff3a76 | 2024-04-16 18:03:56 -0400 | [diff] [blame^] | 1 | --- |
| 2 | |
| 3 | type: google.api.Service |
| 4 | config_version: 3 |
| 5 | |
| 6 | http: |
| 7 | rules: |
| 8 | - selector: bbsim.BBSim.Version |
| 9 | get: "/v1/version" |
| 10 | - selector: bbsim.BBSim.GetOlt |
| 11 | get: "/v1/olt" |
| 12 | additional_bindings: |
| 13 | - get: "/v1/olt/status" |
| 14 | - selector: bbsim.BBSim.RebootOlt |
| 15 | post: "/v1/olt/reboot" |
| 16 | |
| 17 | - selector: bbsim.BBSim.GetONUs |
| 18 | get: "/v1/olt/onus" |
| 19 | - selector: bbsim.BBSim.GetONU |
| 20 | get: "/v1/olt/onus/{SerialNumber}" |
| 21 | |
| 22 | - selector: bbsim.BBSim.ShutdownONU |
| 23 | delete: "/v1/olt/onus/{SerialNumber}" |
| 24 | - selector: bbsim.BBSim.ShutdownONUsOnPON |
| 25 | delete: "/v1/olt/port/{PonPortId}/onus" |
| 26 | - selector: bbsim.BBSim.ShutdownAllONUs |
| 27 | delete: "/v1/olt/onus" |
| 28 | |
| 29 | - selector: bbsim.BBSim.PoweronONU |
| 30 | post: "/v1/olt/onus/{SerialNumber}" |
| 31 | - selector: bbsim.BBSim.PoweronONUsOnPON |
| 32 | post: "/v1/olt/port/{PonPortId}/onus" |
| 33 | - selector: bbsim.BBSim.PoweronAllONUs |
| 34 | post: "/v1/olt/onus" |
| 35 | |
| 36 | - selector: bbsim.BBSim.GetFlows |
| 37 | get: "/v1/olt/onus/{SerialNumber}/flows" |
| 38 | additional_bindings: |
| 39 | - get: "/v1/olt/flows" |
| 40 | - selector: bbsim.BBSim.GetOnuTrafficSchedulers |
| 41 | get: "/v1/olt/onus/{SerialNumber}/trafficschedulers" |
| 42 | |
| 43 | - selector: bbsim.BBSim.RestartEapol |
| 44 | post: "/v1/olt/onus/{OnuSerialNumber}/eapol" |
| 45 | - selector: bbsim.BBSim.RestartDhcp |
| 46 | post: "/v1/olt/onus/{OnuSerialNumber}/dhcp" |
| 47 | - selector: bbsim.BBSim.ChangeIgmpState |
| 48 | post: > |
| 49 | "/v1/olt/onus/{OnuSerialNumber}/{UniID}/igmp/{SubActionVal}/{GroupAddress}/{VLAN}" |
| 50 | |
| 51 | |
| 52 | - selector: bbsim.BBSim.SetOnuAlarmIndication |
| 53 | post: "/v1/olt/onus/{SerialNumber}/alarms/{AlarmType}/{Status}" |
| 54 | - selector: bbsim.BBSim.SetOltAlarmIndication |
| 55 | post: "/v1/olt/ports/{InterfaceType}/{InterfaceID}/alarms/los/{Status}" |
| 56 | |
| 57 | # ----------------------------------------------------------------------- |
| 58 | # Copyright 2018-2024 Open Networking Foundation Contributors |
Zdravko Bozakov | 2da7634 | 2019-10-21 09:47:35 +0200 | [diff] [blame] | 59 | # |
| 60 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 61 | # you may not use this file except in compliance with the License. |
| 62 | # You may obtain a copy of the License at |
| 63 | # |
| 64 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 65 | # |
| 66 | # Unless required by applicable law or agreed to in writing, software |
| 67 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 68 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 69 | # See the License for the specific language governing permissions and |
| 70 | # limitations under the License. |
Joey Armstrong | 2ff3a76 | 2024-04-16 18:03:56 -0400 | [diff] [blame^] | 71 | # ----------------------------------------------------------------------- |
| 72 | # SPDX-FileCopyrightText: 2018-2024 Open Networking Foundation Contributors |
| 73 | # SPDX-License-Identifier: Apache-2.0 |
| 74 | # ----------------------------------------------------------------------- |