Skip to content
Snippets Groups Projects
Commit b2ac2f54 authored by Neda Moeini's avatar Neda Moeini
Browse files

Fixed the CLI bug.

parent 15722aab
No related branches found
No related tags found
1 merge request!225Feature/NAT 459 - Opengear import workflow
Pipeline #87398 passed
This commit is part of merge request !225. Comments created here will be created in the context of that merge request.
...@@ -151,9 +151,9 @@ class OpenGearImportModel(BaseModel): ...@@ -151,9 +151,9 @@ class OpenGearImportModel(BaseModel):
partner: str partner: str
opengear_site: str opengear_site: str
opengear_hostname: str opengear_hostname: str
opengear_wan_address: str | None opengear_wan_address: IPv4AddressType
opengear_wan_netmask: str | None opengear_wan_netmask: IPv4AddressType
opengear_wan_gateway: str | None opengear_wan_gateway: IPv4AddressType
T = TypeVar( T = TypeVar(
...@@ -280,6 +280,7 @@ def import_office_routers(filepath: str = common_filepath_option) -> None: ...@@ -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: def import_opengear(filepath: str = common_filepath_option) -> None:
"""Import Opengear into GSO.""" """Import Opengear into GSO."""
_generic_import_product( _generic_import_product(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment