Commit Graph

470 Commits

Author SHA1 Message Date
Tomofumi Hayashi
8f15282d2a Merge branch 'dev/network-plumbing-working-group-crd-change' of github.com:intel/multus-cni into dev/network-plumbing-working-group-crd-change 2018-05-18 15:34:32 +09:00
Tomofumi Hayashi
ee8bf5785d Following group name changes in github.
This changes to track organization name change in github, from
Intel-Corp to intel.
2018-05-18 15:34:12 +09:00
Tomofumi Hayashi
9621b7fb1f
Change .travis.yml to put built binary in release. (#81)
This change adds built binary into release page in tagging.
2018-05-18 15:23:46 +09:00
Kuralamudhan Ramakrishnan
9dbd585d04
Updating the Readme file to reflect K8s NPWG CRD changes (#80)
update readme.md - tpr deprecated in k8s 1.7
2018-05-17 21:57:10 +01:00
Kuralamudhan Ramakrishnan
a2bc6f8bf1 Update Readme file
Formatting the table of content
2018-05-17 12:03:22 +01:00
Tomofumi Hayashi
8dda8a5984 Fix flannel configuration to support multiple flannel networks. 2018-05-14 14:27:42 +09:00
Tomofumi Hayashi
215ddb5a1d Refine multus config file (masterplugin and always_use_default)
This fix removes 'masterplugin' and 'always_use_default' from
multus config file. default network, defined in
/etc/cni/net.d/*conf should be master and this network should be
used as default from network plumbing working group draft.
2018-05-11 17:39:43 +01:00
dougbtv
600ca0824b Demo examples including updates
This changes introduces example configuration files for npwg poc.
2018-05-11 09:56:10 +01:00
kuralamudhan ramakrishnan
fd79ef6505 Code refactoring and including conf dir in the CNI Conf file option
Change-Id: I2b35377356f2144fd3889bf5de7ac430a19edf89
Co-authored-by: Doug Smith <dougbtv@users.noreply.github.com>
Co-authored-by: Tomofumi Hayashi <s1061123@users.noreply.github.com>
Co-authored-by: Dan Williams <dcbw@users.noreply.github.com>
2018-05-09 18:23:08 +01:00
Tomofumi Hayashi
f0794119ba
Add error message for ifname collision (#74)
* Add error message for ifname collision

This changes introduce to validateIfName, to check the validation
for interface name, i.e. same name among two or more interfaces.
2018-05-09 15:33:44 +09:00
dougbtv
fcc4d67ddb [npwg] Validation for comma-delimited format 2018-05-08 09:29:38 +01:00
Tomofumi Hayashi
4eeb1fa43f Fix default case for CNIDir
In case of no-config for CNIDir, multus-cni does not set
defaultCNIDir into CNIDir hence multus-cni failed to create
container network. This change fixes it.
2018-05-08 15:24:49 +09:00
Tomofumi Hayashi
a78a9241f4 Add TrimSpace for CRD config
This fix calls TrimSpace at getConfig()'s string manipuration.
2018-05-07 17:25:43 +09:00
dougbtv
fc4652697b [bugfix][docs] Updates examples to match spec criteria 2018-05-03 22:56:35 +01:00
Doug Smith
696f863d93
Merge pull request #67 from Intel-Corp/dev/npwg-examples
Examples for CRD w/ Defacto Standard
2018-05-01 09:49:22 -04:00
kuralamudhan ramakrishnan
9daa880aec adding config and json CNI file support
check #63

Change-Id: I1dbed42dce356a18e365d0f6a8138c8522ab32d5
Co-authored-by: Doug Smith <dougbtv@users.noreply.github.com>
Co-authored-by: Tomofumi Hayashi <s1061123@users.noreply.github.com>
Co-authored-by: Dan Williams <dcbw@users.noreply.github.com>
2018-04-30 15:28:14 +01:00
Jason Murray
b9446232cd Fix grammar in README 2018-04-28 16:34:18 +01:00
Tomofumi Hayashi
c6a02c4705
Merge pull request #64 from Intel-Corp/dev/nwpg-network-crd-changes
added the k8s network plumbing wg network crd structure
2018-04-26 07:20:15 +09:00
dougbtv
84b09de45d [docs][npwg] Examples directory & documentation 2018-04-25 14:16:50 -04:00
kuralamudhan ramakrishnan
25fe46dda7 added the k8s network plumbing wg network crd structure
see issue #61 and #62 for more info

Change-Id: I228d17d7b15985fb3a2209799a085bba2b97980c
Co-authored-by: Doug Smith <dougbtv@users.noreply.github.com>
Co-authored-by: Tomofumi Hayashi <s1061123@users.noreply.github.com>
Co-authored-by: Dan Williams <dcbw@users.noreply.github.com>
2018-04-25 16:42:46 +01:00
Tomofumi Hayashi
6d12cd74ac Incorporate review comments in #58
Print error in case of errror (for debuggability) and remove
isJSON() becuase none called it.
2018-04-24 10:28:52 +01:00
Tomofumi Hayashi
0bdadc7f39 Fix error type for NoK8sNetworkError
This fix changes type type for NoK8sNetworkError due to error handling, in #45.
Currently NoK8sNetworkError is not pointer type, just a string, hence we never
get *NoK8sNetworkError. This fix changes it based @One-ders patch.
2018-04-24 10:27:48 +01:00
Tomofumi Hayashi
82bece6d73 Fix CI pipeline error in travisCI. 2018-04-24 11:48:00 +09:00
Tomofumi Hayashi
362be285c9 Revert "Fix error type for NoK8sNetworkError"
This reverts commit 3245ed8577, due to
missing pull request process. will file it again as pull request.
2018-04-23 15:49:16 +09:00
Tomofumi Hayashi
3245ed8577 Fix error type for NoK8sNetworkError
This fix changes type type for NoK8sNetworkError due to error handling, in #45.
Currently NoK8sNetworkError is not pointer type, just a string, hence we never
get *NoK8sNetworkError. This fix changes it based @One-ders patch.
2018-04-23 15:48:04 +09:00
kuralamudhan ramakrishnan
f0a7612ebd code refractoring with separate k8s-client package
bug fix for #56 & #57

Change-Id: If4f3db4dd01ca3330d5d36b8a2e4c5740def910a
Co-authored-by: Doug Smith <dougbtv@users.noreply.github.com>
Co-authored-by: Tomofumi Hayashi <s1061123@users.noreply.github.com>
Co-authored-by: Dan Williams <dcbw@users.noreply.github.com>
2018-04-21 16:09:17 +01:00
kuralamudhan ramakrishnan
122dbfb345 adding type package in multus 2018-04-18 09:20:54 +01:00
Kuralamudhan Ramakrishnan
5cb6c38786
Merge pull request #51 from redhat-nfvpe/develop
Network Plumbing Working Group CRD Spec Changes from Dough and Tomo
2018-04-12 21:51:20 +01:00
Doug Smith
ceef90f8b6
Merge pull request #11 from redhat-nfvpe/dev/default_network
[npwg] Prototype for default network
2018-04-06 13:11:58 -04:00
Tomofumi Hayashi
20676c5d22
Merge pull request #21 from redhat-nfvpe/dev/add_ns
Prototype for namespace support, addresses #15
2018-04-05 16:32:07 +09:00
dougbtv
dc111cbdac [npwg] Prototype for default network, addresses #2 2018-04-04 14:54:41 -04:00
Doug Smith
ea9e630f1b
Merge pull request #17 from redhat-nfvpe/dev/add_check_go
Add 'go fmt', golint and 'go vet' in CI
2018-04-03 08:06:35 -04:00
Tomofumi Hayashi
ebb19edfc3 Prototype for namespace support, addresses #15 2018-04-03 16:09:46 +09:00
Tomofumi Hayashi
393d5f47e5 Add 'go fmt', golint and 'go vet' in CI
This change introduces go fmt/golint/go vet in CI pipeline to check
the code for each commit. In addition, this change changes code
to pass these checks.
2018-04-03 15:18:47 +09:00
Tomofumi Hayashi
1d2b6a1aee
Merge pull request #14 from redhat-nfvpe/dev/add_if_name
Support '@<ifname>' in network annotation
2018-03-24 22:20:36 +09:00
Tomofumi Hayashi
8f7c57b22b Merge remote-tracking branch 'origin/develop' into dev/add_if_name 2018-03-23 15:19:54 +09:00
Tomofumi Hayashi
633ddf384d Support '@<ifname>' in network annotation. 2018-03-23 13:59:31 +09:00
Abdul Halim
359dc16285 Update README.md
Change-Id: I7b48d923def4998106f2d537a5c1f4412179f372
2018-03-21 13:47:07 +00:00
Tomofumi Hayashi
81e8ff3ba3
Merge pull request #9 from redhat-nfvpe/dev/add_ci_build
Add .travis.yml for build CI pipeline
2018-03-15 14:17:11 +09:00
Tomofumi Hayashi
d8e50cdb9e Add .travis.yml for build CI pipeline
This change introduces .travis.yml for building snapshot as CI.
Testing process should be taken care of further commit.
2018-03-14 18:04:41 +09:00
Tomofumi Hayashi
3e611010eb Merge branch 'master' of github.com:redhat-nfvpe/multus-cni into dev/add_if_name 2018-03-14 16:42:30 +09:00
Tomofumi Hayashi
98d17c1878
Merge pull request #5 from redhat-nfvpe/dev/comma_delimited
implements comma delimited + json scheme
2018-03-13 21:01:24 +09:00
dougbtv
b7ab17493f [npwg] implements comma delimited + json scheme 2018-03-13 07:51:54 -04:00
dougbtv
8493e62fb3 [npwg] implements comma delimited + json scheme 2018-03-12 13:50:52 -04:00
Dave
6f6a4c20e6
Remove referecne to minions
The term "minion" was changed to "node" in 2014,  The discussion and eventual deprcation is documented on 
https://github.com/kubernetes/kubernetes/issues/1111

"A node is a worker machine in Kubernetes, previously known as a minion." - https://kubernetes.io/docs/concepts/architecture/nodes/

updating the documentation to reflect correct terminology
2018-02-28 11:58:58 +00:00
dougbtv
85465286e4 Updates to API endpoint for standardized CRD
The API endpoint wasn't exactly correct after the initial
changes to use the new namespace. Updated after a test.

Signed-off-by: dougbtv <dosmith@redhat.com>
2018-01-17 09:19:29 +00:00
Kuralamudhan Ramakrishnan
452b2ede3c
Update README.md 2018-01-04 20:58:10 +00:00
Kuralamudhan Ramakrishnan
deddbd152c
Update README.md 2018-01-04 20:50:05 +00:00
Kuralamudhan Ramakrishnan
6f9f5bc8e5
Update README.md 2018-01-04 17:59:03 +00:00
kuralamudhan ramakrishnan
45a17f782d networking plumbing wg crd changes 2018-01-04 17:55:34 +00:00