Statistics
| Branch: | Tag: | Revision:

root @ a67910c4

Name Size
README 417 Bytes
common.sh 5.3 kB
devflow.conf 57 Bytes
dnshook 6 kB
fix-net 1.2 kB
hooks-log 163 Bytes
ifup-extra 872 Bytes
interfaces 2.5 kB
kvm-vif-bridge 1.4 kB
mac2eui64 1.1 kB
pylintrc 2.7 kB
runlocked 4.5 kB
version 11 Bytes
vif-custom 1.4 kB

Latest revisions

# Date Author Comment
a67910c4 03/04/2014 12:50 pm Dimitris Aragiorgis

Fix ebtables

1) Add ebtables in INPUT/OUTPUT chains too
This is needed because multicast packets
(e.g. with dst address 01:00:83:xx:xx:xx) do NOT go through forward chain

2) In case of nfdhpcd allow DHCP replies only with src address the
MAC address of incoming device (e.g. prv0)...

3f64dc08 03/04/2014 12:50 pm Dimitris Aragiorgis

Add sample rules in ifup-extra

Here we allows outgoing traffic with destination port 25.

Please note that every rule that is added when the corresponding
tag is found it should always be removed at the beginning of the
script. With other words you should remove stale entries before...

dc1bb18b 03/04/2014 12:50 pm Dimitris Aragiorgis

Support execution of extra script

In case of kvm-ifup, if an extra script (/etc/ganeti/ifup-extra)
exists, execute it before exiting.

An dummy example script is given, that parses instance's tags,
and searches for synnefo:network:<ident>:mail.

Signed-off-by: Dimitris Aragiorgis <>

b725f126 01/13/2014 12:02 pm Dimitris Aragiorgis

Make fix-net use common.sh and correct env vars

Helper functions for getting uplink and eui64 reside in common.sh

New Ganeti provides correct GANETI_NEW_PRIMARY GANETI_OLD_PRIMARY
environment variables. Use them in hooks.

Signed-off-by: Dimitris Aragiorgis <>

1bdc9427 01/13/2014 11:03 am Dimitris Aragiorgis

Move fix-net logic from hooks to if-up

In target node we used to run arping and ndsend. Move these
commands to if-up script.

Introduce helper function to get eui64 and uplink.

Signed-off-by: Dimitris Aragiorgis <>

cae36f02 01/09/2014 03:09 pm Dimitris Aragiorgis

Use correct env vars in fix-net hook

After fixing HooksEnv and HooksNodes in Ganeti migration opcode
to include both source and target nodes, use them correctly in
fix-net hook.

Signed-off-by: Dimitris Aragiorgis <>

0363b080 12/09/2013 02:25 pm Dimitris Aragiorgis

return in case expected env vars are not set

In case of IPv6 only setup, IP environment variable should not be
set. Still if we have a routed setup routed_setup_ipv4() gets invoked.

This means that the following command will be invoked:

ip route replace proto static dev tap3 table public...

cf903dc8 12/09/2013 02:01 pm Dimitris Aragiorgis

Remove unused dsnhook.conf file

The relevant settings have been moved in /etc/default/snf-network.

Signed-off-by: Dimitris Aragiorgis <>

996a6beb 12/09/2013 01:26 pm Dimitris Aragiorgis

runlocked forgotten ebtables command

Signed-off-by: Dimitris Aragiorgis <>

48122640 12/07/2013 09:25 pm Dimitris Aragiorgis

Some fixes/changes in dnshook

  • Do not exit if something fails
  • Split update_* for IPv4/IPv6
  • Add hooks-log at crucial points
  • Fix typos

Signed-off-by: Dimitris Aragiorgis <>

View all revisions | View revisions

Also available in: Atom