Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Douglas
slapos
Commits
71ae4854
Commit
71ae4854
authored
Jul 23, 2012
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Provide KumoFS access over IPv6.
parent
93804130
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
component/kumo/buildout.cfg
component/kumo/buildout.cfg
+1
-1
slapos/recipe/generic_kumofs/__init__.py
slapos/recipe/generic_kumofs/__init__.py
+1
-1
stack/erp5/buildout.cfg
stack/erp5/buildout.cfg
+1
-1
stack/erp5/instance-kumofs.cfg.in
stack/erp5/instance-kumofs.cfg.in
+2
-2
No files found.
component/kumo/buildout.cfg
View file @
71ae4854
...
@@ -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
slapos/recipe/generic_kumofs/__init__.py
View file @
71ae4854
...
@@ -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'
])
...
...
stack/erp5/buildout.cfg
View file @
71ae4854
...
@@ -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
...
...
stack/erp5/instance-kumofs.cfg.in
View file @
71ae4854
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment