|
@@ -2771,12 +2771,78 @@
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ "/ftth/onu/suspend": {
|
|
|
+ "get": {
|
|
|
+ "tags": [
|
|
|
+ "ONU"
|
|
|
+ ],
|
|
|
+ "description": "Suspende una ONU",
|
|
|
+ "summary": "Módulo ftth",
|
|
|
+ "operationId": "ONUSuspend",
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "id",
|
|
|
+ "in": "query",
|
|
|
+ "description": "Id de ONU.",
|
|
|
+ "required": true,
|
|
|
+ "type": "integer"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "Operación exitosa.",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/ONU"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "400": {
|
|
|
+ "description": "Id de onu inválido, workflow o transición."
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/ftth/onu/enable": {
|
|
|
+ "get": {
|
|
|
+ "tags": [
|
|
|
+ "ONU"
|
|
|
+ ],
|
|
|
+ "description": "Activa la ONU. Esta acción esta asociada al workflow 2 de ONU",
|
|
|
+ "summary": "Módulo ftth",
|
|
|
+ "operationId": "ONUEnable",
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "id",
|
|
|
+ "in": "query",
|
|
|
+ "description": "Id de ONU.",
|
|
|
+ "required": true,
|
|
|
+ "type": "integer"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "Operación exitosa.",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/ONU"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "400": {
|
|
|
+ "description": "Id de onu inválido, workflow o transición."
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
"/ftth/onu/disable": {
|
|
|
"get": {
|
|
|
"tags": [
|
|
|
"ONU"
|
|
|
],
|
|
|
- "description": "Desactiva una ONU.",
|
|
|
+ "description": "Desactiva una ONU. Esta acción esta asociada al workflow 2 de ONU",
|
|
|
"summary": "Módulo ftth",
|
|
|
"operationId": "ONUDisable",
|
|
|
"produces": [
|