Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LSO
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
GÉANT Orchestration and Automation Team
GAP
LSO
Commits
56267560
Commit
56267560
authored
1 year ago
by
Karel van Klink
Browse files
Options
Downloads
Patches
Plain Diff
Add docstrings to new IP trunk and router fields
parent
d1310d2e
No related branches found
No related tags found
1 merge request
!45
Migrate iptrunks ansible integration
Pipeline
#84073
passed
1 year ago
Stage: tox
Stage: documentation
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lso/routes/ip_trunk.py
+3
-0
3 additions, 0 deletions
lso/routes/ip_trunk.py
lso/routes/router.py
+2
-0
2 additions, 0 deletions
lso/routes/router.py
with
5 additions
and
0 deletions
lso/routes/ip_trunk.py
+
3
−
0
View file @
56267560
...
...
@@ -19,7 +19,9 @@ class IPTrunkParams(BaseModel):
callback
:
HttpUrl
#: A dictionary representation of the IP trunk subscription that is to be provisioned.
subscription
:
dict
#: Trouble Ticket number that is associated with the deployment.
tt_number
:
str
#: The process ID generated by workflow orchestrator, used for the commit comment in the routers.
process_id
:
str
...
...
@@ -54,6 +56,7 @@ class IPTrunkMigrationParams(IPTrunkParams):
new_side
:
dict
#: An Ansible playbook verb that is passed along for indicating the phase of the migration that is performed.
verb
:
str
#: The type of object that is migrated.
config_object
:
str
...
...
This diff is collapsed.
Click to expand it.
lso/routes/router.py
+
2
−
0
View file @
56267560
...
...
@@ -30,7 +30,9 @@ class NodeProvisioningParams(BaseModel):
#: Whether this playbook execution should be a dry run, or run for real. Defaults to ``True`` for obvious reasons,
#: also making it an optional parameter.
dry_run
:
Optional
[
bool
]
=
True
#: Trouble Ticket number that is associated with the deployment.
tt_number
:
str
#: The process ID generated by workflow orchestrator, used for the commit comment in the routers.
process_id
:
str
...
...
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