def attachable_access_entity_profiles(connection):
    file_path = "./_json_files/fabric/attachable_access_entity_profiles.json"
    json_file_to_post_requests(connection, file_path, "infrastructure_array", "infraInfra")
Ejemplo n.º 2
0
def create_leaf_profiles(connection):
    file_path = "./_json_files/fabric/leaf_profiles.json"
    json_file_to_post_requests(connection, file_path, "leaf_profile_array",
                               "infraNodeP")
Ejemplo n.º 3
0
def generate_bridge_domains(connection):
    file_path = "./_json_files/tenant/bridge_domains.json"
    json_file_to_post_requests(connection, file_path, "bridge_domain_array", "fvBD")
Ejemplo n.º 4
0
def __generate_empty_application_profiles(connection):
    file_path = "./_json_files/tenant/application_profiles/empty_application_profiles.json"
    json_file_to_post_requests(connection, file_path,
                               "application_profile_array", "fvAp")
Ejemplo n.º 5
0
def generate_vrfs(connection):
    file_path = "./_json_files/tenant/vrfs.json"
    json_file_to_post_requests(connection, file_path, "vrf_array", "fvCtx")
Ejemplo n.º 6
0
def __create_vpc_interfaces(connection):
    file_path = "./_json_files/fabric/vpc_interfaces.json"
    json_file_to_post_requests(connection, file_path, "vpc_interface_array",
                               "infraAccBndlGrp")
Ejemplo n.º 7
0
def generate_default_contracts(connection):
    file_path = "./_json_files/tenant/contracts/contracts.json"
    json_file_to_post_requests(connection, file_path, "contract_array",
                               "vzBrCP")
Ejemplo n.º 8
0
def __create_leaf_access_ports(connection):
    file_path = "./_json_files/fabric/leaf_access_ports.json"
    json_file_to_post_requests(connection, file_path, "leaf_access_port_array",
                               "infraAccPortGrp")
Ejemplo n.º 9
0
def create_vlans(connection):
    file_path = "./_json_files/fabric/vlans.json"
    json_file_to_post_requests(connection, file_path, "vlans_array",
                               "fvnsVlanInstP")
Ejemplo n.º 10
0
def generate_leaf_switches_profiles(connection):
    file_path = "./_json_files/fabric/leaf_switches/profiles.json"
    json_file_to_post_requests(connection, file_path, "application_epg_array",
                               "fvAEPg")
Ejemplo n.º 11
0
def create_physical_domains(connection):
    file_path = "./_json_files/fabric/physical_domains.json"
    json_file_to_post_requests(connection, file_path, "physical_domain_array",
                               "physDomP")
Ejemplo n.º 12
0
def create_leaf_interfaces_profiles(connection):
    file_path = "./_json_files/fabric/leaf_interfaces_profiles.json"
    json_file_to_post_requests(connection, file_path,
                               "leaf_interfaces_profile_array",
                               "infraAccPortP")