AppaRao Puli | 99b5aaa | 2018-09-25 15:18:17 +0530 | [diff] [blame] | 1 | description: > |
| 2 | This interface exposes properties for service objects like |
| 3 | SSH, web, RMCP+ etc. under the service configuration manager. |
| 4 | This interface can be used to get/set of service properties. |
| 5 | |
| 6 | properties: |
| 7 | - name: State |
| 8 | type: enum[self.SupportedStates] |
| 9 | description: > |
| 10 | Specifies the state of the service. |
| 11 | - name: Port |
| 12 | type: uint32 |
| 13 | description: > |
| 14 | Specifies the listening port number of service. |
| 15 | This property is used to get or set the service |
| 16 | listening port number. |
| 17 | - name: Channel |
| 18 | type: array[string] |
| 19 | description: > |
| 20 | Specifies the channel on which service allows client |
| 21 | connections. This property is used to get or set the |
| 22 | allowed channel interfaces in array of strings. It accepts |
| 23 | the interface names, which are created as objects in |
| 24 | network service and returns error if not found. |
| 25 | |
| 26 | enumerations: |
| 27 | - name: SupportedStates |
| 28 | description: > |
| 29 | State values. |
| 30 | values: |
| 31 | - name: 'enabled' |
| 32 | description: > |
| 33 | Service is enabled. |
| 34 | - name: 'disabled' |
| 35 | description: > |
| 36 | Service is disabled. |