Yaakov Selkowitz
1a364a9120
Fix flatpak build
2023-02-20 10:48:11 -05:00
Andrea Claudi
e2a8a76a86
iproute-6.1.0-1
...
* Fri Jan 27 2023 Andrea Claudi <aclaudi@redhat.com> - 6.1.0-1
- New version 6.1.0 [2114514]
Resolves: rhbz#2114514
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
2023-01-27 20:11:50 +01:00
Fedora Release Engineering
a833ccb56d
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 13:18:39 +00:00
Jiri Olsa
3b389914ec
libbpf 1.0 support
...
Extra release for libbpf 1.0 build.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
2022-11-28 08:31:42 +01:00
Andrea Claudi
35ccaf5271
iproute-6.0.0-1
...
* Thu Oct 06 2022 Andrea Claudi <aclaudi@redhat.com> - 6.0.0-1
- New version 6.0.0 [2114514]
- Fix some trailing whitespaces in iproute.spec
- Also fix eln build (wrongly including SOURCE1 file)
Resolves: rhbz#2114514
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
2022-10-06 16:19:22 +02:00
Fedora Release Engineering
c48c29082d
Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 14:48:38 +00:00
Andrea Claudi
9b3f8a94d6
iproute-5.18.0-1
...
* Tue Jun 14 2022 Andrea Claudi <aclaudi@redhat.com> - 5.18.0-1
- New version 5.18.0 [2090930]
Resolves: rhbz#2090930
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
2022-06-15 01:04:40 +02:00
Andrea Claudi
59e7b4ef2f
iproute-5.17.0-2
...
* Wed Mar 30 2022 Andrea Claudi <aclaudi@redhat.com> - 5.17.0-2
- iproute.spec: do not ship routel (Andrea Claudi) [2068118]
Resolves: rhbz#2068118
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
2022-03-30 18:11:16 +02:00
Andrea Claudi
93abbcde57
iproute-5.17.0-1
...
* Wed Mar 23 2022 Andrea Claudi <aclaudi@redhat.com> - 5.17.0-1
- New version 5.17.0 [2039103]
Resolves: rhbz#2039103
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
2022-03-23 15:46:09 +01:00
Fedora Release Engineering
bc9be1bd5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 13:24:55 +00:00
Andrea Claudi
dfbb7f212c
iproute-5.15.0-1
...
* Thu Nov 04 2021 Andrea Claudi <aclaudi@redhat.com> - 5.15.0-1
- New version 5.15.0 [2019267]
Resolves: rhbz#2019267
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
2021-11-04 18:52:27 +01:00
Andrea Claudi
665ce7375f
iproute-5.14.0-1
...
* Wed Oct 20 2021 Andrea Claudi <aclaudi@redhat.com> - 5.14.0-1
- New version 5.14.0 [1999860]
Resolves: rhbz#1999860
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
2021-10-20 14:51:03 +02:00
Fedora Release Engineering
477162c605
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 08:41:51 +00:00
Andrea Claudi
89005f26e9
Rebase package on top of iproute2-5.13.0
...
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
2021-06-30 13:18:11 +02:00
Andrea Claudi
c193bd78b0
Rebase package on top of iproute2-5.12.0
...
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
2021-04-27 21:49:35 +02:00
Andrea Claudi
50c05074a3
Rebase package on top of iproute2-5.11.0
...
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
2021-02-26 18:13:05 +01:00
Robert Scheck
e100ed01fc
Spec file cleanup
2021-02-26 18:05:13 +01:00
Fedora Release Engineering
9440bece43
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 14:27:39 +00:00
Tom Stellard
d90e533c29
Add BuildRequires: make
...
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-05 06:19:41 +00:00
Andrea Claudi
49aaa709ec
Rebase package on top of iproute2-5.10.0
...
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
2020-12-21 21:23:08 +01:00
Andrea Claudi
32597caac4
Rebase package on top of iproute2-5.9.0
...
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
2020-12-04 14:36:58 +01:00
Andrea Claudi
26cbcf8539
Add Provides: iproute-doc
...
This fix an rpmlint warning caused by Obsoletes: iproute-doc without
any package providing it.
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
2020-12-04 14:05:40 +01:00
Andrea Claudi
6e849e5270
Fix rpmlint warn unversioned-explicit-provides on tc
...
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
2020-12-02 20:30:07 +01:00
Andrea Claudi
495711a13b
Use rpm configure/build/install rpm macros
...
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
2020-12-02 20:25:07 +01:00
Phil Sutter
3e3e60bdb8
Rebase package on top of iproute2-5.8.0
2020-08-10 12:35:26 +02:00
Fedora Release Engineering
fc0b49e928
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 01:55:14 +00:00
Phil Sutter
415ca14088
Rebase package on top of iproute2-5.7.0
2020-06-04 13:03:44 +02:00
Phil Sutter
ba82a86837
Rebase package on top of iproute2-5.5.0
2020-01-28 11:08:54 +01:00
Phil Sutter
51429ab2bf
Rebase package on top of iproute2-5.4.0
2019-11-26 17:27:08 +01:00
Phil Sutter
26d638db91
iproute-5.3.0-2
...
- ifcfg script uses killall, therefore requires psmisc package
2019-10-08 13:51:27 +02:00
Ondřej Lysoněk
e919693bef
Add a dependency on psmisc
...
The ifcfg script uses killall, provided by the psmisc package.
2019-10-08 12:32:08 +02:00
Phil Sutter
34a4fc8582
Rebase package on top of iproute2-5.3.0
2019-09-26 10:00:14 +02:00
Fedora Release Engineering
40ec840b2d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 09:39:27 +00:00
Phil Sutter
0e7954e5ce
Rebase package on top of iproute2-5.2.0
2019-07-23 18:02:51 +02:00
Phil Sutter
deafa1de44
Rebase package on top of iproute2-5.1.0
2019-05-29 15:31:42 +02:00
Phil Sutter
c40aafdb36
Restore Provides: /sbin/ip
...
In Rawhide, packages pptp and resource-agents still use it.
2019-03-20 14:07:57 +01:00
Phil Sutter
5a8ceeb824
Rebase package on top of iproute2-5.0.0
2019-03-20 08:59:19 +01:00
Phil Sutter
ae59d604a2
Rebase package on top of iproute2-4.20.0
2019-02-01 11:14:04 +01:00
Phil Sutter
e213879f21
Rebase package on top of iproute2-4.20.0
2019-02-01 08:52:52 +01:00
Fedora Release Engineering
9a0f298de7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 03:29:46 +00:00
Igor Gnatenko
85b3e0591e
Remove obsolete Group tag
...
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:08 +01:00
Phil Sutter
1b3b4aee09
man: ip-route: Clarify referenced versions are Linux ones
2018-09-19 20:06:59 +02:00
Phil Sutter
3ce5d0a3bf
iprule: Fix destination prefix output
2018-08-31 11:52:03 +02:00
Phil Sutter
941d2e148b
Make colored output configurable
2018-08-23 17:58:43 +02:00
Phil Sutter
81eb9cb3c9
Fix ss filter expressions
2018-08-16 13:31:29 +02:00
Phil Sutter
a3ce5bfd28
Rebase package on top of iproute2-4.18.0
2018-08-14 20:07:04 +02:00
Susant Sahani
1418f9951a
CI: Add ip neighbour to test
...
sample run
```
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Test
:: Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 17:23:10 ] :: [ LOG ] :: ip neighbor tests
:: [ 17:23:10 ] :: [ LOG ] :: ip neighbor tests
:: [ 17:23:10 ] :: [ BEGIN ] :: Running '/usr/bin/python3 /usr/bin/ip-neighbor-tests.py'
test_add_neighbor (__main__.IPNeighborTests) ... 192.168.100.1 lladdr 00:c0:7b:7d:00:c8 PERMANENT
ok
test_replace_neighbor (__main__.IPNeighborTests) ... 192.168.99.254 lladdr 00:80:c8:27:69:2d PERMANENT
192.168.99.254 lladdr 00:80:c8:27:69:2d PERMANENT
ok
----------------------------------------------------------------------
Ran 2 tests in 0.053s
OK
:: [ 17:23:10 ] :: [ PASS ] :: Command '/usr/bin/python3 /usr/bin/ip-neighbor-tests.py' (Expected 0, got 0)
:: [ 17:23:10 ] :: [ PASS ] :: Command '/usr/bin/python3 /usr/bin/ip-neighbor-tests.py' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 0s
:: Duration: 0s
:: Assertions: 1 good, 0 bad
:: Assertions: 1 good, 0 bad
:: RESULT: PASS
:: RESULT: PASS
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Cleanup
:: Cleanup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
```
2018-08-02 17:24:20 +05:30
Susant Sahani
90c1f77538
CI: Add ip route to test
...
Sample run
'''
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Test
:: Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 18:23:29 ] :: [ LOG ] :: ip route tests
:: [ 18:23:29 ] :: [ LOG ] :: ip route tests
:: [ 18:23:29 ] :: [ BEGIN ] :: Running '/usr/bin/python3 /usr/bin/ip-route-tests.py'
test_add_blackhole (__main__.IPRouteTests) ... default via 192.168.225.1 dev wlp4s0 proto dhcp metric 600
10.0.0.0/8 via 10.67.116.1 dev tun0 proto static metric 50
10.67.116.0/22 dev tun0 proto kernel scope link src 10.67.117.15 metric 50
blackhole 192.168.1.0/24
192.168.225.0/24 dev wlp4s0 proto kernel scope link src 192.168.225.101 metric 600
192.168.225.1 dev wlp4s0 proto static scope link metric 600
209.132.188.220 via 192.168.225.1 dev wlp4s0 proto static metric 600
192.168.225.1 dev wlp4s0 proto static scope link metric 600
209.132.188.220 via 192.168.225.1 dev wlp4s0 proto static metric 600
ok
test_add_prohibit (__main__.IPRouteTests) ... default via 192.168.225.1 dev wlp4s0 proto dhcp metric 600
10.0.0.0/8 via 10.67.116.1 dev tun0 proto static metric 50
10.67.116.0/22 dev tun0 proto kernel scope link src 10.67.117.15 metric 50
prohibit 192.168.1.0/24
192.168.225.0/24 dev wlp4s0 proto kernel scope link src 192.168.225.101 metric 600
192.168.225.1 dev wlp4s0 proto static scope link metric 600
209.132.188.220 via 192.168.225.1 dev wlp4s0 proto static metric 600
ok
test_add_route (__main__.IPRouteTests) ... default via 192.168.225.1 dev wlp4s0 proto dhcp metric 600
10.0.0.0/8 via 10.67.116.1 dev tun0 proto static metric 50
10.67.116.0/22 dev tun0 proto kernel scope link src 10.67.117.15 metric 50
192.168.1.0/24 dev dummy-test scope link
192.168.225.0/24 dev wlp4s0 proto kernel scope link src 192.168.225.101 metric 600
192.168.225.1 dev wlp4s0 proto static scope link metric 600
209.132.188.220 via 192.168.225.1 dev wlp4s0 proto static metric 600
ok
test_add_route_table (__main__.IPRouteTests) ... 192.168.1.0/24 dev dummy-test scope link
ok
test_add_throw (__main__.IPRouteTests) ... default via 192.168.225.1 dev wlp4s0 proto dhcp metric 600
10.0.0.0/8 via 10.67.116.1 dev tun0 proto static metric 50
10.67.116.0/22 dev tun0 proto kernel scope link src 10.67.117.15 metric 50
throw 192.168.1.0/24
192.168.225.0/24 dev wlp4s0 proto kernel scope link src 192.168.225.101 metric 600
192.168.225.1 dev wlp4s0 proto static scope link metric 600
209.132.188.220 via 192.168.225.1 dev wlp4s0 proto static metric 600
ok
test_add_unreachable (__main__.IPRouteTests) ... default via 192.168.225.1 dev wlp4s0 proto dhcp metric 600
10.0.0.0/8 via 10.67.116.1 dev tun0 proto static metric 50
10.67.116.0/22 dev tun0 proto kernel scope link src 10.67.117.15 metric 50
unreachable 192.168.1.0/24
192.168.225.0/24 dev wlp4s0 proto kernel scope link src 192.168.225.101 metric 600
192.168.225.1 dev wlp4s0 proto static scope link metric 600
209.132.188.220 via 192.168.225.1 dev wlp4s0 proto static metric 600
ok
----------------------------------------------------------------------
Ran 6 tests in 0.155s
OK
:: [ 18:23:29 ] :: [ PASS ] :: Command '/usr/bin/python3 /usr/bin/ip-route-tests.py' (Expected 0, got 0)
:: [ 18:23:29 ] :: [ PASS ] :: Command '/usr/bin/python3 /usr/bin/ip-route-tests.py' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 1s
:: Duration: 1s
:: Assertions: 1 good, 0 bad
:: Assertions: 1 good, 0 bad
:: RESULT: PASS
:: RESULT: PASS
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Cleanup
:: Cleanup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
'''
2018-07-31 18:22:25 +05:30
Susant Sahani
0b5c720c9c
CI: Add netns to test
...
Sample run:
```
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Test
:: Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 15:37:14 ] :: [ LOG ] :: ip netns tests
:: [ 15:37:14 ] :: [ LOG ] :: ip netns tests
:: [ 15:37:14 ] :: [ BEGIN ] :: Running '/usr/bin/python3 /usr/bin/ip-netns-tests.py'
test_add_dummy_interface_to_ns (__main__.IPNsTests) ... 1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: gre0@NONE: <NOARP> mtu 1476 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/gre 0.0.0.0 brd 0.0.0.0
3: gretap0@NONE: <BROADCAST,MULTICAST> mtu 1462 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
4: erspan0@NONE: <BROADCAST,MULTICAST> mtu 1446 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
4: erspan0@NONE: <BROADCAST,MULTICAST> mtu 1446 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
5: ip6tnl0@NONE: <NOARP> mtu 1452 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/tunnel6 :: brd ::
6: ip6gre0@NONE: <NOARP> mtu 1448 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/gre6 :: brd ::
7: tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ipip 0.0.0.0 brd 0.0.0.0
8: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/sit 0.0.0.0 brd 0.0.0.0
9: ip_vti0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ipip 0.0.0.0 brd 0.0.0.0
143: dummy-test: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 6e:d1:ba:73:59:c5 brd ff:ff:ff:ff:ff:ff
ok
test_add_ns (__main__.IPNsTests) ... ok
test_add_veth_interface_to_ns (__main__.IPNsTests) ... 1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: gre0@NONE: <NOARP> mtu 1476 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/gre 0.0.0.0 brd 0.0.0.0
3: gretap0@NONE: <BROADCAST,MULTICAST> mtu 1462 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
4: erspan0@NONE: <BROADCAST,MULTICAST> mtu 1446 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
5: ip6tnl0@NONE: <NOARP> mtu 1452 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/tunnel6 :: brd ::
6: ip6gre0@NONE: <NOARP> mtu 1448 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/gre6 :: brd ::
7: tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ipip 0.0.0.0 brd 0.0.0.0
8: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/sit 0.0.0.0 brd 0.0.0.0
9: ip_vti0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ipip 0.0.0.0 brd 0.0.0.0
144: test-peer@if145: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 62:ce:d1:9f:bc:de brd ff:ff:ff:ff:ff:ff link-netnsid 0
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: gre0@NONE: <NOARP> mtu 1476 qdisc noop state DOWN group default qlen 1000
link/gre 0.0.0.0 brd 0.0.0.0
3: gretap0@NONE: <BROADCAST,MULTICAST> mtu 1462 qdisc noop state DOWN group default qlen 1000
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
4: erspan0@NONE: <BROADCAST,MULTICAST> mtu 1446 qdisc noop state DOWN group default qlen 1000
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
5: ip6tnl0@NONE: <NOARP> mtu 1452 qdisc noop state DOWN group default qlen 1000
link/tunnel6 :: brd ::
6: ip6gre0@NONE: <NOARP> mtu 1448 qdisc noop state DOWN group default qlen 1000
link/gre6 :: brd ::
7: tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
link/ipip 0.0.0.0 brd 0.0.0.0
8: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
link/sit 0.0.0.0 brd 0.0.0.0
9: ip_vti0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
link/ipip 0.0.0.0 brd 0.0.0.0
144: test-peer@if145: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 62:ce:d1:9f:bc:de brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet 10.200.1.2/24 scope global test-peer
valid_lft forever preferred_lft forever
inet6 fe80::60ce:d1ff:fe9f:bcde/64 scope link tentative
valid_lft forever preferred_lft forever
PING 10.200.1.1 (10.200.1.1) 56(84) bytes of data.
64 bytes from 10.200.1.1: icmp_seq=1 ttl=64 time=0.063 ms
64 bytes from 10.200.1.1: icmp_seq=2 ttl=64 time=0.042 ms
64 bytes from 10.200.1.1: icmp_seq=3 ttl=64 time=0.054 ms
64 bytes from 10.200.1.1: icmp_seq=4 ttl=64 time=0.059 ms
64 bytes from 10.200.1.1: icmp_seq=5 ttl=64 time=0.064 ms
--- 10.200.1.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4073ms
rtt min/avg/max/mdev = 0.042/0.056/0.064/0.010 ms
ok
----------------------------------------------------------------------
Ran 3 tests in 4.431s
Ran 3 tests in 4.431s
OK
:: [ 15:37:18 ] :: [ PASS ] :: Command '/usr/bin/python3 /usr/bin/ip-netns-tests.py' (Expected 0, got 0)
:: [ 15:37:18 ] :: [ PASS ] :: Command '/usr/bin/python3 /usr/bin/ip-netns-tests.py' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 4s
:: Duration: 4s
:: Assertions: 1 good, 0 bad
:: Assertions: 1 good, 0 bad
:: RESULT: PASS
:: RESULT: PASS
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Cleanup
:: Cleanup
```
2018-07-31 15:36:29 +05:30
Susant Sahani
e3e7ca1187
CI: Add l2tp to test
...
Sample run
```
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Test
:: Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 15:21:16 ] :: [ LOG ] :: ip l2tp tests
:: [ 15:21:16 ] :: [ LOG ] :: ip l2tp tests
:: [ 15:21:16 ] :: [ BEGIN ] :: Running '/usr/bin/python3 /usr/bin/ip-l2tp-tests.py'
test_add_l2tp_add_tunnel (__main__.IPL2tpTests) ... Tunnel 3000, encap UDP
From 192.168.11.12 to 192.168.11.13
Peer tunnel 4000
UDP source / dest ports: 5000/6000
UDP checksum: disabled
ok
test_add_l2tp_add_tunnel_session (__main__.IPL2tpTests) ... Tunnel 3000, encap UDP
From 192.168.11.12 to 192.168.11.13
Peer tunnel 4000
UDP source / dest ports: 5000/6000
UDP checksum: disabled
Session 1000 in tunnel 3000
Peer session 2000, tunnel 4000
interface name: l2tpeth0
offset 0, peer offset 0
ok
test_setup_l2tp (__main__.IPL2tpTests) ... Tunnel 3000, encap UDP
From 192.168.11.12 to 192.168.11.13
Peer tunnel 4000
UDP source / dest ports: 5000/6000
UDP checksum: disabled
Session 1000 in tunnel 3000
Peer session 2000, tunnel 4000
interface name: l2tpeth0
offset 0, peer offset 0
Tunnel 4000, encap UDP
From 192.168.11.13 to 192.168.11.12
Peer tunnel 3000
UDP source / dest ports: 6000/5000
UDP checksum: disabled
Tunnel 3000, encap UDP
From 192.168.11.12 to 192.168.11.13
Peer tunnel 4000
UDP source / dest ports: 5000/6000
UDP checksum: disabled
Session 2000 in tunnel 4000
Peer session 1000, tunnel 3000
interface name: l2tpeth1
offset 0, peer offset 0
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp0s31f6: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
link/ether 8c:16:45:6c:83:b9 brd ff:ff:ff:ff:ff:ff
3: wlp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
link/ether 7c:76:35:ea:89:90 brd ff:ff:ff:ff:ff:ff
4: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1360 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 100
link/none
92: gre0@NONE: <NOARP> mtu 1476 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/gre 0.0.0.0 brd 0.0.0.0
93: gretap0@NONE: <BROADCAST,MULTICAST> mtu 1462 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
94: erspan0@NONE: <BROADCAST,MULTICAST> mtu 1446 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
100: ip6tnl0@NONE: <NOARP> mtu 1452 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/tunnel6 :: brd ::
101: ip6gre0@NONE: <NOARP> mtu 1448 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/gre6 :: brd ::
104: tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ipip 0.0.0.0 brd 0.0.0.0
117: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/sit 0.0.0.0 brd 0.0.0.0
126: ip_vti0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ipip 0.0.0.0 brd 0.0.0.0
168: test-peer@veth-test: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 96:03:08:d2:65:40 brd ff:ff:ff:ff:ff:ff
169: veth-test@test-peer: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether c2:8c:3b:9f:ea:32 brd ff:ff:ff:ff:ff:ff
170: l2tpeth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1488 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 1000
link/ether 76:41:ec:b9:d2:75 brd ff:ff:ff:ff:ff:ff
171: l2tpeth1: <BROADCAST,MULTICAST> mtu 65481 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 8e:7f:ab:21:a2:ea brd ff:ff:ff:ff:ff:ff
PING 10.42.1.2 (10.42.1.2) 56(84) bytes of data.
64 bytes from 10.42.1.2: icmp_seq=1 ttl=64 time=0.013 ms
64 bytes from 10.42.1.2: icmp_seq=2 ttl=64 time=0.043 ms
64 bytes from 10.42.1.2: icmp_seq=3 ttl=64 time=0.066 ms
64 bytes from 10.42.1.2: icmp_seq=4 ttl=64 time=0.045 ms
64 bytes from 10.42.1.2: icmp_seq=5 ttl=64 time=0.041 ms
--- 10.42.1.2 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4126ms
rtt min/avg/max/mdev = 0.013/0.041/0.066/0.018 ms
ok
----------------------------------------------------------------------
Ran 3 tests in 4.322s
OK
:: [ 15:21:21 ] :: [ PASS ] :: Command '/usr/bin/python3 /usr/bin/ip-l2tp-tests.py' (Expected 0, got 0)
:: [ 15:21:21 ] :: [ PASS ] :: Command '/usr/bin/python3 /usr/bin/ip-l2tp-tests.py' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 5s
:: Duration: 5s
:: Assertions: 1 good, 0 bad
:: Assertions: 1 good, 0 bad
:: RESULT: PASS
:: RESULT: PASS
```
2018-07-30 15:22:04 +05:30