~dmzoneill/charm-policy-routing:feature/enabled-disable

Last commit made on 2019-08-27
Get this branch:
git clone -b feature/enabled-disable https://git.launchpad.net/~dmzoneill/charm-policy-routing
Only David O Neill can upload to this branch. If you are David O Neill please log in for upload directions.

Branch merges

Branch information

Name:
feature/enabled-disable
Repository:
lp:~dmzoneill/charm-policy-routing

Recent commits

c75c318... by David O Neill

Added enable and disable feature

b0ae820... by Peter Sabaini

Add functional tests

82c3b82... by Dmitrii Shcherbakov

add bionic series support to the charm

1d54a53... by Dmitrii Shcherbakov

fix directly connected route handling

The ip rule added by the charm makes all traffic from a given subnet to
be evaluated for forwarding purposes against a secondary routing table.

However, this routing table does not contain directly connected routes
for subnets present in the main routing table which are added by the
kernel based on assigned interface ip addresses. This leads to the fact
that even traffic that is supposed to be forwarded by virtue of ARP
without going through the default gateway still goes to the default
gateway. In some cases the default gateway can filter out traffic going
from a subnet that is directed to the same subnet, e.g.

from 192.0.2.0/24 to 192.0.2.0/24

The expectation is, generally, that end hosts can communicate using
just switches on a single segment/link via ARP and MAC learning.

This change adds a more specific policy rule to have all link-local
traffic evaluated against the main routing table.

https://www.freedesktop.org/software/systemd/man/systemd.service.html#ExecStart=
"this directive may be specified more than once with the same effect"

0f33220... by Nicolas Pochet

Add charmhelpers

75f1b86... by Nicolas Pochet

Fix lp:1792142

* Move the hook to python
* Check if an IP rule exists or not. If it is the case, just exit and
set status to active.

07f2bc7... by James Hebden

Added README

3e7850a... by James Hebden

Initial commit of policy-routing charm