Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GÉANT Service Orchestrator
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
GÉANT Orchestration and Automation Team
GAP
GÉANT Service Orchestrator
Commits
905f6571
Commit
905f6571
authored
1 year ago
by
Erik Reid
Browse files
Options
Downloads
Patches
Plain Diff
pep8
parent
962dce77
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
gso/services/resource_manager.py
+2
-1
2 additions, 1 deletion
gso/services/resource_manager.py
test/test_resource_manager.py
+0
-2
0 additions, 2 deletions
test/test_resource_manager.py
with
2 additions
and
3 deletions
gso/services/resource_manager.py
+
2
−
1
View file @
905f6571
# mypy: ignore-errors
from
typing
import
List
from
enum
import
Enum
,
auto
from
typing
import
List
from
gso
import
settings
...
...
@@ -9,6 +9,7 @@ from gso import settings
# - consider the additional api methods
# - decided what to do with various error conditions (currently assertions)
class
InterfaceAllocationState
(
Enum
):
AVAILABLE
=
auto
()
RESERVED
=
auto
()
...
...
This diff is collapsed.
Click to expand it.
test/test_resource_manager.py
+
0
−
2
View file @
905f6571
...
...
@@ -54,5 +54,3 @@ def test_physical_allocation_lifecycle_happy():
current_available
=
_interfaces
()
assert
interface_name
in
current_available
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