Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
inventory-provider
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
geant-swd
dashboardv3
inventory-provider
Commits
637eb3ef
Commit
637eb3ef
authored
6 years ago
by
Erik Reid
Browse files
Options
Downloads
Patches
Plain Diff
renamed pyez modules to netconf
parent
ca6d8efd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
inventory_provider/netconf.py
+0
-0
0 additions, 0 deletions
inventory_provider/netconf.py
test/test_netconf_parsing.py
+2
-2
2 additions, 2 deletions
test/test_netconf_parsing.py
with
2 additions
and
2 deletions
inventory_provider/
pyez_test
.py
→
inventory_provider/
netconf
.py
+
0
−
0
View file @
637eb3ef
File moved
This diff is collapsed.
Click to expand it.
test/test_
pyez
_parsing.py
→
test/test_
netconf
_parsing.py
+
2
−
2
View file @
637eb3ef
import
os
from
inventory_provider
import
pyez_test
from
inventory_provider
import
netconf
from
lxml
import
etree
TEST_DATA_DIR
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'
data
'
)
...
...
@@ -32,5 +32,5 @@ def test_nr1(mocker, data_config):
import
json
for
r
in
data_config
[
'
routers
'
]:
print
(
r
[
'
hostname
'
])
x
=
pyez_test
.
load_interfaces
(
r
[
'
hostname
'
],
data_config
[
'
ssh
'
])
x
=
netconf
.
load_interfaces
(
r
[
'
hostname
'
],
data_config
[
'
ssh
'
])
print
(
json
.
dumps
(
list
(
x
),
indent
=
4
))
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment