ffnord / ffnord-puppet-gateway

Deploy and manage your Freifunk community gateway, mostly compatible with Gluon.
15 stars 13 forks source link

Allow to configure more than one IPv6 prefix via mesh_ipv6 directive #36

Open ohrensessel opened 9 years ago

ohrensessel commented 9 years ago

Some communities might use more than one prefix in the mesh, especially during some transition period. the variable mesh_ipv6 in ffnord::mesh should be changed to support an array of IPv6 addresses.

sargon commented 9 years ago

Debian allows multiple ip addresses on one interface, as described in https://wiki.debian.org/NetworkConfiguration#Multiple_IP_addresses_on_One_Interface . It is my opinion that because of the configuration structure we should leave one ipv6 prefix as a primary. And introduce an additional array of addresses, e.g. mesh_ipv6_additional. This will keep restructures small.

ohrensessel commented 9 years ago

That's a good idea. I had a look at the manifests involved and got the impression that this will take quite a lot of rework. So your idea might be a good approach here.

do9xe commented 9 years ago

I am working on this right now. At first I will only add a second prefix, later I will add an array.

ohrensessel commented 9 years ago

how far are you with that? really interested

do9xe commented 9 years ago

I stoped working on this, because @sargon wanted to change the something before. I'm not sure how to set up an array of addresses, I could only add another. I'm not that good in puppet now. If you can do this it is okay.

sargon commented 9 years ago

Something has been done in #54. So all the dependencies, to not have to duplicate the inline_templates for network address calculation, are in place.

ohrensessel commented 9 years ago

It would also be fine for me if it would only be possible to add one further address. an array would be nicer indeed but if we have the possiblity to get support for adding one additional address at less effort thats also ok for the moment

sargon commented 9 years ago

When we have the on address thing, extending it to the array of addresses thing is very easy. So @do9xe just start with that and give us an early pullreq for discussion.

ohrensessel commented 9 years ago

any news on this topic? :)

do9xe commented 9 years ago

not really :P I don't think I will finish it until 31c3 :P got a lot to do :/ if you want it befor, assign yourself :) no problem for me :)

2014-12-21 22:42 GMT+01:00 Leo Krueger notifications@github.com:

any news on this topic? :)

— Reply to this email directly or view it on GitHub https://github.com/ffnord/ffnord-puppet-gateway/issues/36#issuecomment-67785994 .

ohrensessel commented 9 years ago

how is the status here? ;)

do9xe commented 9 years ago

As you know I hade some commits doen, but they were wrong. At the moment its hard to finde time, but I will try to get this done within the next one or two weeks at work. I don't know whats upcoming, I'll keep you posted on IRC :)