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
a839af5a
Commit
a839af5a
authored
Feb 05, 2024
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
X Move user-authorized-key back to be eNB property instead of RU property
parent
116027ba
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
software/ors-amarisoft/instance-enb-input-schema.json
software/ors-amarisoft/instance-enb-input-schema.json
+6
-0
software/ors-amarisoft/ru/lopcomm/input-schema.json
software/ors-amarisoft/ru/lopcomm/input-schema.json
+0
-6
software/ors-amarisoft/ru/lopcomm/libinstance.jinja2.cfg
software/ors-amarisoft/ru/lopcomm/libinstance.jinja2.cfg
+4
-0
No files found.
software/ors-amarisoft/instance-enb-input-schema.json
View file @
a839af5a
...
@@ -3,6 +3,12 @@
...
@@ -3,6 +3,12 @@
"$schema"
:
"http://json-schema.org/draft-04/schema"
,
"$schema"
:
"http://json-schema.org/draft-04/schema"
,
"title"
:
"Input Parameters"
,
"title"
:
"Input Parameters"
,
"properties"
:
{
"properties"
:
{
"user-authorized-key"
:
{
"title"
:
"User Authorized Key"
,
"description"
:
"SSH public key in order to connect to the SSH server of this instance."
,
"textarea"
:
true
,
"type"
:
"string"
},
"enb_id"
:
{
"enb_id"
:
{
"title"
:
"eNB ID"
,
"title"
:
"eNB ID"
,
"description"
:
"eNB ID. (must be set if there are LTE cells)"
,
"description"
:
"eNB ID. (must be set if there are LTE cells)"
,
...
...
software/ors-amarisoft/ru/lopcomm/input-schema.json
View file @
a839af5a
...
@@ -55,12 +55,6 @@
...
@@ -55,12 +55,6 @@
"title"
:
"Cron schedule for RRH reset"
,
"title"
:
"Cron schedule for RRH reset"
,
"description"
:
"Refer https://crontab.guru/ to make a reset schedule for RRH, for example, '0 1 * * *' means the RRH will reset every day at 1 am"
,
"description"
:
"Refer https://crontab.guru/ to make a reset schedule for RRH, for example, '0 1 * * *' means the RRH will reset every day at 1 am"
,
"type"
:
"string"
"type"
:
"string"
},
"user-authorized-key"
:
{
"title"
:
"User Authorized Key"
,
"description"
:
"SSH public key in order to connect to the SSH server of this instance."
,
"textarea"
:
true
,
"type"
:
"string"
}
}
}
}
}
}
software/ors-amarisoft/ru/lopcomm/libinstance.jinja2.cfg
View file @
a839af5a
...
@@ -247,6 +247,10 @@ firmware = {{ru_lopcomm_firmware_filename}}
...
@@ -247,6 +247,10 @@ firmware = {{ru_lopcomm_firmware_filename}}
{%- macro buildout() %}
{%- macro buildout() %}
# deploy openssh-server for software upgrade
# deploy openssh-server for software upgrade
#
# FIXME user-authorized-key is global for eNB. Either we need to put SSH server
# to be also global, or unroll an SSH server via paramiko inside
# ru/lopcomm/software.py just to handle software upgrades there.
[user-info]
[user-info]
recipe = slapos.cookbook:userinfo
recipe = slapos.cookbook:userinfo
...
...
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