Commit Graph

470 Commits

Author SHA1 Message Date
Maximilian Hristache
def72938cd Enable hairpin in the multus config
Fix #124
2018-08-13 14:44:20 +01:00
Abdul Halim
dd4e93c7d4 update example README.md file with sriov-net.yaml
added example sriov-net.yaml file in exmaples directory and
updated README.md file showing how to define CRDs with
resourceName annotation for device specific information.
2018-08-07 11:13:38 +01:00
Abdul Halim
f30c688775 added deviceIDs insertions into delegates
this changes allow Multus to parse resourceName annotation from
network CRDs then add deviceIDs into the delegate object for CNI
plugin to consume it.
2018-08-03 13:51:46 +01:00
rkamudhan
1ad25a890d adding error checking in network status creation as well 2018-08-01 16:03:25 +01:00
Kuralamudhan Ramakrishnan
88759d29de updating nitpick issues in the source file. 2018-08-01 16:03:25 +01:00
rkamudhan
d71fe3447f fixing multus runtime error for network status without pod network annotation 2018-08-01 16:03:25 +01:00
Kuralamudhan Ramakrishnan
02255b40fa
Update 05_vlan1.yml 2018-08-01 13:02:29 +01:00
Kuralamudhan Ramakrishnan
5c1286b27b
Update 04_macvlan1.yml 2018-08-01 12:59:14 +01:00
Kuralamudhan Ramakrishnan
6780518e5f
Update 04_macvlan1.yml 2018-08-01 12:56:40 +01:00
Kuralamudhan Ramakrishnan
ca15454d5b fixing the Network object shortname in readme.md
using `kubectl get network` throws error as follows:

```
 kubectl get network
error: the server doesn't have a resource type "network"
```

