History | View | Annotate | Download (1.8 kB)
Refactor ifup-extra script
1) Look for all kind of tags (interface specific or not): some-prefix:1:mail some-prefix:snf-nic-12345:mail some-prefix:8252fabd-1021-411c-b8f7-ed79ed509bb8:mail some-prefix:mail
2) some-prefix must be other than synnefo:network:...
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 <dimara@grnet.gr>
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 correspondingtag is found it should always be removed at the beginning of thescript. With other words you should remove stale entries before...