Statistics
| Branch: | Tag: | Revision:

root / common.sh @ a004c27e

History | View | Annotate | Download (8.5 kB)

# Date Author Comment
a004c27e 02/03/2014 05:31 pm Dimitris Aragiorgis

Several minor fixes

Signed-off-by: Dimitris Aragiorgis <>

838c1835 01/31/2014 04:37 am Dimitris Aragiorgis

Small changes in if* scripts

  • Factor out GARP and neighbor proxy action from setup_routed*
  • Invoke send_garp in kvm-ifup
  • Invoke delete_neighbor_proxy in kvm-ifdown

Signed-off-by: Dimitris Aragiorgis <>

4bda656e 01/31/2014 04:24 am Dimitris Aragiorgis

Move migrate hook action to if-down

On old primary we should issue some rules if migration succeeds.
Now this can be done in if-down script.

Use arpsend instead of arping.

Signed-off-by: Dimitris Aragiorgis <>

2ef1ff70 01/31/2014 03:48 am Dimitris Aragiorgis

Minor changes in log

Signed-off-by: Dimitris Aragiorgis <>

58645c13 01/31/2014 03:37 am Dimitris Aragiorgis

Some minor fixes

  • In Ganeti hooks instance name is available via
    GANETI_INSTANCE_NAME. In NIC configuration scripts it is via
    INSTANCE. Make common.sh take both since methods there are
    being executed in both contexts.
  • Fix a typo

Signed-off-by: Dimitris Aragiorgis <>

b795153e 01/30/2014 07:38 pm Dimitris Aragiorgis

Use env var for logging script

Signed-off-by: Dimitris Aragiorgis <>

264562c1 01/29/2014 05:23 pm Dimitris Aragiorgis

Factor out common funtions from dnshook

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 <>

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...

a336b166 12/07/2013 04:25 pm Dimitris Aragiorgis

Support firewalls based on NINC index, uuid, names

Signed-off-by: Dimitris Aragiorgis <>

1409faba 10/23/2013 03:00 pm Stratos Psomadakis

Serialize the excecution of ebtables processes

ebtables cannot handle multiple userspace ebtables processes running
concurrently. This could lead to failures while setting up or cleaning
up ebtables for VM networks.

ebtables latest release (included in Debian Wheezy) supports ebtables...

38305e4c 05/12/2013 01:11 am Dimitris Aragiorgis

Add vif-custom script and split kvm-vif-bridge

Put functions in /usr/lib/snf-network/common.sh

Signed-off-by: Dimitris Aragiorgis <>