Skip to content

Commit

Permalink
BFD session get and set API added
Browse files Browse the repository at this point in the history
  • Loading branch information
nik-netlox committed Feb 22, 2024
1 parent 26a5e7b commit 136b884
Show file tree
Hide file tree
Showing 19 changed files with 1,872 additions and 7 deletions.
62 changes: 62 additions & 0 deletions api/models/bfd_entry.go

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

68 changes: 68 additions & 0 deletions api/models/bfd_get_entry.go

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

4 changes: 4 additions & 0 deletions api/restapi/configure_loxilb_rest_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ func configureAPI(api *operations.LoxilbRestAPIAPI) http.Handler {
api.GetConfigCistateAllHandler = operations.GetConfigCistateAllHandlerFunc(handler.ConfigGetCIState)
api.PostConfigCistateHandler = operations.PostConfigCistateHandlerFunc(handler.ConfigPostCIState)

// BFD
api.GetConfigBfdAllHandler = operations.GetConfigBfdAllHandlerFunc(handler.ConfigGetBFDSession)
api.PostConfigBfdHandler = operations.PostConfigBfdHandlerFunc(handler.ConfigPostBFDSession)

// Firewall
api.GetConfigFirewallAllHandler = operations.GetConfigFirewallAllHandlerFunc(handler.ConfigGetFW)
api.PostConfigFirewallHandler = operations.PostConfigFirewallHandlerFunc(handler.ConfigPostFW)
Expand Down
Loading

0 comments on commit 136b884

Please sign in to comment.