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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nirina Malard
slapos
Commits
abe20820
Commit
abe20820
authored
Nov 04, 2022
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Plain Diff
Update Release Candidate
parents
ab94846e
c6616710
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
73 additions
and
15 deletions
+73
-15
component/zlib/buildout.cfg
component/zlib/buildout.cfg
+1
-1
software/fluent-bit/README.md
software/fluent-bit/README.md
+27
-0
software/fluent-bit/buildout.hash.cfg
software/fluent-bit/buildout.hash.cfg
+1
-1
software/fluent-bit/instance.cfg.in
software/fluent-bit/instance.cfg.in
+35
-4
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+3
-3
software/ors-amarisoft/instance-enb-epc.jinja2.cfg
software/ors-amarisoft/instance-enb-epc.jinja2.cfg
+2
-2
software/ors-amarisoft/instance-epc.jinja2.cfg
software/ors-amarisoft/instance-epc.jinja2.cfg
+2
-2
software/ors-amarisoft/instance-gnb-epc.jinja2.cfg
software/ors-amarisoft/instance-gnb-epc.jinja2.cfg
+2
-2
No files found.
component/zlib/buildout.cfg
View file @
abe20820
...
...
@@ -5,5 +5,5 @@ parts =
[zlib]
recipe = slapos.recipe.cmmi
shared = true
url = https://
www.zlib.net
/zlib-1.2.12.tar.gz
url = https://
zlib.net/fossils
/zlib-1.2.12.tar.gz
md5sum = 5fc414a9726be31427b440b434d05f78
software/fluent-bit/README.md
0 → 100644
View file @
abe20820
# Fluent-bit
## When instantiating Fluent-bit you can use the following example config:
```
release="https://lab.nexedi.com/nexedi/slapos/raw/master/software/fluent-bit/software.cfg"
supply(release, "COMP-****")
partition_parameter_kw = {
"service": {
"flush": 5,
"daemon": "off",
"log_level": "debug"
},
"input": {
"name": "mqtt",
"tag": "data",
"port": 1883
},
"output": {
"name": "forward",
"match": "*",
"host": "127.0.0.1",
"port": 24224
}
}
filter_kw = {"computer_guid": "COMP-****"}
request(software_release = release, partition_reference='****', partition_parameter_kw=partition_parameter_kw, filter_kw = filter_kw)
```
software/fluent-bit/buildout.hash.cfg
View file @
abe20820
[instance-profile]
filename = instance.cfg.in
md5sum =
6a32b81db4ea9f2f63b5a92e8a134d58
md5sum =
b2845159dd53f942f32c4d4348934ce2
software/fluent-bit/instance.cfg.in
View file @
abe20820
[buildout]
parts =
directory
fluent-bit-config-file
fluent-bit-service
eggs-directory = {{ buildout[
'eggs-directory'
] }}
develop-eggs-directory = {{ buildout[
'develop-eggs-directory'
] }}
eggs-directory = {{ buildout[
"eggs-directory"
] }}
develop-eggs-directory = {{ buildout[
"develop-eggs-directory"
] }}
offline = true
[instance-parameter]
recipe = slapos.cookbook:slapconfiguration
computer = ${slap-connection:computer-id}
partition = ${slap-connection:partition-id}
url = ${slap-connection:server-url}
key = ${slap-connection:key-file}
cert = ${slap-connection:cert-file}
[directory]
recipe = slapos.cookbook:mkdirectory
home = ${buildout:directory}
...
...
@@ -17,8 +27,29 @@ promise = ${:etc}/promise/
log = ${:var}/log
bin = ${:home}/bin
[fluent-bit-config-file]
recipe = slapos.recipe.build
location = ${directory:etc}/${:_buildout_section_name_}.cfg
ip = ${instance-parameter:ipv4-random}
install =
config = open(self.options["location"], "w")
ip = self.options["ip"]
input = ${instance-parameter:configuration.input}
output = ${instance-parameter:configuration.output}
config.write(f"[INPUT]\n")
for key in input:
config.write(f" {str(key).capitalize()} {input[key]}\n")
config.write(f" Listen {ip}\n")
config.write("\n")
config.write(f"[OUTPUT]\n")
for key in output:
config.write(f" {str(key).capitalize()} {output[key]}\n")
[fluent-bit-service]
recipe = slapos.cookbook:wrapper
command-line = {{ fluent_bit_location }}/bin/fluent-bit -
i cpu -o stdout
command-line = {{ fluent_bit_location }}/bin/fluent-bit -
c ${fluent-bit-config-file:location}
wrapper-path = ${directory:service}/fluentbit-service
output = $${:wrapper-path}
software/ors-amarisoft/buildout.hash.cfg
View file @
abe20820
...
...
@@ -20,7 +20,7 @@ md5sum = 6e5c63c35b13f8920ea13e24c27d7b50
[template-lte-enb-epc]
_update_hash_filename_ = instance-enb-epc.jinja2.cfg
md5sum =
7f8f92ff218c40c843a102953c7695f8
md5sum =
80a239305950ed76b5279647f422478f
[template-lte-enb]
_update_hash_filename_ = instance-enb.jinja2.cfg
...
...
@@ -28,11 +28,11 @@ md5sum = 04dbc8396cb112e86d5d1564df033b82
[template-lte-gnb-epc]
_update_hash_filename_ = instance-gnb-epc.jinja2.cfg
md5sum = d
83b5569e258770774cb6028d93a4a70
md5sum = d
adb76e747faeea18c387109c3319dfd
[template-lte-epc]
_update_hash_filename_ = instance-epc.jinja2.cfg
md5sum =
d310dee0de054e10d77f036199297b3f
md5sum =
9ffc54bf10757403c4b1809d1102ea52
[template-lte-gnb]
_update_hash_filename_ = instance-gnb.jinja2.cfg
...
...
software/ors-amarisoft/instance-enb-epc.jinja2.cfg
View file @
abe20820
...
...
@@ -48,7 +48,7 @@ promise = ${:etc}/promise
log = ${:var}/log
[request-common-base]
recipe = slapos.cookbook:request.serialised
recipe = slapos.cookbook:request
optional
.serialised
software-url = {{ slap_connection['software-release-url'] }}
server-url = {{ slap_connection['server-url'] }}
computer-id = {{ slap_connection['computer-id'] }}
...
...
@@ -67,7 +67,7 @@ software-type = mme
config-name = mme
{%- for key, value in slapparameter_dict.items() %}
config-{{ key }} = {{ dumps(value) }}
{% endfor
-
%}
{% endfor %}
config-slave-list = {{ dumps(slave_instance_list) }}
return = monitor-base-url epc-ipv6
...
...
software/ors-amarisoft/instance-epc.jinja2.cfg
View file @
abe20820
...
...
@@ -47,7 +47,7 @@ promise = ${:etc}/promise
log = ${:var}/log
[request-common-base]
recipe = slapos.cookbook:request.serialised
recipe = slapos.cookbook:request
optional
.serialised
software-url = {{ slap_connection['software-release-url'] }}
server-url = {{ slap_connection['server-url'] }}
computer-id = {{ slap_connection['computer-id'] }}
...
...
@@ -67,7 +67,7 @@ software-type = mme
config-name = mme
{%- for key, value in slapparameter_dict.items() %}
config-{{ key }} = {{ dumps(value) }}
{% endfor
-
%}
{% endfor %}
config-slave-list = {{ dumps(slave_instance_list) }}
[monitor-base-url-dict]
...
...
software/ors-amarisoft/instance-gnb-epc.jinja2.cfg
View file @
abe20820
...
...
@@ -48,7 +48,7 @@ promise = ${:etc}/promise
log = ${:var}/log
[request-common-base]
recipe = slapos.cookbook:request.serialised
recipe = slapos.cookbook:request
optional
.serialised
software-url = {{ slap_connection['software-release-url'] }}
server-url = {{ slap_connection['server-url'] }}
computer-id = {{ slap_connection['computer-id'] }}
...
...
@@ -78,7 +78,7 @@ software-type = gnb
config-name = gnb
{%- for key, value in slapparameter_dict.items() %}
config-{{ key }} = {{ dumps(value) }}
{% endfor
-
%}
{% endfor %}
return = monitor-base-url
[monitor-base-url-dict]
...
...
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