-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix reconfigure on exited nodes * update * update * update * update * update * update * fix * update * update * update * update * CheckInterfaceName to use NWEndpoints * update * update * update * update * MacvlanMtuOnSRL * update * resolve link-mgmt-net-raw to linkveth * refactor veth bridge attachment processing * link validation * cumulate validation errors * fix * fix mgmt bridge * fix test * fix * on destroy also resolve links * fix iptablesrules destroy cleanup * removed yaml type error during unmarshalling since the error was not present * rename pointer receiver * LinkConfig -> LinkBrief and moved it to its own file from the topology.go * added make target to create a bin suitable for debug * added Resolve to LinkBrief * added link common param to a test * put mtu on the right level * function rename to avoid meanings clash * move links to their own package * renamed LinkInterf to Link and added comments * rename Endpt -> Endpoint * rename endpoint structs * give LinkNodeResolver name to the interface * more renaming and comments * renamed NWEndpoints to Endpoints * added comments for Link interface methods * renamed linkNodeResolver to Node * delay initilaisation of the mgmt-net bridge name * removed endpoints from endpoin's verify as it is not used * sort unexported fields * renamed endpoint uniqueness check * added same link case * splice endpoints to different files * remove node filtering test cases that operated on links * set iface name for xrd ifEnvVar * added comment for runtime.Node interface * renamed SetupNetworking to DeployLinks * changed error msg * do not use endpoints to deploy links * add links to only "real" nodes * added comment * move net creation after redeploy * set link deployment state * added node state * remove commented methods and fields * add linkcommonparams to initial LinkDefinition struct * set deployment state upon node deployment finish * remove unused link deployment state * switch string based statuses to enum * catch unmarshall type error extend tests to extended link definition format * choose different interface for tools command test * added links to genericlinknode * strict unmarshal error bypass * add unittest * add tests, fix state race * fix * move GenericLinkNode to own file, resolve raw host link to veth link * remove commented out code * implement vethCleanup * fix podman * deepsource fix * fix unittest * Revert "deepsource fix" This reverts commit 4ed320b. * deepsource skip line * fix json export * remove mocked runtime * fix graph * make generate use brief link format * reintroduce log message for link creation * update * remove mutex from veth link * run e2e tests with race * added cgo for debug bin * bump scrapligo * Update links/link_veth.go Co-authored-by: Roman Dodin <dodin.roman@gmail.com> * Update links/link_macvlan.go Co-authored-by: Roman Dodin <dodin.roman@gmail.com> * DefaultNode Nodestate mutex to RWMutex * logrus -> log * added endpoint mutex * Revert "added endpoint mutex" This reverts commit 935b5f5. * Introduce NewGenericEndpoint() to generate randifnames on construction * please deepsource * adjust link creation log message * explicit string method is not required * implicit break implied * added comments for veth endpoint deployment routine * move host and mgmt-net nodes to appropriate files * reintroduce state link mutex * renamed AddLinkToContainer * exclude fake name from host and mgmt-net link nodes * regen mocks * removed unused custom marshaller for vethraw * renamed ToLinkBriefRaw to match the return type * renamed linkVEthRawFromLinkBriefRaw * added some bad test for veth resolve * fix import * removed unused test topology * verifyRootNetNSLinks * removed unused receivers and args --------- Co-authored-by: Roman Dodin <dodin.roman@gmail.com>
- Loading branch information
Showing
87 changed files
with
2,811 additions
and
972 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.