Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
TFS
controller
Commits
a606f3ea
Commit
a606f3ea
authored
2 years ago
by
PabloArmingolRobles
Browse files
Options
Downloads
Patches
Plain Diff
Commit per delete rule
parent
39dee82d
No related branches found
No related tags found
2 merge requests
!54
Release 2.0.0
,
!4
Compute component:
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/device/service/drivers/openconfig/OpenConfigDriver.py
+0
-1
0 additions, 1 deletion
src/device/service/drivers/openconfig/OpenConfigDriver.py
src/device/tests/Device_OpenConfig_Template.py
+1
-0
1 addition, 0 deletions
src/device/tests/Device_OpenConfig_Template.py
with
1 addition
and
1 deletion
src/device/service/drivers/openconfig/OpenConfigDriver.py
+
0
−
1
View file @
a606f3ea
...
...
@@ -30,7 +30,6 @@ from device.service.driver_api.AnyTreeTools import TreeNode, get_subnode, set_su
from
.templates
import
ALL_RESOURCE_KEYS
,
EMPTY_CONFIG
,
compose_config
,
get_filter
,
parse
from
.RetryDecorator
import
retry
DEBUG_MODE
=
False
logging
.
getLogger
(
'
ncclient.manager
'
).
setLevel
(
logging
.
DEBUG
if
DEBUG_MODE
else
logging
.
WARNING
)
logging
.
getLogger
(
'
ncclient.transport.ssh
'
).
setLevel
(
logging
.
DEBUG
if
DEBUG_MODE
else
logging
.
WARNING
)
...
...
This diff is collapsed.
Click to expand it.
src/device/tests/Device_OpenConfig_Template.py
+
1
−
0
View file @
a606f3ea
...
...
@@ -37,5 +37,6 @@ DEVICE_OC_CONNECT_RULES = json_device_connect_rules(DEVICE_OC_ADDRESS, DEVICE_OC
'
manager_params
'
:
{
'
timeout
'
:
DEVICE_OC_TIMEOUT
},
})
DEVICE_OC_CONFIG_RULES
=
[]
# populate your configuration rules to test
DEVICE_OC_DECONFIG_RULES
=
[]
# populate your deconfiguration rules to test
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