Skip to content

Commit

Permalink
[OIE-1845] Introducing RPC service for chunked messages (#383)
Browse files Browse the repository at this point in the history
  • Loading branch information
eroshiva authored Mar 30, 2023
1 parent b0ceadf commit ecbf5f5
Show file tree
Hide file tree
Showing 5 changed files with 303 additions and 127 deletions.
17 changes: 17 additions & 0 deletions docs/onos/config/admin.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
- [ReadWritePath](#onos-config-admin-ReadWritePath)
- [RollbackRequest](#onos-config-admin-RollbackRequest)
- [RollbackResponse](#onos-config-admin-RollbackResponse)
- [ValidateConfigChunkRequest](#onos-config-admin-ValidateConfigChunkRequest)
- [ValidateConfigRequest](#onos-config-admin-ValidateConfigRequest)
- [ValidateConfigResponse](#onos-config-admin-ValidateConfigResponse)
- [ValueSelectionRequest](#onos-config-admin-ValueSelectionRequest)
Expand Down Expand Up @@ -433,6 +434,21 @@ RollbackResponse carries the response of the rollback operation



<a name="onos-config-admin-ValidateConfigChunkRequest"></a>

### ValidateConfigChunkRequest
ValidateConfigRequest carries configuration data to be validated as a JSON blob


| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| json | [bytes](#bytes) | | |






<a name="onos-config-admin-ValidateConfigRequest"></a>

### ValidateConfigRequest
Expand Down Expand Up @@ -596,6 +612,7 @@ ModelPluginService is to be implemented by model plugin sidecar
| ----------- | ------------ | ------------- | ------------|
| GetModelInfo | [ModelInfoRequest](#onos-config-admin-ModelInfoRequest) | [ModelInfoResponse](#onos-config-admin-ModelInfoResponse) | GetModelInfo provides information about the model |
| ValidateConfig | [ValidateConfigRequest](#onos-config-admin-ValidateConfigRequest) | [ValidateConfigResponse](#onos-config-admin-ValidateConfigResponse) | ValidateConfig validates the provided configuration data against the model |
| ValidateConfigChunked | [ValidateConfigChunkRequest](#onos-config-admin-ValidateConfigChunkRequest) stream | [ValidateConfigResponse](#onos-config-admin-ValidateConfigResponse) | ValidateConfig validates the provided configuration data against the model |
| GetPathValues | [PathValuesRequest](#onos-config-admin-PathValuesRequest) | [PathValuesResponse](#onos-config-admin-PathValuesResponse) | GetPathValues produces list of typed path value entries from the specified configuration change JSON tree |
| GetValueSelection | [ValueSelectionRequest](#onos-config-admin-ValueSelectionRequest) | [ValueSelectionResponse](#onos-config-admin-ValueSelectionResponse) | GetValueSelection gets a list of valid options for a leaf by applying selection rules in YANG. The selection rules should be defined as an XPath expression, as an argument to a `leaf-selection` extension in the YANG model (Used to support the ROC GUI) |

Expand Down
Loading

0 comments on commit ecbf5f5

Please sign in to comment.