Commit 71ae4854 authored by Romain Courteaud's avatar Romain Courteaud

Provide KumoFS access over IPv6.

parent 93804130
...@@ -34,5 +34,5 @@ configure-options = ...@@ -34,5 +34,5 @@ configure-options =
--with-msgpack=${messagepack:location} --with-msgpack=${messagepack:location}
environment = environment =
CPPFLAGS=-I${zlib:location}/include -I${openssl:location}/include CPPFLAGS=-I${zlib:location}/include -I${openssl:location}/include -DKUMO_IPV6
LDFLAGS=-L${zlib:location}/lib -L${openssl:location}/lib -Wl,-rpath=${tokyocabinet:location}/lib -Wl,-rpath=${messagepack:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${openssl:location}/lib LDFLAGS=-L${zlib:location}/lib -L${openssl:location}/lib -Wl,-rpath=${tokyocabinet:location}/lib -Wl,-rpath=${messagepack:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${openssl:location}/lib
...@@ -29,7 +29,7 @@ from slapos.recipe.librecipe import GenericBaseRecipe ...@@ -29,7 +29,7 @@ from slapos.recipe.librecipe import GenericBaseRecipe
class Recipe(GenericBaseRecipe): class Recipe(GenericBaseRecipe):
def install(self): def install(self):
ip = self.options['ip'] ip = "[%s]" % self.options['ip']
kumo_manager_port = int(self.options['manager-port']) kumo_manager_port = int(self.options['manager-port'])
kumo_server_port = int(self.options['server-port']) kumo_server_port = int(self.options['server-port'])
kumo_server_listen_port = int(self.options['server-listen-port']) kumo_server_listen_port = int(self.options['server-listen-port'])
......
...@@ -217,7 +217,7 @@ mode = 640 ...@@ -217,7 +217,7 @@ mode = 640
[template-kumofs] [template-kumofs]
< = template-jinja2-base < = template-jinja2-base
filename = instance-kumofs.cfg filename = instance-kumofs.cfg
md5sum = 7e13d689de7163dcab64e8df4711cdd7 md5sum = b7fb712bcb1b809bb62a3c95a76fee86
extra-context = extra-context =
key dash_location dash:location key dash_location dash:location
key dcron_location dcron:location key dcron_location dcron:location
......
...@@ -17,13 +17,13 @@ offline = true ...@@ -17,13 +17,13 @@ offline = true
[publish-kumofs-connection-information] [publish-kumofs-connection-information]
recipe = slapos.cookbook:publishurl recipe = slapos.cookbook:publishurl
url = memcached://${kumofs-instance:ip}:${kumofs-instance:gateway-port}/ url = memcached://[${kumofs-instance:ip}]:${kumofs-instance:gateway-port}/
[kumofs-instance] [kumofs-instance]
recipe = slapos.cookbook:generic.kumofs recipe = slapos.cookbook:generic.kumofs
# Network options # Network options
ip = ${slap-network-information:local-ipv4} ip = ${slap-network-information:global-ipv6}
manager-port = 13101 manager-port = 13101
server-port = 13201 server-port = 13201
server-listen-port = 13202 server-listen-port = 13202
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment