コード例 #1
0
ファイル: normativeTypesList.py プロジェクト: onap/sdc
def get_nfv(base_file_location="/"):
    return NormativeTypeCandidate(base_file_location + "nfv-types/",
                                  ["underlayVpn",
                                   "overlayTunnel",
                                   "genericNeutronNet",
                                   "allottedResource",
                                   "extImageFile",
                                   "extLocalStorage",
                                   "extZteCP",
                                   "extZteVDU",
                                   "extZteVL",
                                   "NS",
                                   "NSD",
                                   "NsVirtualLink",
                                   "VDU",
                                   "vduCompute",
                                   "Cp",
                                   "vduVirtualStorage",
                                   "vduVirtualBlockStorage",
                                   "vduVirtualFileStorage",
                                   "vduVirtualObjectStorage",
                                   "vduVirtualStorage",
                                   "vnfVirtualLink",
                                   "vnfExtCp",
                                   "vduCp",
                                   "VNF",
                                   "accessConnectivity",
                                   "OntPnf",
                                   "PonUni",
                                   "OltNni",
                                   "OntNni",
                                   "Sap",
                                   "asd",
                                   "asdInNsd"])
コード例 #2
0
def get_normative(base_file_location="/"):
    return NormativeTypeCandidate(base_file_location + "normative-types/", [
        "root", "compute", "softwareComponent", "webServer", "webApplication",
        "DBMS", "database", "objectStorage", "blockStorage",
        "containerRuntime", "containerApplication", "loadBalancer", "port",
        "network"
    ])
コード例 #3
0
ファイル: normativeTypesList.py プロジェクト: onap/sdc
def get_nfv_4_1_1(base_file_location="/"):
    return NormativeTypeCandidate(base_file_location + "nfv-types/4.1.1/",
                                  ["VNF",
                                   "osContainer",
                                   "osContainerGroup",
                                   "vduCp",
                                   "virtualCp"])
コード例 #4
0
def get_heat1707(base_file_location="/"):
    return NormativeTypeCandidate(base_file_location + "heat-types/", [
        "volume", "cinderVolume", "extVl", "extCp", "Generic_VFC",
        "Generic_VF", "Generic_PNF", "Generic_Service", "globalPort",
        "globalNetwork", "contrailV2VirtualMachineInterface",
        "contrailV2VLANSubInterface", "contrailPort",
        "contrailV2VirtualNetwork", "contrailVirtualNetwork", "neutronNet",
        "neutronPort", "multiFlavorVFC", "vnfConfiguration"
    ])
コード例 #5
0
ファイル: normativeTypesList.py プロジェクト: onap/sdc
def get_heat1702_3537(base_file_location="/"):
    return NormativeTypeCandidate(base_file_location + "heat-types/",
                                  ["contrailPort",
                                   "contrailV2VirtualMachineInterface",
                                   "neutronPort",
                                   "contrailCompute",
                                   "novaServer",
                                   "contrailV2VirtualNetwork",
                                   "contrailVirtualNetwork",
                                   "neutronNet"])
コード例 #6
0
ファイル: normativeTypesList.py プロジェクト: onap/sdc
def get_nfv_2_7_1(base_file_location="/"):
    return NormativeTypeCandidate(base_file_location + "nfv-types/2.7.1/",
                                  ["NfpPositionElement",
                                   "NfpPosition",
                                   "NFP",
                                   "Forwarding",
                                   "vduCompute",
                                   "vduVirtualFileStorage",
                                   "vnfExtCp",
                                   "vduCp",
                                   "vipCp"])
コード例 #7
0
ファイル: normativeTypesList.py プロジェクト: onap/sdc
def get_heat(base_file_location="/"):
    return NormativeTypeCandidate(base_file_location + "heat-types/",
                                  ["globalNetwork",
                                   "globalPort",
                                   "globalCompute",
                                   "volume",
                                   "cinderVolume",
                                   "contrailVirtualNetwork",
                                   "neutronNet",
                                   "neutronPort",
                                   "novaServer",
                                   "extVl",
                                   "internalVl",
                                   "extCp",
                                   "vl",
                                   "eline",
                                   "abstractSubstitute",
                                   "Generic_VFC",
                                   "Generic_VF",
                                   "Generic_CR",
                                   "Generic_PNF",
                                   "Generic_Service",
                                   "contrailNetworkRules",
                                   "contrailPort",
                                   "portMirroring",
                                   "serviceProxy",
                                   "contrailV2NetworkRules",
                                   "contrailV2VirtualNetwork",
                                   "securityRules",
                                   "contrailAbstractSubstitute",
                                   "contrailCompute",
                                   "contrailV2VirtualMachineInterface",
                                   "subInterface",
                                   "contrailV2VLANSubInterface",
                                   "multiFlavorVFC",
                                   "vnfConfiguration",
                                   "extCp2",
                                   "extNeutronCP",
                                   "extContrailCP",
                                   "portMirroringByPolicy",
                                   "forwardingPath",
                                   "configuration",
                                   "VRFObject",
                                   "extVirtualMachineInterfaceCP",
                                   "VLANNetworkReceptor",
                                   "VRFEntry",
                                   "subInterfaceV2",
                                   "contrailV2VLANSubInterfaceV2",
                                   "fabricConfiguration"])
コード例 #8
0
ファイル: runGenericNormative.py プロジェクト: xtommysk/sdc
def main():
    scheme, be_host, be_port, admin_user, _, debug = get_args()

    candidate = NormativeTypeCandidate(*get_normative_prams())
    try:
        process_and_create_normative_types(candidate,
                                           scheme,
                                           be_host,
                                           be_port,
                                           admin_user,
                                           debug=debug,
                                           exit_on_success=True)
    except AttributeError:
        usage()
        sys.exit(3)
コード例 #9
0
def get_heat_version(base_file_location="/"):
    return NormativeTypeCandidate(
        base_file_location + "heat_types/",
        ["contrailV2VirtualMachineInterface", "neutronPort"])
コード例 #10
0
def get_sol(base_file_location="/"):
    return NormativeTypeCandidate(
        base_file_location + "onap-types/",
        # Add desired type names to the list
        [])
コード例 #11
0
def get_sol(types, base_location="/"):
    return NormativeTypeCandidate(base_location + "sol-types/",
                                  types.get_type("sol"))
コード例 #12
0
def get_onap(types, base_location="/"):
    return NormativeTypeCandidate(base_location + "onap-types/",
                                  types.get_type("onap"))
コード例 #13
0
def get_nfv(types, base_location="/"):
    return NormativeTypeCandidate(base_location + "nfv-types/",
                                  types.get_type("nfv"))
コード例 #14
0
def get_heat(types, base_location="/"):
    return NormativeTypeCandidate(base_location + "heat-types/",
                                  types.get_type("heat"))
コード例 #15
0
def get_nfv_4_1_1(types, base_location="/"):
    return NormativeTypeCandidate(base_location + "nfv-types/4.1.1/",
                                  types.get_type("nfv_4_1_1"))
コード例 #16
0
ファイル: normativeTypesList.py プロジェクト: onap/sdc
def get_nfv_3_3_1(base_file_location="/"):
    return NormativeTypeCandidate(base_file_location + "nfv-types/3.3.1/",
                                  ["vduVirtualBlockStorage",
                                   "VNF",
                                   "NS"])