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
BaseBGPPeerImportModel
Bases: BaseModel
Base BGP Peer import model.
Source code in gso/cli/imports.py
L3CoreServiceImportModel
Bases: BaseModel
Import L3 Core Service 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
PeeringConnectionImportModel
Bases: BaseModel
Peering connection import model.
Source code in gso/cli/imports.py
validate_placement_port_exists()
Validate that the placement port exists.
Source code in gso/cli/imports.py
CommercialPeerImportModel
Bases: BaseModel
Import Commercial Peer model.
Source code in gso/cli/imports.py
PeeringConnectionListImportModel
Bases: BaseModel
Import model for adding peering connections to an existing Commercial Peer subscription.
Source code in gso/cli/imports.py
PrefixListImportModel
Bases: BaseModel
Import model for adding existing Prefix Lists to the subscription database.
Source code in gso/cli/imports.py
partners_can_only_have_one_subscription(partner_names)
Ensure that one partner does not have multiple Prefix List subscriptions before importing more.
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
551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 |
|
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.
Source code in gso/cli/imports.py
import_commercial_peer(filepath=common_filepath_option)
Import Commercial Peer into GSO.
Source code in gso/cli/imports.py
import_prefix_list(filepath=common_filepath_option)
Import one or more Prefix Lists into GSO.