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
b2ac2f54
Commit
b2ac2f54
authored
9 months ago
by
Neda Moeini
Browse files
Options
Downloads
Patches
Plain Diff
Fixed the CLI bug.
parent
15722aab
No related branches found
Branches containing commit
Tags
2.1
Tags containing commit
1 merge request
!225
Feature/NAT 459 - Opengear import workflow
Pipeline
#87398
passed
9 months ago
Stage: tox
Stage: documentation
Stage: sonarqube
Stage: trigger_jenkins_build
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gso/cli/imports.py
+4
-3
4 additions, 3 deletions
gso/cli/imports.py
with
4 additions
and
3 deletions
gso/cli/imports.py
+
4
−
3
View file @
b2ac2f54
...
...
@@ -151,9 +151,9 @@ class OpenGearImportModel(BaseModel):
partner
:
str
opengear_site
:
str
opengear_hostname
:
str
opengear_wan_address
:
str
|
Non
e
opengear_wan_netmask
:
str
|
Non
e
opengear_wan_gateway
:
str
|
Non
e
opengear_wan_address
:
IPv4AddressTyp
e
opengear_wan_netmask
:
IPv4AddressTyp
e
opengear_wan_gateway
:
IPv4AddressTyp
e
T
=
TypeVar
(
...
...
@@ -280,6 +280,7 @@ def import_office_routers(filepath: str = common_filepath_option) -> None:
)
@app.command
()
def
import_opengear
(
filepath
:
str
=
common_filepath_option
)
->
None
:
"""
Import Opengear into GSO.
"""
_generic_import_product
(
...
...
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