Skip to content
This repository was archived by the owner on Sep 7, 2020. It is now read-only.

Conversation

@DanielEdriPurpl
Copy link
Collaborator

Add "Client: clear client" API to the Smart-Steering APIs

Add support in BML (BML CLI, BML, BML Internal)
Add support in DB (Both persistent & run-time)
Validate that cleared clients are removed from the persistent DB (But still exist in the run-time DB)

Removal of non-existing clients should return an appropriate response message

Preparation commit

Currently there's only accesor or mutator fns,
to communicate with a client's persistent DB.

I am adding the missing delete function so
the cli could execute a routine to delete
a record off the persistent DB using a
mac address as an indentifier.

Here i add the require .YAML changes

PPM-385

Signed-off-by: DanielEdriPurpl <[email protected]>
Here i add the auto generated code related to
the persistentDB delete method

PPM-385

Signed-off-by: DanielEdriPurpl <[email protected]>
Here i add the required changes to
BML/CLI to be used with the del
function from persistentDB

PPM-385

Signed-off-by: DanielEdriPurpl <[email protected]>
Here i use the code of CLI/BML
i declared in the previous commit

PPM-385

Signed-off-by: DanielEdriPurpl <[email protected]>
Here i add the required implementation
to the bml internal for the introduction
of a new method for persistentDB removal

PPM-385

Signed-off-by: DanielEdriPurpl <[email protected]>
Here i used the impl i've added in the
previous commit, to support the new
delete persistentDB records via cli

PPM-385

Signed-off-by: DanielEdriPurpl <[email protected]>
Here i add the missing implementation for
the removal function off persistentDB

PPM-385

Signed-off-by: DanielEdriPurpl <[email protected]>
Here i use the impl introducted in the
previous commit, and adds the support
for the son_management to be used
with the new delete fn of persistentDB

PPM-385

Signed-off-by: DanielEdriPurpl <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants