Statistics
| Branch: | Tag: | Revision:

root / fix-net @ edaf6687

History | View | Annotate | Download (1.2 kB)

# Date Author Comment
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 <>

ad5c908a 12/07/2013 04:42 pm Dimitris Aragiorgis

Practically rewrite dnshook

Make it more readable.

Introduce specific methods for getting reverse dns info of an IPv4
or eui64.

Parse every nic info and check for DNS_FLAG network flag

Do not explicitly pass zone statement to nsupdate. Let it determine...

22023e89 10/28/2013 11:37 am Dimitris Aragiorgis

Use the script name when logging

Signed-off-by: Dimitris Aragiorgis <>

65e751e1 10/27/2013 12:51 pm Dimitris Aragiorgis

Rename clear-proxy-ndp to fix-net

Signed-off-by: Dimitris Aragiorgis <>