Skip to content

Commit

Permalink
Merge pull request #541 from nik-netlox/main
Browse files Browse the repository at this point in the history
BFD session get and set API added
  • Loading branch information
UltraInstinct14 committed Feb 22, 2024
2 parents 26a5e7b + 136b884 commit 1a85096
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

0 comments on commit 1a85096

Please sign in to comment.