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
0edca91b
Commit
0edca91b
authored
2 years ago
by
Lluis Gifre Renom
Browse files
Options
Downloads
Patches
Plain Diff
Service component - P4 Service Handler:
- Fixed imports
parent
96787a9f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!142
Release TeraFlowSDN 2.1
,
!83
Add annotations to p4 service handler
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/service/service/service_handlers/p4/p4_service_handler.py
+6
-6
6 additions, 6 deletions
...service/service/service_handlers/p4/p4_service_handler.py
with
6 additions
and
6 deletions
src/service/service/service_handlers/p4/p4_service_handler.py
+
6
−
6
View file @
0edca91b
...
...
@@ -16,14 +16,14 @@
P4 service handler for the TeraFlowSDN controller.
"""
import
anytree
,
json
,
logging
from
typing
import
Any
,
Dict
,
List
,
Optional
,
Tuple
,
Union
from
common.proto.context_pb2
import
ConfigActionEnum
,
ConfigRule
,
DeviceId
,
Service
from
common.tools.object_factory.ConfigRule
import
json_config_rule
,
json_config_rule_delete
,
json_config_rule_set
import
logging
from
typing
import
Any
,
List
,
Optional
,
Tuple
,
Union
from
common.method_wrappers.Decorator
import
MetricTypeEnum
,
MetricsPool
,
metered_subclass_method
,
INF
from
common.proto.context_pb2
import
ConfigRule
,
DeviceId
,
Service
from
common.tools.object_factory.ConfigRule
import
json_config_rule_delete
,
json_config_rule_set
from
common.tools.object_factory.Device
import
json_device_id
from
common.type_checkers.Checkers
import
chk_type
,
chk_length
from
common.type_checkers.Checkers
import
chk_type
from
service.service.service_handler_api._ServiceHandler
import
_ServiceHandler
from
service.service.service_handler_api.AnyTreeTools
import
TreeNode
,
delete_subnode
,
get_subnode
,
set_subnode_value
from
service.service.task_scheduler.TaskExecutor
import
TaskExecutor
LOGGER
=
logging
.
getLogger
(
__name__
)
...
...
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