Skip to content
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

On the fly bgp peer add/remove: through SetControlState protocol/bgp #337

Merged
merged 18 commits into from
Dec 7, 2023
Merged
Show file tree
Hide file tree
Changes from 4 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
2 changes: 1 addition & 1 deletion artifacts/openapi.html

Large diffs are not rendered by default.

16 changes: 12 additions & 4 deletions artifacts/openapi.yaml

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

10 changes: 8 additions & 2 deletions artifacts/otg.proto

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

4 changes: 4 additions & 0 deletions control/protocol.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ components:
state:
description: >-
The desired state of BGP peer.
If the desired state is 'up', underlying IP interface(s) would be brought up automatically (if not already up) and the associated BGP peers would start advertising routes.
If the desired state is 'down', the associated BGP peers would stop advertising routes.
rudranil-das marked this conversation as resolved.
Show resolved Hide resolved
type: string
x-field-uid: 2
x-enum:
Expand Down Expand Up @@ -211,6 +213,8 @@ components:
state:
description: >-
The desired state of ISIS router.
If the desired state is 'up', the associated ISIS routers would start advertising routes.
rudranil-das marked this conversation as resolved.
Show resolved Hide resolved
If the desired state is 'down', the associated ISIS routers would stop advertising routes.
rudranil-das marked this conversation as resolved.
Show resolved Hide resolved
type: string
x-field-uid: 2
x-enum:
Expand Down
2 changes: 2 additions & 0 deletions control/state.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ components:
x-field-uid: 3
bgp:
x-field-uid: 4
isis:
x-field-uid: 5
x-field-uid: 1
all:
$ref: './protocol.yaml#/components/schemas/State.Protocol.All'
Expand Down
Loading