Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos
Commits
93c6f519
Commit
93c6f519
authored
Oct 12, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
44ec2b09
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
17 deletions
+19
-17
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+5
-5
software/ors-amarisoft/instance.cfg
software/ors-amarisoft/instance.cfg
+1
-1
software/ors-amarisoft/ru/lopcomm/buildout.cfg
software/ors-amarisoft/ru/lopcomm/buildout.cfg
+6
-2
software/ors-amarisoft/ru/lopcomm/libinstance.jinja2.cfg
software/ors-amarisoft/ru/lopcomm/libinstance.jinja2.cfg
+7
-4
software/ors-amarisoft/ru/lopcomm/ncclient_common.py
software/ors-amarisoft/ru/lopcomm/ncclient_common.py
+0
-0
software/ors-amarisoft/software-base.cfg
software/ors-amarisoft/software-base.cfg
+0
-5
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
93c6f519
...
...
@@ -28,7 +28,7 @@ md5sum = 8b24f6cf584eb096a61750e39e376ad0
[ru_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/libinstance.jinja2.cfg
md5sum =
737c794082be65a4711798dcc9b6044f
md5sum =
b71776599bf20493ed6914a7f017822e
[ru_sdr_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/sdr/libinstance.jinja2.cfg
...
...
@@ -36,7 +36,7 @@ md5sum = e27ebe0ff200a3e4492412f164ca9b73
[ru_lopcomm_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/lopcomm/libinstance.jinja2.cfg
md5sum =
9dd99a331bffe3bee34ab645242059cc
md5sum =
8cfa2d8e5ef5ba3ecc7db2bcc5a0415d
[ru_sunwave_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/sunwave/libinstance.jinja2.cfg
...
...
@@ -50,8 +50,8 @@ md5sum = 674dcc250c0b6bb43d8546624552fc5d
_update_hash_filename_ = amarisoft-rf-info.jinja2.py
md5sum = d2fe2fbe70c6824c514a7c4034a2ddb3
[
ncclient_common
]
_update_hash_filename_ = ncclient_common.py
[
ru_lopcomm_ncclient_common.py
]
_update_hash_filename_ =
ru/lopcomm/
ncclient_common.py
md5sum = 63316f6a8a6a480e10db7e78cca72f3b
[ru_lopcomm_stats.jinja2.py]
...
...
@@ -62,7 +62,7 @@ md5sum = 059fa51fd30372e4382e1c143e718791
_update_hash_filename_ = lopcomm-rrh-config.jinja2.py
md5sum = f2f550b68c8ab243ce1a4bb73a9abc1c
[ru_lopcomm
-
software.jinja2.py]
[ru_lopcomm
_
software.jinja2.py]
_update_hash_filename_ = ru/lopcomm/software.jinja2.py
md5sum = 1cb238147b57241343a1e224f990265b
...
...
software/ors-amarisoft/instance.cfg
View file @
93c6f519
...
...
@@ -261,7 +261,7 @@ extra-context =
raw amarisoft_rf_info_template ${amarisoft-rf-info.jinja2.py:target}
raw ru_lopcomm_stats_template ${ru_lopcomm_stats.jinja2.py:target}
raw lopcomm_rrh_config_template ${lopcomm-rrh-config.jinja2.py:target}
raw ru_lopcomm_software_template ${ru_lopcomm
-
software.jinja2.py:target}
raw ru_lopcomm_software_template ${ru_lopcomm
_
software.jinja2.py:target}
raw lopcomm_rrh_supervision_template ${lopcomm-rrh-supervision.jinja2.py:target}
raw CreateProcessingEle_template ${CreateProcessingEle.jinja2.xml:target}
raw cu_config_template ${cu_config.jinja2.xml:target}
...
...
software/ors-amarisoft/ru/lopcomm/buildout.cfg
View file @
93c6f519
...
...
@@ -4,12 +4,16 @@
[ru_lopcomm_stats.jinja2.py]
<= download-base
[ru_lopcomm
-
software.jinja2.py]
[ru_lopcomm
_
software.jinja2.py]
<= download-base
[ru_lopcomm
-
firmware-dl]
[ru_lopcomm
_
firmware-dl]
recipe = slapos.recipe.build:download
url = https://lab.nexedi.com/nexedi/ors-utils/raw/master/lopcomm-firmware/${:filename}
filename = PR.PRM61C70V1004.002.tar.gz
md5sum = 4e06fd62968f9f53fd819ef8d880a8f4
destination = ${directory:etc}/${:filename}
[ru_lopcomm_ncclient_common]
<= download-base
#destination = ${buildout:directory}/ncclient_common.py
software/ors-amarisoft/ru/lopcomm/libinstance.jinja2.cfg
View file @
93c6f519
...
...
@@ -20,7 +20,7 @@ extensions = jinja2.ext.do
_logbase = ${directory:var}/log/{{ru_ref}}-software
log-output = ${:_logbase}.log
software-reply-json-log-output = ${:_logbase}-reply.json.log
remote-file-path = sftp://${user-info:pw-name}@[${slap-configuration:ipv6-random}]:${sshd-port:port}${ru_lopcomm
-
firmware-dl:destination}
remote-file-path = sftp://${user-info:pw-name}@[${slap-configuration:ipv6-random}]:${sshd-port:port}${ru_lopcomm
_
firmware-dl:destination}
context =
section directory directory
section slap_configuration slap-configuration
...
...
@@ -32,7 +32,7 @@ context =
raw python_path {{ buildout_directory}}/bin/pythonwitheggs
raw buildout_directory_path {{ buildout_directory }}
raw is_firmware_updated ${directory:etc}/{{ru_ref}}.is_firmware_updated
raw firmware_name ${ru_lopcomm
-
firmware-dl:filename}
raw firmware_name ${ru_lopcomm
_
firmware-dl:filename}
import netaddr netaddr
mode = 0775
url = {{ ru_lopcomm_software_template }}
...
...
@@ -42,11 +42,14 @@ output = ${directory:script}/{{ru_ref}}-software.py
{{ promise('%s-firmware.py' % ru_ref) }}
promise = check_command_execute
#name = firmware-update-promise.py XXX needed ?
config-command = [ -f ${directory:etc}/{{ru_ref}}.is_firmware_updated ]
{#- notifications from RU #}
{#- push config to RU #}
# XXX
{#- handle notifications from RU #}
[{{ru_ref}}-stats-template]
recipe = slapos.recipe.template:jinja2
...
...
software/ors-amarisoft/ncclient_common.py
→
software/ors-amarisoft/
ru/lopcomm/
ncclient_common.py
View file @
93c6f519
File moved
software/ors-amarisoft/software-base.cfg
View file @
93c6f519
...
...
@@ -22,7 +22,6 @@ parts +=
template
slapos-cookbook
ltelogs.jinja2.sh
ncclient_common
# copy all configs by default
mme.jinja2.cfg
dnsmasq.jinja2.cfg
...
...
@@ -60,10 +59,6 @@ output = ${buildout:directory}/template.cfg
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/${:_update_hash_filename_}
[ncclient_common]
<= download-base
destination = ${buildout:directory}/ncclient_common.py
[amarisoft-stats.jinja2.py]
<= download-base
...
...
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