Mathew Merrick
836ee3810e
feat: [NPM] Add config file and feature toggles ( #979 )
...
* package case
* package restructure
* add default config and toggles
* lint
2021-09-01 09:03:24 -07:00
Evan Baker
4dfefd0045
update to tools and Makefile ( #965 )
2021-08-09 09:57:59 -07:00
Evan Baker
fc88940256
chore: update controller-runtime ( #957 )
...
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2021-07-30 12:28:21 -05:00
Evan Baker
617f898b12
fix: bump minimum cni to 1.4.7 for reconcile flow ( #948 )
...
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2021-07-20 18:06:35 -05:00
Mathew Merrick
f2e763050d
fix: [CNI] handle getting endpoints when state file is empty ( #916 )
...
* handle empty state file
* update tests
* restore
* fix: add custom unmarshaller for struct with embedded custom interface type
* mkdir images
Co-authored-by: Evan Baker <rbtr@users.noreply.github.com>
2021-06-30 17:54:43 -07:00
Mathew Merrick
b138a42410
chore: remove hardcoded envs from makefile ( #913 )
2021-06-28 13:07:21 -07:00
Mathew Merrick
6dfaa607e1
chore: disable cgo when building ACN artifacts ( #906 )
2021-06-21 14:46:36 -07:00
Evan Baker
030a522c7a
fix: lint changes vs the default branch only ( #902 )
2021-06-21 14:34:26 -07:00
Mathew Merrick
ae9aedcfdf
[CNI] Parse CNI version in CNI client ( #899 )
...
* get CNI version
* update makefile to produce cni-manager image
* return proper type
2021-06-18 10:20:03 -07:00
Evan Baker
5e534da4bf
feat: add golangci to build tools ( #896 )
...
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2021-06-14 13:08:26 -05:00
Mathew Merrick
b09ca83ef7
[CNI] Add GET_ENDPOINT_STATE command to dump CNI state to stdout ( #891 )
...
* inital dump state and ipam interface update
* add reconcile command to CNI
* add integration test
* pass endpoint id on add
* address some feedback
* fix test path and linting
* address feedback and logging
* remove return and rename to PodEndpointID
2021-06-11 14:01:42 -07:00
Evan Baker
16b3645937
feat: add more status fields to the nodenetworkconfig: status, allocated IPs, subnets ( #889 )
...
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2021-06-04 11:57:33 -05:00
Pengfei Ni
de466f58e7
feat: add multi-tenant NetworkContainer controller ( #876 )
2021-06-03 20:49:00 -07:00
Evan Baker
ee7538cf5f
chore: update to go1.16 ( #887 )
...
* chore: update to go1.16 for embed
* chore: update github.com/docker/libnetwork dependency to fix logrus package casing issue
* feat: move build-time binary dependencies to build/tools and compile locally
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2021-06-03 11:18:21 -05:00
Evan Baker
7f2cfc7b74
feat: use go mod to download tools like controller-gen ( #884 )
2021-05-28 11:34:04 -05:00
Mathew Merrick
3bc1a1f00e
[CI] Add Cyclonus to merge validation ( #860 )
2021-05-04 23:51:45 -07:00
Mathew Merrick
d929d1acb0
chore: Specify CI build pool name ( #841 )
...
* Specify pool name
2021-04-13 11:00:49 -07:00
Paul Johnston
9365272a02
Aks swift test update ( #838 )
...
* AKS-Swift-test update to use underlay in runners sub
2021-04-02 13:24:01 -07:00
msvik
28cf37bc9d
CNI changes to support baremetal scenario ( #835 )
...
* Modify CNI for windows baremetal scenario in Azure
* Fix the CNI result for baremetal case
* Addressed PR comments from Tamilmani and Ramiro
* Remove azure-telemetry.exe from cni-baremetal package
* Fix formatting in logging
* Addressed Ramiro's PR review comments
* Formatting fix in printf
Co-authored-by: VK <abc@gmail.com>
2021-03-26 10:28:42 -07:00
Mathew Merrick
fe66f5b03e
[build] Makefile update to generate image tarballs in artifacts ( #804 )
...
Consolidate CNS docker files into 1 only, and output docker images to neat images directory as part of build for release purposes
2021-03-25 14:08:02 -07:00
Mathew Merrick
d78002d3c0
[build] Update pipeline and enable debug symbols in bins ( #793 )
...
* add symbols, add gcflags, update timeouts, only show azure core errors
2021-02-23 12:58:49 -08:00
Mathew Merrick
73ae4e0325
chore: update tools directory and deployments ( #779 )
2021-02-09 17:56:37 -08:00
Mathew Merrick
39c9ad3a72
test: Add Swift Testing Pipeline ( #712 )
...
* Add new Swift test scenarios
2021-01-20 11:00:32 -08:00
Paul Johnston
c3aa60f7f9
chore: updating the base cnms image to reach compliance ( #759 )
...
* chore: updating the base cnms image to reach compliance
2020-12-23 15:00:33 -08:00
Paul Johnston
fb3481ded3
Show codecoverage for entire repo ( #754 )
...
* test: include all packages in code coverage report
2020-12-16 13:25:15 -08:00
Mathew Merrick
2bb1fd9af5
fix: Move acncli to hack and update error message ( #748 )
...
* fix: update acncli error message
* fix: acncnli move to hack
2020-12-10 18:06:53 -08:00
Mathew Merrick
c499075742
chore: Update pipeline yaml, replace hardcoded registries to env's ( #744 )
...
* fix: replace hardcoded image env's to env's
2020-12-02 11:26:08 -08:00
Mathew Merrick
3eb5f3cb1f
feat: produce Azure CNI Swift tarball ( #711 )
2020-10-29 10:32:21 -07:00
Mathew Merrick
7bd8a2644d
Add "acn" cli tool to install and manage Azure CNI ( #688 )
...
* tail azure-vnet.logs
* dockerfile update
* installer fixes
* remove external deps
* move to cli design
* manager cmd
* update vendor
* minor fixes
* logs
* update makefile
* Update manager-master.yaml
* Update manager-agent.yaml
2020-10-20 14:00:40 -07:00
Mathew Merrick
41232c134d
CNI using CNS IPAM ( #597 )
...
* Configure CNI to use CNS IPAM
2020-09-29 14:43:19 -07:00
neaggarwMS
de95ffc399
Pass HostInterface PrimaryIP info to CNI ( #662 )
...
* Pass HostPrimaryInterface details to CNS
2020-08-21 14:04:50 -07:00
Paul Johnston
1d02a91420
Dockerfile for cns container ( #636 )
...
* CNS dockerfile for Aks Swift
2020-07-31 11:34:50 -07:00
Mathew Merrick
dc37410502
Pipeline update ( #627 )
...
* pipeline update
* dockerfile update
* ipset update
2020-07-23 23:21:49 -07:00
neaggarwMS
8b14462489
Removed example directory
2020-07-23 08:40:13 -07:00
neaggarwMS
9d6a137de0
Fix build
2020-07-23 08:40:13 -07:00
neaggarwMS
8a32ddc462
Run the complete unit test suite in CNI
2020-07-17 12:26:19 -07:00
neaggarwMS
8e073e5f94
Enable restserver tests, commented faulty tests for now
2020-07-17 12:26:19 -07:00
Mathew Merrick
644642b100
CNS IPAM for CNI ( #584 )
...
* Add IPAM to CNS for CNI
2020-07-13 17:37:49 -07:00
Paul Johnston
a15ff461c6
Request controller for CNS ( #583 )
...
* NewRequestController and StartRequestController
* Making Start Manager in go routine
* Lookup HOSTNAME env var
* Adding cnsipaminterface.go
* Created requestController interface and implemented updating CRD
* fix windows 1903 test apimodel.json (#585 )
* Avoiding redundant calls into cns by only watching for status updates in reconcile loop, ignoring spec updates in reconcil loop. Also adding ability for updating CRD spec through k8sRequestController methods
* fixing comments
* Cleaned up code and added more comments
* Made client interface for testing purposes and changed structure of files to be less folder-y
* Addressed comments from Paul Miller and Wei
* Beginning unit tests
* Finished unit tests
* Fixing pipeline issues
* found issue, fixed HOSTNAME environment variable dependency
* review changes requested
* more review changes
* Addressed changes from yesterday's review
* Changing makefile line to run correct package
* Addressed Matt Long's suggestions
Co-authored-by: Mathew Merrick <matmerr@users.noreply.github.com>
2020-07-02 11:42:59 -07:00
PrIce Qian
7b5e817bd8
Improving and adding CNI unit tests ( #543 )
...
* Add ipam/pool_test.go & add network/*test.go
* add testing ./network/ in Makefile
* fix context
2020-06-26 14:16:45 -07:00
Mathew Merrick
9f3478f828
Add codecov.yml ( #559 )
...
* add codecov.yml
* add race flag to tests
* make covermode atomic
2020-05-09 08:19:37 -07:00
tamilmani1989
6ac5e8c9f0
CNI Ipv6 Dualstack Support ( #538 )
...
* added cniv6 plugin
* cni ipv6 base framework
* removed unwanted changes
* added ipv6 change
* added cni ipv6 changes
* drop neighbor discovery messages to other VMs
* fixed issues
* fixed unit tests
* fix nil dereference
* addressed comments
* ipv6 fixes and changes
* addressed comments
2020-04-15 22:30:48 -07:00
Jaeryn
38dc38e898
Move NPM from dep to go mod ( #539 )
...
* Moving NPM to use gomod
* Vendoring via go mod
* add more npm tests
* remove go dep specific commands
* adding pipeline changes
2020-04-06 16:18:17 -07:00
Mathew Merrick
d2ba9bb2f3
IPv6 Node IPAM ( #532 )
...
* switch to go mod
* pull node spec from apiserver
* carve v6 addresses
* address pool
* update go mod vendor
* build image
* build image
* build image
* separate go mod for npm
* add manager ipv6 ipam test
* added comments and addressed feedback
* address comments
* address comments
* address comments
* check if loaded
* address comments
* update pipeline
* update pipeline
* update test message
Co-authored-by: Ubuntu <azureuser@k8s-agentpool1-23761303-0.2w0jm2xwiahebmp33klngrlq1d.xx.internal.cloudapp.net>
2020-04-02 11:01:05 -07:00
Paul Johnston
17e2c7d404
Adding network monitor capabilities for prerouting and postrouting ebrules ( #527 )
...
* About to take debugging comments out
* Removed debugging statements and tested again
* Removed more debugging statements and unused method
* Made changes suggested by Tamilmani, tested again.
* Made spacing changes suggested by Tamilmani
* Triggering new tests to run
2020-03-18 14:02:31 -07:00
tamilmani1989
a151c83894
AITelemetry support for CNS ( #455 )
...
* Added logger package for CNS
* added aitelemetry for cns
* Added AI Telemetry for CNS
* added respective folders in makefile and added config file
* added all config fields
* addressed review comments
* removing repetitive log
* logged configpath
* reverted to keep old telemetry channel and pulled new ai package
* removed unwanted logs..added log file
2020-01-24 13:29:52 -08:00
Jaeryn
df012bcd1f
Adding AI metrics for NPM ( #475 )
...
* Adding AI metrics for NPM
* addressing tamilmani's comments
2020-01-23 13:52:30 -08:00
tamilmani1989
2d619b78fe
AppInsightTelemetry support for CNI ( #458 )
...
* Added AITelemetry support for CNI
* added new files
* added other configs in config file
* fixed ut
* updated disableall similar to cns
* added container name to report
* addressed review comments
* addressed review comments
* added check for azure environment
* added log
* close log handle in unit test
* addressed review comments
* addressed review comments
* fixed a condition
* keep the netagent channel for logs
* fixed error
* addressed review comments
2020-01-14 14:53:24 -08:00
Jaeryn
f4a5dcbffa
add build and publish image capabilities for cns ( #471 )
2020-01-06 16:11:52 -08:00
Ashvin Deodhar
cd236e1f59
Publish/Unpublish Network Containers via CNS ( #430 )
...
Expose 2 APIs to publish and unpublish network containers from CNS.
a. PublishNetworkContainer
b. UnpublishNetworkContainer
DNC calls CNS to publish and unpublish the network containers.
2019-11-13 18:07:36 -08:00