networkd: add support to set route table
authorSusant Sahani <ssahani@redhat.com>
Tue, 3 May 2016 17:48:21 +0000 (23:18 +0530)
committerSusant Sahani <ssahani@redhat.com>
Tue, 3 May 2016 17:48:21 +0000 (23:18 +0530)
commitc953b24c651afc47abed8ea63381501aa82eb2e8
tree884bde52531bec7d48857b30c403f6986a011d23
parentec1bb279316bd262346d37554f930b69b63104bb
networkd: add support to set route table

networkd: add support to set route table
1. add support to configure the table id.
   if id is less than 256 we can fit this in the header of route as
   netlink property is a char. But in kernel this proepty is a
   unsigned 32. Hence if greater that 256 add this as RTA_TABLE
attribute.

2. we are not setting the address family now. Now set this property.
man/systemd.network.xml
src/network/networkd-network-gperf.gperf
src/network/networkd-route.c
src/network/networkd-route.h