So fixing it.
2018-07-30 19:23:18 +01:00
Kuralamudhan Ramakrishnan
bd747d1402
Kubernetes Network Plumbing working group meta plugin reference implementation
Kubernetes Network Plumbing working group meta plugin reference implementation
2018-07-30 18:15:14 +01:00
Kuralamudhan Ramakrishnan
01c70d5259
Merge branch 'master' into dev/network-plumbing-working-group-crd-change 2018-07-30 17:47:29 +01:00
Kuralamudhan Ramakrishnan
ed0e4b76a8
Update README.md (#110)
* Update README.md
2018-07-30 17:45:17 +01:00
dougbtv
b4a1a2ec67 [docs] README updates for v3.0 2018-07-30 15:32:12 +01:00
rkamudhan
8bb09518df adding network status features 2018-07-30 14:58:30 +01:00
rkamudhan
583cbe476a adding changing in glide yaml and vendor for network status features 2018-07-30 14:58:30 +01:00
Kuralamudhan Ramakrishnan
be1c08bfa5
Update README.md 2018-07-30 13:06:57 +01:00
rkamudhan
707007abba adding k8sclient bug fixes 2018-07-27 23:43:17 +01:00
rkamudhan
7372922617 adding conflist support 2018-07-27 23:43:17 +01:00
Dan Williams
42e6894962 k8sclient: use InClusterConfig() for kubeclient when run as daemonset
When multus is run inside a container, eg as a daemonset, we can use
InClusterConfig() to automatically get the service account token, the
CA certificate, and the apiserver address, all without a kubeconfig
file.
2018-07-27 12:08:24 +01:00
Doug Smith
926910af08 [docker-image] Adds a Docker image for distribution of Multus binary in a Docker image (#100) 2018-07-27 19:51:51 +09:00
dougbtv
2f96fa302a [docs] Updates kubernetes.v1 to k8s.v1 in the sample files 2018-07-25 01:44:14 +01:00
Dan Williams
a4567df76a Update kubernetes.cni.cncf.io -> k8s.cni.cncf.io 2018-07-24 14:02:48 +01:00
Dan Williams
6e440b4fa8 k8sclient: update for removal of Plugin field from NetworkAttachmentDefinition
Plugin went away, replaced by a minimal Spec.Config field so that the CNI
version the thick plugin supports could be indicated. This means we need
to also inject the network name into the minimal CNI JSON config when
loading the Spec.Config if the network name isn't there already.
2018-07-24 14:02:48 +01:00
Dan Williams
4f8c285520 k8sclient: Network -> NetworkAttachmentDefinition
To align with latest spec change clarifying the name of the CRD object.
2018-07-24 14:02:48 +01:00
Doug Smith
c8fbcf3358
Merge pull request #90 from intel/dev/logging
Add logging feature for debug
2018-07-20 17:26:57 -04:00
dougbtv
9f7c91e56d [docs] Adds documentation for logging enhancements in #90 2018-07-20 16:06:50 +01:00
Kuralamudhan Ramakrishnan
61959e0477
Update README.md 2018-07-17 10:18:46 +01:00
Kuralamudhan Ramakrishnan
3e1c6ac9bd
Update README.md 2018-07-17 10:18:17 +01:00
Tomofumi Hayashi
371b27b16a Incorporate rkamudhan's comment. 2018-07-13 15:10:53 +09:00
Kuralamudhan Ramakrishnan
ea79e126f9
Update README.md 2018-07-12 18:39:39 +01:00
Tomofumi Hayashi
6e33bf9921 Add logging feature for debug
This diff adds logging feature for debug.
2018-07-06 14:50:48 +09:00
Dan Williams
589877b644 multus: unit test multi-network interface names (#82) 2018-06-26 10:13:26 +09:00
Dan Williams
e047460384 travis: add unit tests to travis CI 2018-06-20 18:20:57 +01:00
Dan Williams
0b1e8689dc k8sclient: use Go struct to parse annotations and add unit tests 2018-06-20 18:20:57 +01:00
Dan Williams
591a687b42 k8sclient: remove 'masterplugin'/primary
This is handled now by multus.go instead.
2018-06-20 18:20:57 +01:00
Dan Williams
fddbbdeae8 multus: add unit tests 2018-06-20 18:20:57 +01:00
Dan Williams
88c3b366f6 testing: add fake kube client testing helpers 2018-06-20 18:20:57 +01:00
Dan Williams
fa9f209fed k8sclient: default network resource namespace to pod's namespace
Instead of 'default'.
2018-06-20 18:20:57 +01:00
Dan Williams
ac9e46f712 multus/k8s: allow faking k8s client for unit tests 2018-06-20 18:20:57 +01:00
Dan Williams
f4f6a6cbed multus: rework cmdAdd/Del/Get calling to support testcases 2018-06-20 18:20:57 +01:00
Dan Williams
afa87024eb multus: pass exec interface to invoke package
Will help with unit tests.
2018-06-20 18:20:57 +01:00
Dan Williams
4a8b422c84 types: add unit tests 2018-06-20 18:20:57 +01:00
Dan Williams
5820658a5e vendor: add ginkgo and gomega 2018-06-20 18:20:57 +01:00
Dan Williams
1c8ad953d0 test: add test.sh script 2018-06-20 18:20:57 +01:00
Dan Williams
7597640a21 multus: update for CNI 0.7.0-alpha1 release 2018-06-20 18:20:57 +01:00
Dan Williams
92a8b1c1c9 vendor: update containernetworking/cni and add containernetworking/plugins
Updated containernetworking/cni moves pkg/ns to containernetworking/plugins
so we need that now too.
2018-06-20 18:20:57 +01:00
Dan Williams
61d212c59a multus/types: handle delegates as Go structs and other cleanups 2018-06-20 18:20:57 +01:00
Tomofumi Hayashi
8895358816 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 16:23:56 +09:00
Tomofumi Hayashi
02413ae6dc Change .travis.yml to put built binary in release. (#81)
This change adds built binary into release page in tagging.
2018-05-18 16:22:45 +09:00