9c9a8e991d
Merge pull request #271 from nagiesek/dnsRuntimeConfigWindows
...
Windows: Add runtime DNS and del bug fix
2019-03-27 10:58:05 -05:00
f55d8d02ce
Merge pull request #276 from s1061123/dev/add-dhcp-systemd-file
...
Add systemd unit file to activate socket with systemd
2019-03-27 09:23:15 -05:00
d577d9cc24
DHCP: include Subnet Mask option parameter in DHCPREQUEST
...
DHCP REQUEST from DHCP plugin does not include Subnet Mask option parameter (1). Some DHCP servers need that option to be explicit in order to return it in a DHCPACK message.
If not, DHCP plugin returns "DHCP option Subnet Mask not found in DHCPACK" error msg in this type of scenario.
2019-03-26 12:49:48 -07:00
4ec62ac295
Fix -hostprefix option
...
Fix #267
2019-03-26 18:27:46 +09:00
9fab520c37
Portmap: append, rather than prepend, entry rules
...
This means that portmapped connections can be more easily controlled /
firewalled.
2019-03-18 14:03:13 -05:00
b1814d7f9a
Add systemd unit file to activate socket with systemd
...
This changes to add sample systemd unit files to activate socket
with systemd. Fix #156 .
2019-03-14 16:03:23 +09:00
b71e8db683
Windows: Add runtime DNS and del bug fix
...
This adds the dns capability for supplying a runtime dnsConfig from a CRI. It also includes a bug fix for removing an endpoint when no IPAM is supplied. Adds version dependency of 0.3.0. Mild updates to windows READMEs.
2019-03-12 20:56:11 -07:00
afd7391938
Merge pull request #266 from huynq0911/fix_redundant_import_alias
...
Fix redundant import alias
2019-02-27 14:12:22 -06:00
a95d48bb01
Merge pull request #215 from nagiesek/addHcnSupport
...
Windows: Adds support for Host Compute Calls for Win-Bridge
2019-02-27 14:11:45 -06:00
57b42a7b99
Windows: Adds HCS Calls and Bug Fixes
...
Move the windows plugin to use the Host Compute (v2) APIs, as well
as clean-up the code. Allows win-bridge to use either the old API or Host Compute (v2) api
depending on a conf parameter. Fixes a leaked endpoint issue on windows for the v1 flow, and
removes the hns/pkg from the linux test run.
2019-02-27 08:49:34 -08:00
4bca3e76bf
Fix redundant import alias
...
Because these package names are short and they are unique, it can not conflict. So the import aliases that can be omitted and we should remove them.
2019-02-20 16:58:45 +07:00
1865a0701e
Merge pull request #212 from plwhite/sbrplugin
...
Create new Source Based Routing plugin
2019-02-06 10:15:56 -06:00
29928cff4d
Create new Source Based Routing plugin
...
This creates a new plugin (sbr) which sets up source based routing, for use
as a chained plugin for multi-network environments.
2019-01-31 09:27:59 +00:00
c74e0e9967
Merge pull request #255 from saravanakumar-periyasamy/master
...
some DHCP servers expect to request for explicit router options
2019-01-30 10:07:20 -06:00
9226c9642d
Merge pull request #254 from daschott/master
...
Added CONTRIBUTORS.md for Windows and CNI plugins OWNERS.md
2019-01-30 10:06:50 -06:00
d29d56bc4d
Fix host-device README.md
...
host-device's README.md missing 'type' field, so this change
just adds 'type' in config example.
2019-01-30 01:51:57 +09:00
f891fd9e9a
some DHCP servers expect to request for explicit router options
2019-01-28 19:44:53 -06:00
a5378f2ccf
added CONTRIBUTORS.md for Windows and CNI plugins OWNERS.md
2019-01-25 13:25:56 -08:00
a686cc4bd8
Merge pull request #248 from JoeWrightss/patch-1
...
Fix some spelling errors
2019-01-09 09:50:38 -06:00
f0208611ad
Fix some spelling errors
...
Signed-off-by: JoeWrightss <zhoulin.xie@daocloud.io >
2018-12-29 21:26:28 +08:00
59a746bd52
remove gateway check
...
Signed-off-by: bingshen.wbs <bingshen.wbs@alibaba-inc.com >
2018-11-29 12:59:38 +08:00
3fb464786f
Merge pull request #195 from SchSeba/l2-bridge
...
L2 bridge Implementation
2018-11-21 08:41:24 -08:00
bf47e9aa1b
Allow L2 connection for the bridge cni plugin.
2018-11-21 17:57:10 +02:00
0af31fc4d0
Change dhcp plugin to send ClientID allowing container to have multiple CNI
...
interfaces using dhcp ipam.
Vendor latest dhcp4server, dhcp4client, dhcp4
Added additional tests for new functionality in dhcp2_test.go
Wrap d2g dhcp4client calls with our own which add clientID to packet.
2018-11-15 11:31:56 -05:00
227a4c15fa
Add container ifName to the dhcp clientID, making the clientID value
...
now equal to: ContainerID / Host Network / ifname inside container
Use clientID as a key for the lease
2018-11-09 17:27:05 -05:00
71e026426f
Merge pull request #227 from mccv1r0/check-vendor
...
Vendor github.com/containernetworking/cni libcni and pkg
2018-11-07 16:14:39 +00:00
5fc8209482
Merge pull request #218 from hwchiu/fix-readme
...
fix the typo of macvlan and also modify documents to meet the current plugins.
2018-11-07 09:30:29 -06:00
6f3332e9fe
Fix for windows too
2018-11-05 16:52:12 -05:00
ddbf22f7f9
Vendor github.com/containernetworking/cni libcni and pkg file needed for CHECK
...
Update plugins/tests to deal with changes made to this vendor'ed code
2018-11-05 16:35:03 -05:00
d3284f7c5e
Support the IPAM for host-device plugin
...
- Change variable name to camel style to fix golint warning
- Execute the IPAM to assign the IP address if it's inside in the config
- Test the IPAM module with static plugin
2018-11-01 01:12:47 +00:00
f006155b66
Add the missing documents for some existing plugins
2018-10-18 02:20:52 +00:00
e3ec4a74d0
fix the typo, we use the passthru in the macvlan.go
2018-10-17 17:15:43 +00:00
b93d284d18
Merge pull request #213 from Random-Liu/handle-empty-netns
...
Handle empty netns in DEL for `loopback` and `host-device`.
2018-10-17 10:21:29 -05:00
2955d63c95
Handle empty netns in DEL for loopback
and host-device
.
...
Signed-off-by: Lantao Liu <lantaol@google.com >
2018-10-10 10:49:06 -07:00
d2ebd0a4c2
Merge branch 'master' of github.com:containernetworking/plugins into issue164
2018-10-10 12:28:43 -04:00
22b11bb367
Keep defaultSocketPath the same as before
2018-10-10 11:35:57 -04:00
73106f0ece
Remove unused pidfilePath const
...
Moved global var's to BeforeEach()
2018-10-09 16:57:58 -04:00
75e35b6c01
Added new test cases.
...
Add two interfaces (e.g. eth0, eth1) to the same container.
Ensure each file now has ContainerID and ifname.
Delete one, ensure that the right file was deleted.
Add an interface using just ContainerID in the file.
Delete to verify we are still backwards compatible with any
files created using earlier verison of host-local plugin.
2018-10-09 13:13:36 -04:00
37715a0f87
Moved directory walk, compare file code to it's own function
2018-10-09 13:13:36 -04:00
a17cadda88
Handle the case of a Delete for a reservation stored with just ContainerID without the interface
2018-10-09 13:13:36 -04:00
1e8f9525a6
Obtain ifname from CmdArgs and pass to backend Add ifname to second line of file tracking the IP address used by ContainerID
...
Update host-local tests to use ifname along with ContainerID
in store file
Signed-off-by: Michael Cambria <mcambria@redhat.com >
2018-10-09 13:13:36 -04:00
ef913eadd5
Took out os.Remove() for socketPath and pidfilePath now that os.RemoveAll() is used
2018-10-08 16:01:31 -04:00
3d349e4645
Ensure /run/cni exists in the filesystem before running dhcp tests
2018-10-08 14:08:37 -04:00
5fd849ac6d
Use tempDir in socket path for ginkgo parallelization
2018-10-08 11:31:03 -04:00
6d3215a256
Allow socket path used by dhcp plugin to be supplied via dhcp ipam configuration
...
Allow socket path to be supplied as flag when starting dhcp daemon
2018-10-08 11:30:01 -04:00
646dbbace1
Merge pull request #165 from s1061123/dev/static-args
...
Support CNI_ARGS in static IPAM plugin
2018-09-24 21:00:09 -05:00
9b86f52791
Merge pull request #200 from s1061123/fix/tuning-doc
...
Add description for mac/mtu/promisc in tuning README.md
2018-09-24 20:53:38 -05:00
8a579a7fbc
Merge pull request #204 from mrostecki/always-check-err
...
Add missing error checks
2018-09-24 20:52:38 -05:00
b56ca2fe45
Windows Support
...
Patch for https://github.com/containernetworking/plugins/pull/85
+ Windows cni plugins are added
(*) win-bridge (hostgw)
(*) win-overlay (vxlan)
+ Windows netconf unit test
+ Fix appveyor config to run the test
+ Build release support for windows plugins
Address comments
From:
- https://github.com/containernetworking/plugins/pull/85
- 0049c64e3f
2018-09-21 00:34:07 +08:00
93178bf026
Fix typo.
2018-09-20 22:18:15 +09:00