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
Lu Xu
slapos
Commits
8fc018d8
Commit
8fc018d8
authored
Oct 13, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
2fc203a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+4
-4
software/ors-amarisoft/ru/lopcomm/config.jinja2.py
software/ors-amarisoft/ru/lopcomm/config.jinja2.py
+2
-1
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
8fc018d8
...
...
@@ -16,7 +16,7 @@
[template]
filename = instance.cfg
md5sum = 3
5445ac546f034dc338835e877e6b807
md5sum = 3
79ce7a19af1078f7aeb8ea3626ec190
[amari_lte.jinja2]
_update_hash_filename_ = amari/lte.jinja2
...
...
@@ -36,7 +36,7 @@ md5sum = e27ebe0ff200a3e4492412f164ca9b73
[ru_lopcomm_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/lopcomm/libinstance.jinja2.cfg
md5sum =
0cd8f53b969eca651fcd2a79728e4d80
md5sum =
3dc4d261da52f871e9a9ff3904ebfea9
[ru_sunwave_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/sunwave/libinstance.jinja2.cfg
...
...
@@ -60,7 +60,7 @@ md5sum = 059fa51fd30372e4382e1c143e718791
[ru_lopcomm_config.jinja2.py]
_update_hash_filename_ = ru/lopcomm/config.jinja2.py
md5sum =
f117548e01a88c408c482d079ec4b018
md5sum =
5155589ccd459dd51acce56cce9fdc8c
[ru_lopcomm_software.jinja2.py]
_update_hash_filename_ = ru/lopcomm/software.jinja2.py
...
...
@@ -72,7 +72,7 @@ md5sum = e22257ef526b0acc10a8203daa41028b
[template-enb]
_update_hash_filename_ = instance-enb.jinja2.cfg
md5sum =
70054f6abcea11ff71e46479d32ece56
md5sum =
b4f4507e053e0bea38ba986b10f1428b
[template-gnb]
_update_hash_filename_ = instance-gnb.jinja2.cfg
...
...
software/ors-amarisoft/ru/lopcomm/config.jinja2.py
View file @
8fc018d8
...
...
@@ -8,7 +8,8 @@ if __name__ == '__main__':
nc
=
LopcommNetconfClient
(
log_file
=
"{{ log_file }}"
)
while
True
:
try
:
nc
.
connect
(
"{{ netaddr.IPAddress(slap_configuration.get('tap-ipv6-gateway', '')) }}"
,
830
,
"oranuser"
,
"oranpassword"
)
# XXX ::1 temp - kill
nc
.
connect
(
"{{ netaddr.IPAddress(slap_configuration.get('XXXtap-ipv6-gateway', '::1')) }}"
,
830
,
"oranuser"
,
"oranpassword"
)
nc
.
edit_config
([
"{{ ru_lopcomm_CreateProcessingEle_template }}"
,
"{{ ru_lopcomm_cu_config_template }}"
])
break
except
Exception
as
e
:
...
...
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