Dan Williams
3a9cf4a9a2
multus: simplify teardown on add error and clarify error message
...
Signed-off-by: Dan Williams <dcbw@redhat.com >
2019-02-22 09:07:03 -05:00
Tomofumi Hayashi
73e10fb999
Add multusNamespace/systemNamespaces config
...
This change provides new configuration parameters, multusNamespace
and systemNamespaces for flexible namespace management.
The change addresses issue #252 and issue #253 .
2019-02-19 09:53:17 -05:00
Mathieu Rohon
a51309c532
[dependency] Add portmap capability support (Other changes were dependent on changes made in this commit)
...
Signed-off-by: Mathieu Rohon <mathieu.rohon@orange.com >
2018-12-20 13:07:32 -05:00
Alona Kaplan
c4feebc6c9
[divergence] Support IPRequest to specify IP address for interface
2018-12-19 16:03:08 -05:00
Tomofumi Hayashi
bcc6e21587
Fix rebase conflicts.
2018-12-19 16:02:35 -05:00
Tomofumi Hayashi
dd9fedee2a
Remove unnecessary else clause
2018-12-19 15:55:45 -05:00
Tomofumi Hayashi
dae85d7781
Support MacRequest to specify MAC address for interface
2018-12-19 15:55:44 -05:00
Tomofumi Hayashi
6b0266148b
Add clusterNetwork/defaultNetwork into multus
...
To support CRD/file/directory, add clusterNetwork/defaultNetwork
in multus.conf file.
2018-12-19 15:55:44 -05:00
Tomofumi Hayashi
55792b94d5
Add unit tests for clusterNetwork/defaultNetworks
2018-12-19 15:55:44 -05:00
Tomofumi Hayashi
bb89e538eb
[divergence] Add clusterNetwork/defaultNetwork into multus
...
To support CRD/file/directory, add clusterNetwork/defaultNetwork
in multus.conf file.
2018-12-19 15:55:37 -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
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
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
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
rkamudhan
8bb09518df
adding network status features
2018-07-30 14:58:30 +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
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
Tomofumi Hayashi
371b27b16a
Incorporate rkamudhan's comment.
2018-07-13 15:10:53 +09: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
0b1e8689dc
k8sclient: use Go struct to parse annotations and add unit tests
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
61d212c59a
multus/types: handle delegates as Go structs and other cleanups
2018-06-20 18:20:57 +01:00