Imports
CLI commands for importing data to coreDB.
CreatePartner
SiteImportModel
Bases: BaseSiteValidatorModel
The required input for importing an existing gso.products.product_types.site
.
Source code in gso/cli/imports.py
RouterImportModel
Bases: BaseModel
Required fields for importing an existing gso.product.product_types.router
.
Source code in gso/cli/imports.py
SuperPopSwitchImportModel
Bases: BaseModel
Required fields for importing an existing gso.product.product_types.super_pop_switch
.
Source code in gso/cli/imports.py
OfficeRouterImportModel
Bases: BaseModel
Required fields for importing an existing gso.product.product_types.office_router
.
Source code in gso/cli/imports.py
IptrunkImportModel
Bases: BaseModel
Required fields for importing an existing gso.products.product_types.iptrunk
.
Source code in gso/cli/imports.py
check_if_router_side_is_available(value)
Both sides of the trunk must exist in GSO.
Source code in gso/cli/imports.py
check_members()
Amount of LAG members has to match on side A and B, and meet the minimum requirement.
Source code in gso/cli/imports.py
OpenGearImportModel
Bases: BaseModel
Required fields for importing an existing gso.products.product_types.opengear
.
Source code in gso/cli/imports.py
L3CoreServiceImportModel
Bases: BaseModel
Import L3 Core Service model.
Source code in gso/cli/imports.py
BaseBGPPeer
Bases: BaseModel
Base BGP Peer model.
Source code in gso/cli/imports.py
BFDSettingsModel
ServiceBindingPort
Bases: BaseModel
Service Binding model.
Source code in gso/cli/imports.py
IASImportModel
RAndEImportModel
Bases: L3CoreServiceImportModel
Import R&E Peer and R&E LHCONE model.
Source code in gso/cli/imports.py
Layer2CircuitServiceImportModel
Bases: BaseModel
Import Layer 2 Circuit Service model.
Source code in gso/cli/imports.py
ServiceBindingPortInput
check_if_edge_ports_exist()
Check if the edge ports exist.
Source code in gso/cli/imports.py
PlacementPortImportModel
Bases: BaseModel
Import Placement Port model.
Source code in gso/cli/imports.py
L3InterfacePort
Bases: BaseModel
L3 Interface Port model for Placement Port Import.
Source code in gso/cli/imports.py
_read_data(file_path)
Read data from a JSON or YAML file.
Source code in gso/cli/imports.py
_import_partners_from_csv(file_path)
Read partners from a CSV file.
_generic_import_product(file_path, imported_product_type, workflow_suffix, name_key, import_model)
Import subscriptions from a JSON or YAML file.
Source code in gso/cli/imports.py
import_sites(filepath=common_filepath_option)
import_routers(filepath=common_filepath_option)
import_super_pop_switches(filepath=common_filepath_option)
Import Super PoP Switches into GSO.
Source code in gso/cli/imports.py
import_office_routers(filepath=common_filepath_option)
Import office routers into GSO.
Source code in gso/cli/imports.py
import_opengear(filepath=common_filepath_option)
Import Opengear into GSO.
Source code in gso/cli/imports.py
import_edge_port(filepath=common_filepath_option)
Import Edge Port into GSO.
Source code in gso/cli/imports.py
import_iptrunks(filepath=common_filepath_option)
Import IP trunks into GSO.
Source code in gso/cli/imports.py
import_partners(file_path=typer.Argument(..., help='Path to the CSV file containing partners'))
Import partners from a CSV file into the database.
Source code in gso/cli/imports.py
import_l3_core_service(filepath=common_filepath_option)
Import L3 Core Services into GSO.
Source code in gso/cli/imports.py
import_layer_2_circuit_service(filepath=common_filepath_option)
Import Layer 2 Circuit services into GSO.
Source code in gso/cli/imports.py
import_placement_port(filepath=common_filepath_option)
Import Placement Port(IX Port, Private Peer Port, and Transit Provider Port) into GSO.