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
Paul Graydon
slapos
Commits
240b242e
Commit
240b242e
authored
Jan 27, 2023
by
Lu Xu
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wip
parent
d1731a79
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
software/ors-amarisoft/lopcomm-rrh-stats.jinja2.py
software/ors-amarisoft/lopcomm-rrh-stats.jinja2.py
+1
-2
software/ors-amarisoft/software.cfg
software/ors-amarisoft/software.cfg
+1
-0
No files found.
software/ors-amarisoft/lopcomm-rrh-stats.jinja2.py
View file @
240b242e
...
@@ -71,8 +71,7 @@ class LopcommNetconfClient:
...
@@ -71,8 +71,7 @@ class LopcommNetconfClient:
self
.
logger
.
debug
(
'Got new notification from %s...'
%
(
self
.
address
,))
self
.
logger
.
debug
(
'Got new notification from %s...'
%
(
self
.
address
,))
result_in_xml
=
result
.
_raw
result_in_xml
=
result
.
_raw
data_dict
=
xmltodict
.
parse
(
result_in_xml
)
data_dict
=
xmltodict
.
parse
(
result_in_xml
)
result_in_json
=
json
.
dumps
(
data_dict
)
self
.
json_logger
.
info
(
''
,
extra
=
{
'data'
:
data_dict
})
self
.
json_logger
.
info
(
''
,
extra
=
{
'data'
:
result_in_json
})
def
close
(
self
):
def
close
(
self
):
# Close not compatible between ncclient and netconf server
# Close not compatible between ncclient and netconf server
...
...
software/ors-amarisoft/software.cfg
View file @
240b242e
...
@@ -132,6 +132,7 @@ setup-eggs =
...
@@ -132,6 +132,7 @@ setup-eggs =
[eggs]
[eggs]
recipe = zc.recipe.egg
recipe = zc.recipe.egg
python = python3.8
eggs =
eggs =
websocket-client
websocket-client
${pynacl:egg}
${pynacl:egg}
...
...
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