Commit Graph

169 Commits

Author SHA1 Message Date
Manohar Castelino
4af3be8241 Merge remote-tracking branch 'upstream/master' 2015-12-10 12:05:59 -08:00
Vish Ishaya
3e530fc6dc Merge pull request #74 from mcastelino/master
Add support for creating gretap interfaces and setting and retrieving interface by alias.
2015-12-10 11:56:09 -08:00
Vish Ishaya
6d5f3e0419 Merge pull request #79 from krhubert/fixBond
Fix build error
2015-12-10 11:54:25 -08:00
Manohar Castelino
3e9cd37dc3 Added support for setting all gretap parameters 2015-12-10 10:57:59 -08:00
Manohar Castelino
4dbdaec42d Merge remote-tracking branch 'krhubert_netlink/fixBond' 2015-12-10 09:44:36 -08:00
Manohar Castelino
40ccc37ce5 Resolved upstream merge conflicts 2015-12-10 09:36:26 -08:00
Hubert Krauze
066d9e83e8 Fix tests 2015-12-10 11:09:24 +01:00
Hubert Krauze
0d84fd3936 Use NewLinkAttrs 2015-12-10 10:36:47 +01:00
Hubert Krauze
0fade0d7ec Fix build error 2015-12-10 10:34:34 +01:00
Vish Ishaya
8c46a90072 Merge pull request #78 from marek-polewski/bond
add bond interface support
2015-12-09 21:21:57 -08:00
Vish Ishaya
3b59128e69 Merge pull request #77 from krhubert/fixLinkAdd
Add link.Attrs().Flags during creating link
2015-12-09 21:19:43 -08:00
Vish Ishaya
7f3b1cdb14 Merge pull request #73 from marek-polewski/master
New route fields, and route filtration
2015-12-09 21:18:43 -08:00
Vish Ishaya
760b69fc4b Merge pull request #72 from krhubert/addr
Add scope and flags support for netlink address
2015-12-09 21:17:53 -08:00
Vish Ishaya
7f91072058 Merge pull request #70 from krhubert/master
Add support for rules
2015-12-09 21:16:24 -08:00
Vish Ishaya
f22a18dee2 Merge pull request #76 from krhubert/fix75
Fix #75
2015-12-09 19:39:36 -08:00
Hubert Krauze
487b33a083 Support Rule tun id 2015-12-09 14:14:24 +01:00
Hubert Krauze
97758f316b Remove FlagMask from Rule 2015-12-09 14:07:11 +01:00
marek-polewski
656c395788 add bond interface support 2015-12-09 13:33:45 +01:00
Hubert Krauze
9f8d5e7e60 Add link.Attrs().Flags during creating link 2015-12-09 12:47:37 +01:00
Hubert Krauze
ec75580958 Add test for adding non existing master, use new api - LinkSetNoMaster 2015-12-09 12:26:37 +01:00
Hubert Krauze
a88e39d806 Check if master Bridge exists when LinkSetMaster 2015-12-09 12:25:52 +01:00
Hubert Krauze
2f58676854 Create LinkSetNoMaster function 2015-12-09 12:25:42 +01:00
Hubert Krauze
124b1f4449 Table driven test for Addr 2015-12-09 11:53:28 +01:00
Hubert Krauze
f351153998 Remove FlagsMask from Addr struct 2015-12-09 11:30:21 +01:00
Manohar Castelino
a1013b839d Merge remote-tracking branch 'upstream/master' 2015-12-08 16:44:09 -08:00
Manohar Castelino
f8776950ce Added support for creating gretap.
Equivalent to ip link add <name> type gretap local <localIP> remote <remoteIP> key <key>
2015-12-08 16:37:03 -08:00
marek-polewski
889a43b83d remove routeFilter struct and use route and mask instead
rename iif to iLinkIndex
2015-12-08 23:35:55 +01:00
Vish Ishaya
edcd99c088 Merge pull request #71 from krhubert/feat
Add support for IPv6 in NewIPNet
2015-12-03 08:45:49 -08:00
Manohar Castelino
4c5782b0e9 Add support for alias set and retrieve interface by alias 2015-11-30 11:57:00 -08:00
marek-polewski
b5b45b160b add route filtration structure 2015-11-26 16:31:53 +01:00
marek-polewski
dfdad47336 add protocol, priority, table, type, tos to route 2015-11-26 16:09:33 +01:00
Hubert Krauze
87df994490 Add scope and flags support for netlink address 2015-11-26 12:47:18 +01:00
Hubert Krauze
39cd2806f3 Add support for IPv6 in NewIPNet 2015-11-26 12:02:35 +01:00
Marek Polewski
7d55ffec7d Add missing rule related syscalls const 2015-11-26 11:58:26 +01:00
Marek Polewski
89945b09c0 Add support for rules 2015-11-26 11:50:07 +01:00
Vish Ishaya
a57a12c1b1 Merge pull request #67 from chantra/class_replace
Class replace/change
2015-11-17 11:21:57 -08:00
Vish Ishaya
c081f9bb20 Merge pull request #65 from eyakubovich/neigh-list-filtered
Pass linkIndex filter into kernel for NeighList
2015-11-17 11:20:44 -08:00
Vish Ishaya
3e8d52b0f9 Merge pull request #64 from chantra/tc_replace
Add support to replace/change qdisc
2015-11-17 11:20:18 -08:00
Vish Ishaya
7aac33f9ad Merge pull request #63 from krhubert/master
fix NeightSet functions
2015-11-17 11:18:28 -08:00
chantra
bc12fcdc7f Add ClassReplace and ClassChange
Along with unittests
2015-11-14 23:16:33 -05:00
chantra
19a1f20ae8 [class] refactor class functions to use a common classModify function
This prevents duplicated code and make adding other commands such as replace, change easier
2015-11-13 22:51:07 -05:00
Eugene Yakubovich
1b0df1a7d3 Pass linkIndex filter into kernel for NeighList
This turns out to be especially important as there
appears to be a bug in the kernel with bonding.
The bug causes an infinite amount of fdb entries
to be returned (it just cycle through the interfaces)
if no interface filter is set.
2015-11-12 17:21:14 -08:00
chantra
eeca6ddad9 [qdisc] refactor all commands to use qdiscModify function 2015-11-12 09:55:13 -05:00
chantra
e1c5c4e664 [qdisc] move building payload i its own function 2015-11-12 09:46:43 -05:00
chantra
b530ef5ad1 [qdisc] add support for replace/change 2015-11-11 23:57:32 -05:00
Hubert
37122b306c docs: replace NeighAdd with NeighSet 2015-11-10 14:38:50 +01:00
Hubert
4dca3fe96e fix: NeighSet don't replace neigh when it exists 2015-11-10 14:36:42 +01:00
Vish Ishaya
00326095f5 Merge pull request #55 from chantra/netem_qdisc
[netem] minimalist support for netem
2015-11-05 09:27:25 -08:00
Vish Ishaya
56b302fe8b Merge pull request #61 from safchain/getfd
Add an accessor to the fd of the netlink socket
2015-11-05 09:26:58 -08:00
Sylvain Afchain
add4a8a814 Add an accessor to the fd of the netlink socket
Giving a such access could be usefull in order to use
the socket in a non-blocking way. This is especially useful
when using it in a network namespace since the namespace can be
deleted and one can be blocked in a Receive operation.
2015-11-05 11:28:57 +01:00