Michael Cambria
7f389e7e7c
Make conflistDel() behave like conflistAdd()
...
conflistAdd() finds binaries differently than conflistDel().
Make the two call find binaries the same way.
Fixes #179
Signed-off-by: Michael Cambria <mcambria@redhat.com>
2018-12-19 15:51:36 -05:00
dougbtv
da20d1d875
[rbac] Tightens down RBAC for clusterrole
2018-12-19 15:51:36 -05:00
Michael Cambria
fa2e35c4d4
Fix logFile to match configuration json
...
The Logging Options section of README describes how to specify a file
to log to. There is a typo, LogFile should be logFile to match the
json.
Fixes #177
Signed-off-by: Michael Cambria <mcambria@redhat.com>
2018-12-19 15:51:36 -05:00
dougbtv
35e4ee50a4
Fixes flannel daemonset stuck in pod queue in Kubernetes 1.12.x per #170
2018-12-19 15:51:36 -05:00
dougbtv
ae626b4aa5
[bugfix][divergence] Diverges from master in requiring change to logging.Debugf value changed from string
2018-11-01 22:41:56 +09:00
Shahar Klein
25fd3ca8bc
Seems like the ENTRYPOINT value must be quoted
...
Signed-off-by: Shahar Klein <shaharklein@gmail.com>
2018-11-01 22:41:56 +09:00
Tomofumi Hayashi
5380edbe6e
Fix TravisCI for the failure of 'go get golint'
2018-11-01 22:41:56 +09:00
Tomofumi Hayashi
980edbdf6c
TravisCI yaml parameterized
...
This change fixes #143 , to make some specific TravisCI args parameter.
2018-11-01 22:41:56 +09:00
Doug Smith
ae9a1a5c10
Default network readiness [NOTE: Conflict due to omitted commit during cherry pick for stable]
2018-11-01 22:41:56 +09:00
Kuralamudhan Ramakrishnan
959ffaac3b
Update README.md
2018-11-01 22:41:56 +09:00
Kuralamudhan Ramakrishnan
346bed2d9d
Update README.md
2018-11-01 22:41:56 +09:00
Abdul Halim
66361bfbb2
fixed some typos in comments
...
Change-Id: Ieb650479b6b0fef1a4ecaeb2c3c1a7c15fff43d5
2018-11-01 22:41:56 +09:00
Abdul Halim
1ba90bad00
added checkpoint tests file
...
Change-Id: I53551660ffd017fe170de58abdf7a96e29178000
2018-11-01 22:41:56 +09:00
Abdul Halim
484385456b
refactoring checkpoint.go code to be testable
...
this changes will allow mocking checkpoint instance for unit tests
Change-Id: I72fb25d15d5c9f28577a0fcbfcd385df523a5e57
2018-11-01 22:41:56 +09:00
Abdul Halim
5988b7a82b
only create resourceMap on demand
...
making resourceMap a singleton object and only initialize it once
if one or more CRDs have a resourceName annotation in them.
Added copyright header for checkpoint/checkpoint.go.
Replaced fmt.Errorf with logging.
Change-Id: I54628d69324833e70a75dcf6533e6642dedde9b5
2018-11-01 22:41:56 +09:00
Abdul Halim
2cfaa19dda
updated examples/README.md
...
Change-Id: I650fec86659b3690e1dc4b15bf84b6574cb0baba
2018-11-01 22:41:56 +09:00
Abdul Halim
539e92b8b0
parse kubelet checkpoint file for pod devices
...
Enabling kubelete checkpoint file parsing to get Pod device info
so that these device information can be passed into CNI plugins
that need specific device information to work on.
Change-Id: I6630f56adc0a8307f575fc09ce9090c1ffca0337
2018-11-01 22:41:56 +09:00
Louis Woods
93237e6161
Improve grep in entrypoint.sh to only find .conf and .conflist files
2018-11-01 22:41:56 +09:00
Louis Woods
bae3adf158
Add the option to auto generate 00-multus.conf
...
When `--multus-conf-file=auto` is used, 00-multus.conf will be
automatically generated from the CNI configuration file of the master
plugin (the first file in lexicographical order in cni-conf-dir).
2018-11-01 22:41:56 +09:00
Tomofumi Hayashi
e9aa18319d
Add bracket [] in Dockerfile's entrypoint to parse argument correctly.
2018-11-01 22:41:56 +09:00
Nirmoy Das
635a275746
fix typo in the readme files
2018-09-12 18:09:51 +01:00
Tomofumi Hayashi
517f2d4b7a
Revert "Merge branch 'dev/k8s-deviceid-model' into master"
...
This reverts commit 194c27fadf
, reversing
changes made to 96d4d79d1f
.
2018-08-30 20:15:30 +09:00
Abdul Halim
194c27fadf
Merge branch 'dev/k8s-deviceid-model' into master
2018-08-30 10:48:18 +01:00
dougbtv
96d4d79d1f
[docs] Remove coveralls badge from README
2018-08-28 08:56:43 +01:00
Tomofumi Hayashi
7d6cdab105
Updates npwg-demo-1 files to track latest changes
...
Almost files in npwg-demo-1 are fixed but I found several files
still use old definitons. This changes fix the stuff.
2018-08-28 08:56:10 +01:00
Doug Smith
88bd2eb653
Merge pull request #137 from intel/dockerfile-move
...
[dockerfile] Moves Dockerfile to root
2018-08-27 17:01:22 -04:00
dougbtv
8d38b3c6af
[dockerfile] Moves Dockerfile to root
2018-08-27 16:55:46 -04:00
Kuralamudhan Ramakrishnan
86af6ab69f
Update test.sh with coveralls job inclusion
2018-08-18 12:39:50 +01:00
dougbtv
e43f06b61d
[ci][coveralls] Adds coveralls code coverage during Travis CI run, adds CI badges
2018-08-17 17:45:19 +01:00
Tomofumi Hayashi
4d5ae295cc
Fix glide.yaml
...
This change fixes glide.yaml: track on cni's subpackage change and
some error about bytes package. With this change, verified that
'glide up' works without any error.
2018-08-17 13:32:01 +01:00
rkamudhan
f0f1d506c4
fixing the cmddel fix code
2018-08-17 00:45:05 +01:00
rkamudhan
b01f784504
handling the multiple cmd del call from kubelet
2018-08-17 00:45:05 +01:00
Tomofumi Hayashi
6d3216c340
Add debug log for newly added functions.
2018-08-17 00:43:31 +01:00
Tomofumi Hayashi
8e4c092192
Convert bytes to string in Debugf()
2018-08-17 00:43:31 +01:00
Tomofumi Hayashi
7d3626a5c0
Add logging message for debug/error
...
This changes adds logging message:debug and error. fmt.Errorf() is
wrapped by logging.Errorf() hence all error message is also put to
log file. logging.Debugf() is called at almost function call, so
we could track the code by logging message.
2018-08-17 00:43:31 +01:00
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