...
Name | Definition | Capabilities | |
---|---|---|---|
1 | Class AssociationAlreadyDefinedException | Exception thrown when the user tries to create an association that already exists. |
|
2 | Class ChildAlreadyDefinedException | Exception thrown when a new child object is attempted to be created under a parent which already has a child with that type and name. |
|
3 | Class GroupAlreadyDefinedException | An attempt was made to create a Group with non-unique namespace and name. |
|
4 | Class GroupNotAccessibleException | An exception thrown when the requested group is not accessible to current user. |
|
5 | Class GroupNotFoundException | An exception thrown when a group requested from DPS method does not exist. |
|
Existing SPI in CPS POC
Data SPI
...
Definition
...
Capabilities
...
Interface DataPersistencyService
Responsible for accessing and manipulating data using the chosen database solution
...
- storeJsonStructure
Store the JSON structure in the database.
- getJsonById
Retrieves the JSON structure from the database using the entity identifier.
- deleteJsonById
Delete the JSON structure from the database using the entity identifier.
Model SPI
...
Definition
...
Capabilities
...
Interface ModelPersistencyService
Responsible for accessing and manipulating module data using the chosen database solution
...
- storeModule
Store the module from a yang model in the database.
Future Implementation of CPS SPI
Data SPI
...
Definition
...
Capabilities
...
Module SPI
...
Definition
...
Capabilities
...
Module Interface
...
Provides CRUD operations on a module set.
...
- Create a module set
- Merge a module set
- Read all modules
- Validate modules
- Update a module set
- Create a module set and validate it against a module reference (using a separate SPI)
Query SPI
...
Definition
...
Capabilities
...