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
bc778e40
Commit
bc778e40
authored
5 months ago
by
Lluis Gifre Renom
Browse files
Options
Downloads
Patches
Plain Diff
Optical Controller component:
- Fixed imports
parent
7d5cd09c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!294
Release TeraFlowSDN 4.0
,
!285
Resolve: "(CNIT) New SBI Driver based on OpenROADM for ROADMs"
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/opticalcontroller/OpticalController.py
+4
-4
4 additions, 4 deletions
src/opticalcontroller/OpticalController.py
src/opticalcontroller/RSA.py
+2
-2
2 additions, 2 deletions
src/opticalcontroller/RSA.py
src/opticalcontroller/tools.py
+1
-1
1 addition, 1 deletion
src/opticalcontroller/tools.py
with
7 additions
and
7 deletions
src/opticalcontroller/OpticalController.py
+
4
−
4
View file @
bc778e40
...
...
@@ -16,11 +16,11 @@ import time
from
flask
import
Flask
from
flask
import
render_template
from
flask_restplus
import
Resource
,
Api
from
tools
import
*
from
variables
import
*
from
RSA
import
RSA
from
common.proto.context_pb2
import
TopologyId
from
google.protobuf.json_format
import
MessageToDict
from
common.proto.context_pb2
import
TopologyId
from
opticalcontroller.tools
import
*
from
opticalcontroller.variables
import
*
from
opticalcontroller.RSA
import
RSA
global
rsa
...
...
This diff is collapsed.
Click to expand it.
src/opticalcontroller/RSA.py
+
2
−
2
View file @
bc778e40
...
...
@@ -13,8 +13,8 @@
# limitations under the License.
import
dijsktra
from
tools
import
*
from
variables
import
*
from
opticalcontroller.
tools
import
*
from
opticalcontroller.
variables
import
*
class
RSA
():
...
...
This diff is collapsed.
Click to expand it.
src/opticalcontroller/tools.py
+
1
−
1
View file @
bc778e40
...
...
@@ -14,10 +14,10 @@
import
json
import
numpy
as
np
from
variables
import
*
from
common.proto.context_pb2
import
TopologyId
,
LinkId
,
OpticalLink
,
OpticalLinkDetails
from
common.tools.object_factory.OpticalLink
import
correct_slot
from
context.client.ContextClient
import
ContextClient
from
opticalcontroller.variables
import
*
def
common_slots
(
a
,
b
):
...
...
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