5a408187d4
static ipam: show confusing error msg
...
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com >
2021-06-25 11:24:54 +01:00
77233dd79d
plugins: remove flannel
...
Now that the flannel CNI plugin has been moved to
https://github.com/flannel-io/cni-plugin , we should remove it from here.
Signed-off-by: Casey Callendrello <cdc@redhat.com >
2021-06-02 17:38:32 +02:00
4b180a9d9c
refactor(win-bridge): netconf
...
- support v2 api
- unify v1 and v2 api
BREAKING CHANGE:
- remove `HcnPolicyArgs` field
- merge `HcnPolicyArgs` into `Policies` field
Signed-off-by: thxcode <thxcode0824@gmail.com >
2021-05-27 23:49:16 +08:00
ec75bb8587
chore(win-bridge): text related
...
- format function names
- add/remove comments
- adjust message of error
Signed-off-by: thxcode <thxcode0824@gmail.com >
2021-05-27 23:14:11 +08:00
6618a0aba8
Merge pull request #623 from anuragensemble/multi-ip-intf
...
Add multi IP support for SBR
2021-05-19 10:33:40 -05:00
af26bab500
host-local: support ip/prefix in env args and CNI args
...
Signed-off-by: Bruce Ma <brucema19901024@gmail.com >
2021-05-17 21:12:45 +08:00
f72aa98629
[sbr]: Use different tableID for every ipCfg
...
Check tableID not in use for every ipCfg
This allows SBR plugin to accommodate for multi-ip interfaces
Fixes #581
Signed-off-by: Anurag Dwivedi <anuragensemble1@gmail.com >
2021-05-15 19:33:58 +05:30
d917ab6b0c
Merge pull request #599 from mars1024/feat/hostlocal-ips
...
host-local: support custom IPs allocation through runtime configuraton
2021-05-05 11:33:27 -04:00
faf6d2629d
Merge pull request #626 from Luap99/tuning-mac
...
tuning: always update MAC in CNI result
2021-05-05 10:24:13 -05:00
bdaaa20ef2
tuning: always update MAC in CNI result
...
Since the CNI Spec bump to v1.0 the tuning plugin no longer updates the
mac address in the cni result for 0.4.0 or below configs. I don't think
this ever worked when the cni result was converted to a different version.
A test has been added to ensure it is working for all spec versions.
Signed-off-by: Paul Holzinger <paul.holzinger@web.de >
2021-05-05 13:48:47 +02:00
820fee9c33
tuning: Add support of altering the allmulticast flag
...
This adds support to allow the tuning plugin to enable/disable the
allmulticast mode of the interface. When enabled it instructs the
network driver to retrieve all multicast packets from the network.
Signed-off-by: Björn Svensson <bjorn.a.svensson@est.tech >
2021-04-28 10:20:04 +02:00
f34c600ea4
[sbr]: Use different tableID for every ipCfg
...
Move default table routes which match the ipCfg config
This allows SBR plugin to accommodate for multi-ip interfaces
Fixes #581
Signed-off-by: Anurag Dwivedi <anuragensemble1@gmail.com >
2021-04-27 12:34:30 +05:30
b41052c547
Merge pull request #593 from thetechnick/ipam-static-nil-check-fix
...
Fix nil-pointer check
2021-04-14 18:00:42 +02:00
8f32968f73
Fix nil-pointer check
...
Signed-off-by: Nico Schieder <nschieder@redhat.com >
2021-04-13 13:42:23 +02:00
028fc2f219
host-local: support custom IPs allocation through runtime configuration
...
Signed-off-by: Bruce Ma <brucema19901024@gmail.com >
2021-04-13 17:53:43 +08:00
bc856372bb
go.mod: godbus/dbus/v5 v5.0.3, coreos/go-systemd v22.2.0
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2021-04-09 00:07:25 +02:00
5b02c2ab70
Fix broken links to online docs in plugin READMEs
...
Signed-off-by: Kavya <kavya.g@ibm.com >
2021-03-25 13:07:33 +05:30
b811967444
remove redundant startRange in RangeIter due to overlap check on multi ranges
...
Signed-off-by: Bruce Ma <brucema19901024@gmail.com >
2021-03-04 11:50:54 +08:00
d385120175
Merge pull request #537 from dcbw/100
...
Port plugins to CNI 1.0.0 and increase old verison test coverage
2021-03-03 10:51:56 -06:00
1c1799ef39
Merge pull request #589 from mars1024/feat/sysctl
...
portmap: use slashes in sysctl template to support interface names which separated by dots
2021-03-03 10:19:02 -06:00
178d7c0934
fix(win-bridge): panic while calling HNS api
...
Signed-off-by: thxcode <thxcode0824@gmail.com >
2021-02-26 10:49:02 +08:00
e09a17fe64
portmap: use slashes in sysctl template to support interface names which separated by dots
...
Signed-off-by: Bruce Ma <brucema19901024@gmail.com >
2021-02-25 14:47:34 +08:00
e31cd2ce1a
[macvlan] Stop setting proxy-arp on macvlan interface
...
The original issue was: https://github.com/containernetworking/cni/issues/84
I've added "a fix" for it in
https://github.com/containernetworking/cni/pull/149 which then was
merged in https://github.com/containernetworking/cni/pull/177
The thing is that "the fix" was incorrect as it was setting 1 on
arp_proxy (I really don't recall why) instead of setting it on
arp_notify - which was my original suggestion in:
https://github.com/rkt/rkt/issues/1765#issuecomment-188776317
Setting apr_proxy can be harmfull and we have already support for
sending GratuitousArpOverIface after setting an IP address, so setting
any sysctl should not be needed.
Signed-off-by: Piotr Skamruk <piotr.skamruk@gmail.com >
2021-02-21 11:34:12 +01:00
8e540bf3dc
tuning: increase test coverage to 1.0.0 and older spec versions
...
Signed-off-by: Dan Williams <dcbw@redhat.com >
2021-02-15 10:25:20 -06:00
d2e5b5decb
portmap: increase test coverage to 1.0.0 and older spec versions
...
Signed-off-by: Dan Williams <dcbw@redhat.com >
2021-02-15 10:08:24 -06:00
8f7fe6d8e8
flannel: increase test coverage to 1.0.0 and older spec versions
...
Signed-off-by: Dan Williams <dcbw@redhat.com >
2021-02-12 15:12:54 -06:00
f33eedb6eb
firewall: increase test coverage to 1.0.0 and older spec versions
...
Signed-off-by: Dan Williams <dcbw@redhat.com >
2021-02-12 14:56:24 -06:00
da52be35bc
bandwidth: increase test coverage to 1.0.0 and older spec versions
...
Signed-off-by: Dan Williams <dcbw@redhat.com >
2021-02-12 14:56:24 -06:00
02cdaafe93
host-local: increase test coverage to 1.0.0 and older spec versions
...
Signed-off-by: Dan Williams <dcbw@redhat.com >
2021-02-12 14:56:24 -06:00
f534133ec7
static: increase test coverage to 1.0.0 and older spec versions
...
Signed-off-by: Dan Williams <dcbw@redhat.com >
2021-02-12 14:41:38 -06:00
932653fd3f
dhcp: increase test coverage to 1.0.0 and older spec versions
...
Signed-off-by: Dan Williams <dcbw@redhat.com >
2021-02-12 14:41:38 -06:00
dd3f6064f6
dhcp: add -resendmax option to limit lease acquisition time for testcases
...
The default lease acquisition timeout of 62 seconds is way too long when
running multiple testcases, overrunning the `go test` timeout of 10m. Let
testcases specify a shorter timeout.
Signed-off-by: Dan Williams <dcbw@redhat.com >
2021-02-12 14:41:38 -06:00
4ddc8ba460
vlan: increase test coverage to 1.0.0 and older spec versions
...
Signed-off-by: Dan Williams <dcbw@redhat.com >
2021-02-11 23:27:08 -06:00
f56545ca74
ptp: increase test coverage to 1.0.0 and older spec versions
...
Signed-off-by: Dan Williams <dcbw@redhat.com >
2021-02-11 23:27:08 -06:00
bbf7189c32
macvlan: increase test coverage to 1.0.0 and older spec versions
...
Signed-off-by: Dan Williams <dcbw@redhat.com >
2021-02-11 23:27:08 -06:00
5eae558a8e
loopback: increase test coverage to 1.0.0 and older spec versions
...
Signed-off-by: Dan Williams <dcbw@redhat.com >
2021-02-11 23:27:08 -06:00
5096b53918
ipvlan: increase test coverage to 1.0.0 and older spec versions
...
Signed-off-by: Dan Williams <dcbw@redhat.com >
2021-02-11 23:27:08 -06:00
34cee8c758
host-device: increase test coverage to 1.0.0 and older spec versions
...
Signed-off-by: Dan Williams <dcbw@redhat.com >
2021-02-11 23:27:08 -06:00
c3c286c1c9
bridge: increase test coverage to 1.0.0 and older spec versions
...
Signed-off-by: Dan Williams <dcbw@redhat.com >
2021-02-11 23:27:08 -06:00
c8f341dff9
bridge: simplify version-based testcase code
...
Signed-off-by: Dan Williams <dcbw@redhat.com >
2021-02-11 23:27:08 -06:00
7d8c767622
plugins: update to spec version 1.0.0
...
Signed-off-by: Dan Williams <dcbw@redhat.com >
2021-02-11 23:27:08 -06:00
fa48f7515b
ipam/dhcp: Add broadcast flag
...
Signed-off-by: Micah Hausler <hausler.m@gmail.com >
2021-02-05 16:38:32 +01:00
8feef71fd3
add flannel to support dual stack ip
...
support three mode ip stack:
- only ipv4 stack
- only ipv6 stack
- dual stack ip
Signed-off-by: yaoice <yao3690093@gmail.com >
2021-01-27 17:18:02 +01:00
343d233b4f
bandwidth: fix panic in tests
...
Check error before using return value
Signed-off-by: Shengjing Zhu <zhsj@debian.org >
2021-01-25 01:13:27 +08:00
8c66d687c7
Merge pull request #565 from tlwr/main
...
DHCP timeout is configurable
2021-01-20 17:47:25 +01:00
49ee6f3768
Merge pull request #566 from crandles/fix-vlan-errors
...
vlan: fix error message text by removing ptp references
2021-01-20 10:44:39 -06:00
d41acb83c4
host-device: Add support for DPDK device ( #490 )
...
This commit would make host-device plugin as a placeholder
for DPDK device when applications wants to attach it with
a pod container through network attachment definition.
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@est.tech >
2021-01-20 17:35:42 +01:00
075c5a0d67
[main/vlan] Fix error handling for delegate IPAM plugin
...
Signed-off-by: Piotr Skamruk <piotr.skamruk@gmail.com >
2021-01-14 15:52:19 +01:00
a8d1f5cd1b
dhcp: default dhcp clien timeout is 10s
...
Consistent with ef524ad9cb/client.go (L39)
Signed-off-by: toby lorne <toby@toby.codes >
Co-authored-by: bruce ma <brucema19901024@gmail.com >
2021-01-13 19:24:41 +00:00
354def76b4
vlan: fix error message text by removing ptp references
...
Signed-off-by: Chris Randles <randles.chris@gmail.com >
2021-01-12 10:02:40 -05:00