azure-container-networking/network
Alexander 2e8881348e
test: add uts for cni add function (#3069)
* add dualnic windows multitenancy test

* add linux multitenancy test

* add linux swiftv2 multi nic ep info test

* add windows swiftv2 infra with delegated ep info test

* add check to ensure epInfo.ifName is overwritten in add endpoint for linux swiftv2

* test options set in invoker propagate to all endpoint infos

* test dns in nwCfg propagates to all endpoint infos

* test options and data are created for each endpoint info

* address linter issues
2024-10-16 20:21:17 +00:00
..
hnswrapper add accelnet support on CNI (#2853) 2024-08-07 19:08:00 +00:00
networkutils refactor: create safer command execution method (#2899) 2024-08-06 21:36:55 +00:00
ovsinfravnet [CNI] restruct CNI logger (#2226) 2023-09-19 23:02:28 +00:00
policy Add UTs for CNI Windows Policy (#2965) 2024-08-30 03:29:56 +00:00
snat refactor: create safer command execution method (#2899) 2024-08-06 21:36:55 +00:00
api.go feat: don't use CNS for CNI DEL command in windows multitenancy (#1216) 2022-02-03 19:14:31 -08:00
bridge_endpointclient_linux.go [CNI] Migrate network and platform package logging to zap (#2209) 2023-09-16 00:14:44 +00:00
bridge_networkclient_linux.go refactor: code changes for stateless cni and swift v2 (#2688) 2024-06-01 01:36:32 +00:00
dhcp.go fix: add dhcp discover packet to linux swiftv2 to ensure mappings exist for dns (#2989) 2024-09-10 16:46:05 +00:00
endpoint.go test: add uts for cni add function (#3069) 2024-10-16 20:21:17 +00:00
endpoint_linux.go fix: add dhcp discover packet to linux swiftv2 to ensure mappings exist for dns (#2989) 2024-09-10 16:46:05 +00:00
endpoint_linux_test.go Set constant mac for host veth interface in transparent vlan mode (#1906) 2023-04-17 14:26:00 -07:00
endpoint_snatroute_linux.go refactor: code changes for stateless cni and swift v2 (#2688) 2024-06-01 01:36:32 +00:00
endpoint_test.go Default to accelnet behavior in CNI for SwiftV2 windows (#3020) 2024-09-24 16:36:36 +00:00
endpoint_windows.go Default to accelnet behavior in CNI for SwiftV2 windows (#3020) 2024-09-24 16:36:36 +00:00
endpoint_windows_test.go Default to accelnet behavior in CNI for SwiftV2 windows (#3020) 2024-09-24 16:36:36 +00:00
errors.go fix: Handle async delete in stateless cni (#2967) 2024-09-21 16:09:30 +00:00
hnsendpoint_mock_windows.go style: Go fumpt entire network package (#1507) 2022-08-03 15:09:00 -07:00
iptables.go refactor: add receiver to iptables and create interface (#2421) 2023-12-14 09:27:17 -08:00
manager.go fix: Handle async delete in stateless cni (#2967) 2024-09-21 16:09:30 +00:00
manager_mock.go add L1VH IB support on CNI (#2762) 2024-07-11 16:05:28 +00:00
manager_test.go Default to accelnet behavior in CNI for SwiftV2 windows (#3020) 2024-09-24 16:36:36 +00:00
mock_endpointclient.go refactor: code changes for stateless cni and swift v2 (#2688) 2024-06-01 01:36:32 +00:00
mock_namespace.go feat: cni refactor for swift v2 (#2330) 2023-11-01 19:50:35 +00:00
namespace.go feat: cni refactor for swift v2 (#2330) 2023-11-01 19:50:35 +00:00
namespace_linux.go feat: cni refactor for swift v2 (#2330) 2023-11-01 19:50:35 +00:00
namespace_windows.go feat: cni refactor for swift v2 (#2330) 2023-11-01 19:50:35 +00:00
network.go add accelnet support on CNI (#2853) 2024-08-07 19:08:00 +00:00
network_linux.go add accelnet support on CNI (#2853) 2024-08-07 19:08:00 +00:00
network_test.go test: add ut for populating network and endpoint hns id in endpoint and endpoint info structs (#2844) 2024-07-17 13:26:11 +00:00
network_windows.go Default to accelnet behavior in CNI for SwiftV2 windows (#3020) 2024-09-24 16:36:36 +00:00
network_windows_test.go Default to accelnet behavior in CNI for SwiftV2 windows (#3020) 2024-09-24 16:36:36 +00:00
ovs_endpoint_infraroute_linux.go refactor: code changes for stateless cni and swift v2 (#2688) 2024-06-01 01:36:32 +00:00
ovs_endpoint_snatroute_linux.go refactor: code changes for stateless cni and swift v2 (#2688) 2024-06-01 01:36:32 +00:00
ovs_endpointclient_linux.go refactor: code changes for stateless cni and swift v2 (#2688) 2024-06-01 01:36:32 +00:00
ovs_networkclient_linux.go [CNI] Migrate network and platform package logging to zap (#2209) 2023-09-16 00:14:44 +00:00
ovs_networkclient_linux_test.go ci: remove ovs create bridge test (#2942) 2024-08-22 02:27:09 +00:00
secondary_endpoint_client_linux.go fix: add dhcp discover packet to linux swiftv2 to ensure mappings exist for dns (#2989) 2024-09-10 16:46:05 +00:00
secondary_endpoint_linux_test.go test: add uts for cni add function (#3069) 2024-10-16 20:21:17 +00:00
transparent_endpoint_linux_test.go feat: cni refactor for swift v2 (#2330) 2023-11-01 19:50:35 +00:00
transparent_endpointclient_linux.go refactor: create safer command execution method (#2899) 2024-08-06 21:36:55 +00:00
transparent_vlan_endpoint_snatroute_linux.go refactor: code changes for stateless cni and swift v2 (#2688) 2024-06-01 01:36:32 +00:00
transparent_vlan_endpointclient_linux.go refactor: create safer command execution method (#2899) 2024-08-06 21:36:55 +00:00
transparent_vlan_endpointclient_linux_test.go fix: wait for vnet ns to create and ensure veths are inside namespace instead of assuming (#2341) 2023-11-10 16:07:40 -08:00