Skip to content

Dynamically add/delete flows or protocol elements to existing applied configuration. #410

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions api/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,50 @@ paths:
default:
$ref: '../result/request.yaml#/components/responses/Failure'
x-field-uid: 2
/config/append:
patch:
tags: ['Configuration']
operationId: append_config
description: >-
Append new attributes of resources to existing configuration on the traffic generator.
Resource names should not be part of existing configuration of that resource type;
it should be unique for the operation to succeed.
The fetched configuration shall also reflect the new configuration applied successfully.
requestBody:
required: true
content:
application/json:
schema:
$ref: '../config/append.yaml#/components/schemas/Config.Append'
responses:
'200':
$ref: '../result/request.yaml#/components/responses/Success'
x-field-uid: 1
default:
$ref: '../result/request.yaml#/components/responses/Failure'
x-field-uid: 2
/config/delete:
patch:
tags: ['Configuration']
operationId: delete_config
description: >-
Delete attributes of resources from existing configuration on the traffic generator.
Resource names should already be part of existing configuration of that resource type;
for the operation to succeed.
The fetched configuration shall not reflect the removed configuration deleted successfully.
requestBody:
required: true
content:
application/json:
schema:
$ref: '../config/delete.yaml#/components/schemas/Config.Delete'
responses:
'200':
$ref: '../result/request.yaml#/components/responses/Success'
x-field-uid: 1
default:
$ref: '../result/request.yaml#/components/responses/Failure'
x-field-uid: 2
/control/state:
post:
tags: ['Control']
Expand Down
62 changes: 53 additions & 9 deletions artifacts/openapi.html

Large diffs are not rendered by default.

206 changes: 206 additions & 0 deletions artifacts/openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading