Fix typo in URL in README.md
Add Copyright headers, add README.md
Fix a few typos
Changes in debian files
- install: kvm-ifup-custom, kvm-ifdown-custom- default: SNF_NETWORK_LOG, LOGFILE, TTL- links: kvm-vif-bridge
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Merge branch 'develop' into debian-develop
Minor fix related to logging in dnshook
Add docs
Fix ebtables in vif-custom
..and remove any unused rules (comments) related to ebtables
Rename kvm-vif-bridge to kvm-ifup-custom
Package will create a symlink until this gets renamed inupstream Ganeti as well.
Add kvm-ifdown-custom script
This should do any cleanup needed related to the interfacethat is going down.
Move things inside get_info()
Log table's uplink only if exists
Minor changes related to logging
Some minor fixes..
- Use NETWORK_SUBNET6 since this is exported by Ganeti and not just SUBNET6- All logging in helper function- Do not send GARP or delete neighbor proxy if desired vars are not set
Introduce get_info helper method
It gets the exported environment and calculates all needed vars fora specific interface. Use this function early in scripts and assoon as you extract each interface info in hooks.
Make get_info caclulate ebtables chain names
Use env var for logging script
Rename dnshook and fix-net
..to snf-network-dnshook and snf-network-hook correspondingly.
Use arpsend instead of arping
arpsend comes along with ndsend with vzctl package.We send only one packet in order not to delay ifup script.
Small changes in if* scripts
Factor out common funtions from dnshook
hooks-log -> snf-network-log
Bump version to 0.15.8next
Add ifup-extra script
..in install and default.
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:...
Do not add ebtables rule for dhcp response
nfdhpcd opens a socket and binds it with tap interface. So dhcpresponse will NOT go though the bridge and ebtables rule isnot needed.
Fix typo in ebtables
If interface has an IP we used to add a rule that does not allowpackets coming from TAP to have a different IP. There was a typoin if statement and the rule did never apply.
Still, we do NOT want this rule so we fix typo and comment the...
Create ebtables chains with RETURN policy
This fixes inter-node private networks in case of multicast packets.Multicast packets are forwarded to all interfaces bridgedon the bridge. Lets assume the following:
prv0 bridge with tap0, tap1, and eth1.From tap0 comes a multicast packet....
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.
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...
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)...
Setup ebtables only for mac filtered setups
We used to drop DHCP requests for all bridged setups in case ofnfdhcpd. This requires ebtables setup for private vlans as well.
Dropping DHCP requests in case of nfdhcpd is not really neededbecause they are dropped in user space...
Bump version to 0.15.8-1~wheezy
Merge branch 'master' into debian-wheezy
Bump version to 0.15.8
Bump version to 0.15.7-1~wheezy
Bump version to 0.15.7
Bump version to 0.15.6-1~wheezy
Bump version to 0.15.6
Bump version to 0.15.5-1~wheezy
Bump version to 0.15.5
Add TTL in default file
..and let snf-network-hook only as migrate/failover post hook.
Install dnshook in post stop
Some refactor related to get_* functions
Gather all get_* function in get_info() and invoke it inside everyNIC configuration script.
Several minor fixes
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.
Update debian files
Minor changes in log
Update dns in vif-custom
..just like in kvm-ifup
Some minor fixes
Great refactor in kvm-ifdown and dnshook
Make dnshook responsible for reseting all dns entries of aninstance. It queries the server and issues one by one commandsto remove any A, AAAA, PTR entries. It does not get any infofrom the exported environment since now works only instance level...
Various renames
Fix links for kvm-if*
Ganeti uses kvm-vif-bridge/kvm-if*-custom for external scripts.
Setup DNS in kvm-ifup
1 2 3 Next » (1-100/249) | Per page: 25, 50, 100
Also available in: Atom