Refactor ifup-extra script
authorDimitris Aragiorgis <dimara@grnet.gr>
Fri, 28 Feb 2014 10:14:49 +0000 (12:14 +0200)
committerDimitris Aragiorgis <dimara@grnet.gr>
Fri, 28 Feb 2014 10:34:42 +0000 (12:34 +0200)
commit4d3b088057a65e2b4044fb980d7beaba6e10b9a9
tree0c0841a8ea6c8c567cd9dc8174b6a34693b35bf3
parent054ff79a2d432e5c212a95d0654e6a155f2c8af5
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:

3) introduce setup_extra and clean_extra functions.

4) clean_extra must remove all possible rules that setup_extra could
   have previously added.

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
ifup-extra