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
94dd80f3
Verified
Commit
94dd80f3
authored
1 year ago
by
Karel van Klink
Browse files
Options
Downloads
Patches
Plain Diff
remove ruff format from precommit due to inconsistent behaviour
parent
d8040cce
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!165
router creation flow update
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.pre-commit-config.yaml
+0
-5
0 additions, 5 deletions
.pre-commit-config.yaml
gso/workflows/__init__.py
+7
-5
7 additions, 5 deletions
gso/workflows/__init__.py
gso/workflows/router/activate_router.py
+1
-1
1 addition, 1 deletion
gso/workflows/router/activate_router.py
with
8 additions
and
11 deletions
.pre-commit-config.yaml
+
0
−
5
View file @
94dd80f3
...
...
@@ -10,8 +10,3 @@ repos:
-
--preview
-
--ignore=PLR0917,PLR0914
-
--extend-exclude=test/*
# Run the formatter.
-
id
:
ruff-format
args
:
-
--preview
-
--exclude=test/*
This diff is collapsed.
Click to expand it.
gso/workflows/__init__.py
+
7
−
5
View file @
94dd80f3
...
...
@@ -3,11 +3,13 @@
from
orchestrator.services.subscriptions
import
WF_USABLE_MAP
from
orchestrator.workflows
import
LazyWorkflowInstance
WF_USABLE_MAP
.
update
({
"
redeploy_base_config
"
:
[
"
provisioning
"
,
"
active
"
],
"
update_ibgp_mesh
"
:
[
"
provisioning
"
,
"
active
"
],
"
activate_router
"
:
[
"
provisioning
"
],
})
WF_USABLE_MAP
.
update
(
{
"
redeploy_base_config
"
:
[
"
provisioning
"
,
"
active
"
],
"
update_ibgp_mesh
"
:
[
"
provisioning
"
,
"
active
"
],
"
activate_router
"
:
[
"
provisioning
"
],
}
)
LazyWorkflowInstance
(
"
gso.workflows.iptrunk.create_iptrunk
"
,
"
create_iptrunk
"
)
LazyWorkflowInstance
(
"
gso.workflows.iptrunk.deploy_twamp
"
,
"
deploy_twamp
"
)
...
...
This diff is collapsed.
Click to expand it.
gso/workflows/router/activate_router.py
+
1
−
1
View file @
94dd80f3
...
...
@@ -15,7 +15,7 @@ def _initial_input_form(subscription_id: UUIDstr) -> FormGenerator:
router
=
Router
.
from_subscription
(
subscription_id
)
class
ActivateRouterForm
(
FormPage
):
info_label
:
Label
=
"
Start approval process for router activation.
"
#
noqa:
ignore[assignment]
info_label
:
Label
=
"
Start approval process for router activation.
"
#
type:
ignore[assignment]
tt_number
:
str
user_input
=
yield
ActivateRouterForm
...
...
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