From ae5a3714376a5f4492470fbf9b54046c1229171d Mon Sep 17 00:00:00 2001 From: Tal Gitelman Date: Thu, 26 Jul 2018 14:03:00 +0300 Subject: [PATCH] Update and align normatives Change-Id: Ie3749d5b8bb0426f9565cb4f9a1ce0848451422d Issue-ID: SDC-1544 Signed-off-by: Tal Gitelman --- .../tosca/annotation-types/annotationTypes.yml | 13 ++ .../tosca/annotation-types/annotationTypes.zip | Bin 0 -> 333 bytes .../tosca/capability-types/capabilityTypes.yml | 7 +- .../import/tosca/data-types/dataTypes.yml | 37 ++-- .../import/tosca/group-types/groupTypes.json | 22 +++ .../heat-types/Generic_Service/Generic_Service.yml | 1 - .../VLANNetworkReceptor/VLANNetworkReceptor.json | 21 +++ .../import/tosca/heat-types/VRFEntry/VRFEntry.json | 21 +++ .../import/tosca/heat-types/VRFEntry/VRFEntry.yml | 17 ++ .../import/tosca/heat-types/VRFEntry/VRFEntry.zip | Bin 0 -> 381 bytes .../tosca/heat-types/VRFObject/VRFObject.json | 21 +++ .../tosca/heat-types/VRFObject/VRFObject.yml | 8 + .../tosca/heat-types/VRFObject/VRFObject.zip | Bin 0 -> 369 bytes .../heat-types/configuration/configuration.json | 20 ++ .../contrailV2VLANSubInterfaceV2.json | 15 ++ .../contrailV2VLANSubInterfaceV2.yml | 70 +++++++ .../contrailV2VLANSubInterfaceV2.zip | Bin 0 -> 756 bytes .../contrailV2VirtualMachineInterface.yml | 3 +- .../import/tosca/heat-types/eline/eline.yml | 1 + .../import/tosca/heat-types/eline/eline.zip | Bin 683 -> 321 bytes .../tosca/heat-types/extNeutronCP/extNeutronCP.yml | 1 + .../extVirtualMachineInterfaceCP.json | 21 +++ .../extVirtualMachineInterfaceCP.yml | 67 +++++++ .../extVirtualMachineInterfaceCP.zip | Bin 0 -> 737 bytes .../fabricConfiguration/fabricConfiguration.json | 21 +++ .../fabricConfiguration/fabricConfiguration.yml | 10 + .../fabricConfiguration/fabricConfiguration.zip | Bin 0 -> 359 bytes .../heat-types/globalCompute/globalCompute.zip | Bin 3932 -> 1999 bytes .../tosca/heat-types/globalPort/globalPort.yml | 5 + .../heat-types/multiFlavorVFC/multiFlavorVFC.zip | Bin 714 -> 358 bytes .../tosca/heat-types/neutronPort/neutronPort.yml | 1 + .../heat-types/portMirroring/portMirroring.zip | Bin 711 -> 366 bytes .../portMirroringByPolicy.zip | Bin 909 -> 532 bytes .../tosca/heat-types/serviceProxy/serviceProxy.zip | Bin 557 -> 239 bytes .../heat-types/subInterfaceV2/subInterfaceV2.json | 15 ++ .../heat-types/subInterfaceV2/subInterfaceV2.yml | 45 +++++ .../heat-types/subInterfaceV2/subInterfaceV2.zip | Bin 0 -> 1010 bytes .../vnfConfiguration/vnfConfiguration.zip | Bin 759 -> 404 bytes .../import/tosca/policy-types/policyTypes.json | 51 ++++++ .../tosca/relationship-types/relationshipTypes.yml | 202 +++++++++++---------- 40 files changed, 598 insertions(+), 118 deletions(-) create mode 100644 catalog-be/src/main/resources/import/tosca/annotation-types/annotationTypes.yml create mode 100644 catalog-be/src/main/resources/import/tosca/annotation-types/annotationTypes.zip create mode 100644 catalog-be/src/main/resources/import/tosca/group-types/groupTypes.json create mode 100644 catalog-be/src/main/resources/import/tosca/heat-types/VLANNetworkReceptor/VLANNetworkReceptor.json create mode 100644 catalog-be/src/main/resources/import/tosca/heat-types/VRFEntry/VRFEntry.json create mode 100644 catalog-be/src/main/resources/import/tosca/heat-types/VRFEntry/VRFEntry.yml create mode 100644 catalog-be/src/main/resources/import/tosca/heat-types/VRFEntry/VRFEntry.zip create mode 100644 catalog-be/src/main/resources/import/tosca/heat-types/VRFObject/VRFObject.json create mode 100644 catalog-be/src/main/resources/import/tosca/heat-types/VRFObject/VRFObject.yml create mode 100644 catalog-be/src/main/resources/import/tosca/heat-types/VRFObject/VRFObject.zip create mode 100644 catalog-be/src/main/resources/import/tosca/heat-types/configuration/configuration.json create mode 100644 catalog-be/src/main/resources/import/tosca/heat-types/contrailV2VLANSubInterfaceV2/contrailV2VLANSubInterfaceV2.json create mode 100644 catalog-be/src/main/resources/import/tosca/heat-types/contrailV2VLANSubInterfaceV2/contrailV2VLANSubInterfaceV2.yml create mode 100644 catalog-be/src/main/resources/import/tosca/heat-types/contrailV2VLANSubInterfaceV2/contrailV2VLANSubInterfaceV2.zip create mode 100644 catalog-be/src/main/resources/import/tosca/heat-types/extVirtualMachineInterfaceCP/extVirtualMachineInterfaceCP.json create mode 100644 catalog-be/src/main/resources/import/tosca/heat-types/extVirtualMachineInterfaceCP/extVirtualMachineInterfaceCP.yml create mode 100644 catalog-be/src/main/resources/import/tosca/heat-types/extVirtualMachineInterfaceCP/extVirtualMachineInterfaceCP.zip create mode 100644 catalog-be/src/main/resources/import/tosca/heat-types/fabricConfiguration/fabricConfiguration.json create mode 100644 catalog-be/src/main/resources/import/tosca/heat-types/fabricConfiguration/fabricConfiguration.yml create mode 100644 catalog-be/src/main/resources/import/tosca/heat-types/fabricConfiguration/fabricConfiguration.zip create mode 100644 catalog-be/src/main/resources/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.json create mode 100644 catalog-be/src/main/resources/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.yml create mode 100644 catalog-be/src/main/resources/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.zip create mode 100644 catalog-be/src/main/resources/import/tosca/policy-types/policyTypes.json diff --git a/catalog-be/src/main/resources/import/tosca/annotation-types/annotationTypes.yml b/catalog-be/src/main/resources/import/tosca/annotation-types/annotationTypes.yml new file mode 100644 index 0000000000..edd20e73e6 --- /dev/null +++ b/catalog-be/src/main/resources/import/tosca/annotation-types/annotationTypes.yml @@ -0,0 +1,13 @@ +org.openecomp.annotations.Source: + description: Indicates the origin source of an input + properties: + source_type: + type: string + vf_module_label: + type: list + description: List of VF Modules this input was originated from + entry_schema: + type: string + param_name: + type: string + description: Source parameter name diff --git a/catalog-be/src/main/resources/import/tosca/annotation-types/annotationTypes.zip b/catalog-be/src/main/resources/import/tosca/annotation-types/annotationTypes.zip new file mode 100644 index 0000000000000000000000000000000000000000..5783c9794a5fe54be2302eb874d44167e40205ce GIT binary patch literal 333 zcmWIWW@h1HU|`^2csOICPu1VTZ%2W=6^slF!azDPFE76&u_QA;FQl>{wOFq*H>Y=k zW7c5@9@p=UcO2C}Fcvj9EsPZ1W%??jj72VU!jrZ;`{eu;_;MFU)p_R6bIX0TWkSHE z7%P#B2NFcz-z(kdvivdQHK`Mm3s=q+-gD{zXS2*Brv=A^xqq1PSut^Kn4)?sZKG)Z z!6)S*Yt8N)Uwc81^#;=igJ~}(*7w$4OPslK{>RDB;?2^&-B|9wD?fX4RqdVwm4`#} zzo~JCfBDV%+LgIyS*5=c=kBlb^rn1#`EY*v|`2MhtdJw jj7%a7xcv?EIuIx*fGKRD5a7+q29jh1LPsF|4XhFXp5%iU literal 0 HcmV?d00001 diff --git a/catalog-be/src/main/resources/import/tosca/capability-types/capabilityTypes.yml b/catalog-be/src/main/resources/import/tosca/capability-types/capabilityTypes.yml index 38d4c06ec7..b647651990 100644 --- a/catalog-be/src/main/resources/import/tosca/capability-types/capabilityTypes.yml +++ b/catalog-be/src/main/resources/import/tosca/capability-types/capabilityTypes.yml @@ -219,6 +219,11 @@ org.openecomp.capabilities.VLANAssignment: type: string description: Ability to recognize capability per vfc instance group on vnf instance required: true +org.openecomp.capabilities.RoutingConfiguration: + derived_from: tosca.capabilities.Root +org.openecomp.capabilities.FabricConfiguration: + derived_from: tosca.capabilities.Root + #ONAP types tosca.capabilities.nfv.VirtualStorage: derived_from: tosca.capabilities.Root @@ -247,7 +252,7 @@ tosca.capabilities.nfv.VirtualBindable: tosca.capabilities.nfv.VirtualLinkable: derived_from: tosca.capabilities.Root tosca.capabilities.nfv.ExtVirtualLinkable: - derived_from: tosca.capabilities.Root + derived_from: tosca.capabilities.Root tosca.capabilities.nfv.Forwarder: derived_from: tosca.capabilities.Root tosca.capabilities.nfv.ext.GuestOs: diff --git a/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml b/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml index c5555a5838..b3635dc09f 100644 --- a/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml +++ b/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml @@ -57,14 +57,20 @@ tosca.datatypes.Credential: org.openecomp.datatypes.PortMirroringConnectionPointDescription: derived_from: tosca.datatypes.Root properties: - nf_type: - type: string - nfc_type: - type: string + nf_naming_code: + type: string + nfc_naming_code: + type: string network_role: - type: string - pps_capacity: - type: string + type: string + pps_capacity: + type: string + nf_type: + type: string + description: deprecated + nfc_type: + type: string + description: deprecated tosca.datatypes.TimeInterval: derived_from: tosca.datatypes.Root @@ -1391,8 +1397,7 @@ tosca.datatypes.nfv.injectFile: #used for vCPE usecase type: string required: true tosca.datatypes.nfv.L2AddressData: - derived_from: tosca.datatypes.Root - properties: + properties: mac_address_assignment: type: boolean required: true @@ -1452,7 +1457,7 @@ tosca.datatypes.nfv.VlFlavour: flavourId: type: string tosca.datatypes.nfv.ext.AddressPairs: - properties: + properties: ip: type: string required: false @@ -1460,7 +1465,7 @@ tosca.datatypes.nfv.ext.AddressPairs: type: string required: false tosca.datatypes.nfv.ext.FloatingIP: - properties: + properties: external_network: type: string required: false @@ -1468,7 +1473,7 @@ tosca.datatypes.nfv.ext.FloatingIP: type: string required: false tosca.datatypes.nfv.ext.LocationInfo: - properties: + properties: availability_zone: type: string required: false @@ -1479,7 +1484,7 @@ tosca.datatypes.nfv.ext.LocationInfo: type: string required: false tosca.datatypes.nfv.ext.HostRouteInfo: - properties: + properties: destination: type: string required: false @@ -1487,7 +1492,7 @@ tosca.datatypes.nfv.ext.HostRouteInfo: type: string required: false tosca.datatypes.nfv.ext.InjectData: - properties: + properties: file_name: type: string required: false @@ -1495,7 +1500,7 @@ tosca.datatypes.nfv.ext.InjectData: type: string required: false tosca.datatypes.nfv.ext.zte.WatchDog: - properties: + properties: enable_delay: type: integer required: false @@ -1503,7 +1508,7 @@ tosca.datatypes.nfv.ext.zte.WatchDog: type: string required: false tosca.datatypes.nfv.ext.LocalAffinityOrAntiAffinityRule: - properties: + properties: scope: type: string required: false diff --git a/catalog-be/src/main/resources/import/tosca/group-types/groupTypes.json b/catalog-be/src/main/resources/import/tosca/group-types/groupTypes.json new file mode 100644 index 0000000000..caea6a8063 --- /dev/null +++ b/catalog-be/src/main/resources/import/tosca/group-types/groupTypes.json @@ -0,0 +1,22 @@ +{ + "tosca.groups.Root": { + "displayName": "Root", + "icon": "group-root" + }, + "org.openecomp.groups.heat.HeatStack": { + "displayName": "Heat Stack", + "icon": "group-heat-stack" + }, + "org.openecomp.groups.VfModule": { + "displayName": "VF Module", + "icon": "group-vf-module" + }, + "org.openecomp.groups.NetworkCollection": { + "displayName": "Network Collection", + "icon": "group-network-collection" + }, + "org.openecomp.groups.VfcInstanceGroup": { + "displayName": "Vfc Instance", + "icon": "group-vfc-instance" + } +} \ No newline at end of file diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/Generic_Service/Generic_Service.yml b/catalog-be/src/main/resources/import/tosca/heat-types/Generic_Service/Generic_Service.yml index 902cf0c0c8..3652ae4e12 100644 --- a/catalog-be/src/main/resources/import/tosca/heat-types/Generic_Service/Generic_Service.yml +++ b/catalog-be/src/main/resources/import/tosca/heat-types/Generic_Service/Generic_Service.yml @@ -2,4 +2,3 @@ tosca_definitions_version: tosca_simple_yaml_1_0_0 node_types: org.openecomp.resource.abstract.nodes.service: derived_from: tosca.nodes.Root - \ No newline at end of file diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/VLANNetworkReceptor/VLANNetworkReceptor.json b/catalog-be/src/main/resources/import/tosca/heat-types/VLANNetworkReceptor/VLANNetworkReceptor.json new file mode 100644 index 0000000000..157b62a3e2 --- /dev/null +++ b/catalog-be/src/main/resources/import/tosca/heat-types/VLANNetworkReceptor/VLANNetworkReceptor.json @@ -0,0 +1,21 @@ +{ + "payloadName": "VLANNetworkReceptor.yml", + "contactId": "jh0003", + "name": "VLAN Network Receptor Configuration", + "description": "VLAN network receptor configuration object", + "resourceIconPath": "pmc", + "resourceType": "Configuration", + "categories": [ + { + "name": "Configuration", + "subcategories": [ + { + "name": "Configuration" + } + ] + } +], + "tags": [ + "VLAN Network Receptor Configuration" + ] +} \ No newline at end of file diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/VRFEntry/VRFEntry.json b/catalog-be/src/main/resources/import/tosca/heat-types/VRFEntry/VRFEntry.json new file mode 100644 index 0000000000..ab28d03072 --- /dev/null +++ b/catalog-be/src/main/resources/import/tosca/heat-types/VRFEntry/VRFEntry.json @@ -0,0 +1,21 @@ +{ + "payloadName": "VRFEntry.yml", + "contactId": "jh0003", + "name": "VRF Entry Configuration", + "description": "VRF Entry configuration object", + "resourceIconPath": "pmc", + "resourceType": "Configuration", + "categories": [ + { + "name": "Configuration", + "subcategories": [ + { + "name": "Configuration" + } + ] + } +], + "tags": [ + "VRF Entry Configuration" + ] +} \ No newline at end of file diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/VRFEntry/VRFEntry.yml b/catalog-be/src/main/resources/import/tosca/heat-types/VRFEntry/VRFEntry.yml new file mode 100644 index 0000000000..7cba5a84d7 --- /dev/null +++ b/catalog-be/src/main/resources/import/tosca/heat-types/VRFEntry/VRFEntry.yml @@ -0,0 +1,17 @@ +tosca_definitions_version: tosca_simple_yaml_1_0_0 +node_types: + org.openecomp.nodes.VRFEntry: + derived_from: tosca.nodes.Root + requirements: + - routing_configuration_internal: + occurrences: + - 1 + - UNBOUNDED + capability: org.openecomp.capabilities.RoutingConfiguration + relationship: org.openecomp.relationships.RoutesTo + - routing_configuration_external: + occurrences: + - 1 + - UNBOUNDED + capability: org.openecomp.capabilities.RoutingConfiguration + relationship: org.openecomp.relationships.RoutesTo diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/VRFEntry/VRFEntry.zip b/catalog-be/src/main/resources/import/tosca/heat-types/VRFEntry/VRFEntry.zip new file mode 100644 index 0000000000000000000000000000000000000000..fa6312e7f65b53518aa679997a3ab59273c0617c GIT binary patch literal 381 zcmWIWW@Zs#U|`^2aF|-<(^SxX_dbw!hKYfJ2S|qnxw+<*6jka~=H@(|a4_$X0Z-fe z+OB;Ew03;kaj?(FX+!purFk2t+?e@z(bu=`Oi4Xim)`wp*ZB1P_w?MSPu9F#;O^wQ zETvE3<(JHCU5&&Jxicxv=H8nPy1RBTFAi?Ga!oz-XQHH3pTh%-BWl(`pZC?qPCj)- z%sq^~$^C_ozKq^a@%Pgr*PAt-7i49cux$RbHOr$aLY5q~SSHsVm?L*fL6al$|LwU) z&-E%f@LiIbr#!v>%J7dkW({Bf+M>6eeC^=9u zzwGq6!U<(DxBiui{is^9IpltTHzSh>1FoP@0R{#G10#b1m_`j4E~qFYg9O8jXLjye m4qj$tm~;Kf(|wm2yM=4yo&o6qZ&o&l35*PJKn5oxhz9_~h?>~| literal 0 HcmV?d00001 diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/VRFObject/VRFObject.json b/catalog-be/src/main/resources/import/tosca/heat-types/VRFObject/VRFObject.json new file mode 100644 index 0000000000..2d3f5412e1 --- /dev/null +++ b/catalog-be/src/main/resources/import/tosca/heat-types/VRFObject/VRFObject.json @@ -0,0 +1,21 @@ +{ + "payloadName": "VRFObject.yml", + "contactId": "jh0003", + "name": "VRF Object Configuration", + "description": "VRF Object configuration object", + "resourceIconPath": "pmc", + "resourceType": "Configuration", + "categories": [ + { + "name": "Configuration", + "subcategories": [ + { + "name": "Configuration" + } + ] + } +], + "tags": [ + "VRF Object Configuration" + ] +} \ No newline at end of file diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/VRFObject/VRFObject.yml b/catalog-be/src/main/resources/import/tosca/heat-types/VRFObject/VRFObject.yml new file mode 100644 index 0000000000..28f1d5287b --- /dev/null +++ b/catalog-be/src/main/resources/import/tosca/heat-types/VRFObject/VRFObject.yml @@ -0,0 +1,8 @@ +tosca_definitions_version: tosca_simple_yaml_1_0_0 +node_types: + org.openecomp.nodes.VRFObject: + derived_from: tosca.nodes.Root + description: provides capability to connect WAN Transport Service Proxy to VRF Entry + capabilities: + routing_configuration_external: + type: org.openecomp.capabilities.RoutingConfiguration \ No newline at end of file diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/VRFObject/VRFObject.zip b/catalog-be/src/main/resources/import/tosca/heat-types/VRFObject/VRFObject.zip new file mode 100644 index 0000000000000000000000000000000000000000..23287d625c11202c50fdc6620c45ccd3ade6a5c4 GIT binary patch literal 369 zcmWIWW@Zs#U|`^2Flj#KV=27!+C?BQf{}rN7f6Q%x%nq$r6!l?Rp#cz_8;^+?7-vl ze(Ep&e@&}mik&(78n~JkZ@p_VF)(TUp1do6YJ-{U&e?1@pUS(aOGK;2e&3(%v*_F8!Nv)(MM-x$z5ah;!9;)-p)TQiHVe{x$R8g}V& z{RRC1Z$>7223)>Z0s0>V6u=}}Sa3mw85txPmbBa6nfdoJBd0HfHrfBLyn;sJb!$eL71_hvKa(-S(QDSCJm{FLIqhD}ol4o8? zYEfEZa%z~7US)31(XhLDw-rS8t-n(KfVJ&b+%LV$W|=|PQ?sW3@X=`Nio3j1> zMqabCQ?8yBIU4@$Va@aBkF94U?0K-J#Vbp4$;EkZ4^-A@p4jjtHCc26bH2##^zt|F zzPZg7im-_Iz^eG@R$M{OIM*yERuCV~(m%_#vlP~A}c3mhs zDy5gTvhid~0^h19W>X%vPB#0}V&f&>u~KN3i;3jL5~i{*A})$an|>Z}?w(`&KT2=^ z|Cri;Cc2ED3KQb4T=+1huB+KY{cG7K>x#^!&6^ZN!{shDJ>#9DRVUm1PpsQ*-U$zp zmt_mv%U|p_KL6_BiWSN09?R|Re%SHxy4trbac+fkU%lKCrIsl7y8e)`(&s07B)?gEBdOr?HH?A)aqxlpXXY? zyt_WelK;ilOlP%auUh}U-VlG)Vc(w@{9o2hZkV6>Z{DNzpWZazyPj6B_1+976IuTVA^J2008(mR`~z` literal 0 HcmV?d00001 diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/contrailV2VirtualMachineInterface/contrailV2VirtualMachineInterface.yml b/catalog-be/src/main/resources/import/tosca/heat-types/contrailV2VirtualMachineInterface/contrailV2VirtualMachineInterface.yml index a2179079b1..69e15ff488 100644 --- a/catalog-be/src/main/resources/import/tosca/heat-types/contrailV2VirtualMachineInterface/contrailV2VirtualMachineInterface.yml +++ b/catalog-be/src/main/resources/import/tosca/heat-types/contrailV2VirtualMachineInterface/contrailV2VirtualMachineInterface.yml @@ -62,4 +62,5 @@ node_types: - 0 - UNBOUNDED valid_source_types: - - org.openecomp.resources.cp.nodes.heat.network.contrailV2.VLANSubInterface \ No newline at end of file + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface \ No newline at end of file diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/eline/eline.yml b/catalog-be/src/main/resources/import/tosca/heat-types/eline/eline.yml index 79876881cd..21241369c7 100644 --- a/catalog-be/src/main/resources/import/tosca/heat-types/eline/eline.yml +++ b/catalog-be/src/main/resources/import/tosca/heat-types/eline/eline.yml @@ -1,4 +1,5 @@ tosca_definitions_version: tosca_simple_yaml_1_0_0 + node_types: org.openecomp.resource.vl.ELine: derived_from: org.openecomp.resource.vl.VL diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/eline/eline.zip b/catalog-be/src/main/resources/import/tosca/heat-types/eline/eline.zip index 8ba7cbceac2788b3341daa9cb08966a7c978715e..ea770f5042575612e8a451bf4aa836bdb2a81fdc 100644 GIT binary patch delta 36 qcmZ3@dXQ-{ALA89k;(Q<`a?yvd9V3|v4uH77GKRWGYJKQA@lVAf#+ zp1u6v_zyi_%Tji`^hp3mV*94kFC2?q9-B^WUR%;~ss85nH>cIq^?29nPy0G=-o4K+ zKQbQpVo@eHTZ%s=?qI<48DWnX8v6_PDCN&%U90kCw{CscBUR@)?si%lt4m{_l{sHz zyWahI&IMoZ`u%UDn;dEvc<2aDSXi^JL|7(v0;BbXts|u5T8|uu#)}x1zhWLhb0o*M5ms%e^=D z%oh%sr7(;8p^bR-UV)&!b89)@t*h#uf4O|oy#I_7u1MN5;0Tb3Z^d;%VZp_q01O)j z21W)6h97Ix&O9`|#0aC0*VZlFb^Ib@fHxzP{lu%POni(J|CsYJF)%S~2Wq(o3|IyR E0P3%xHvj+t diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/extNeutronCP/extNeutronCP.yml b/catalog-be/src/main/resources/import/tosca/heat-types/extNeutronCP/extNeutronCP.yml index 35306f5b49..ad946fc8bd 100644 --- a/catalog-be/src/main/resources/import/tosca/heat-types/extNeutronCP/extNeutronCP.yml +++ b/catalog-be/src/main/resources/import/tosca/heat-types/extNeutronCP/extNeutronCP.yml @@ -135,6 +135,7 @@ node_types: type: tosca.capabilities.network.Bindable valid_source_types: - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface occurrences: - 0 - UNBOUNDED \ No newline at end of file diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/extVirtualMachineInterfaceCP/extVirtualMachineInterfaceCP.json b/catalog-be/src/main/resources/import/tosca/heat-types/extVirtualMachineInterfaceCP/extVirtualMachineInterfaceCP.json new file mode 100644 index 0000000000..1e4e15fbe9 --- /dev/null +++ b/catalog-be/src/main/resources/import/tosca/heat-types/extVirtualMachineInterfaceCP/extVirtualMachineInterfaceCP.json @@ -0,0 +1,21 @@ +{ + "payloadName": "extVirtualMachineInterfaceCP.yml", + "contactId": "jh0003", + "name": "extVirtualMachineInterfaceCP", + "description": "External port for virtual machine interface", + "resourceIconPath": "network", + "resourceType": "CP", + "categories": [ + { + "name": "Generic", + "subcategories": [ + { + "name": "Network Elements" + } + ] + } + ], + "tags": [ + "extVirtualMachineInterfaceCP" + ] +} diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/extVirtualMachineInterfaceCP/extVirtualMachineInterfaceCP.yml b/catalog-be/src/main/resources/import/tosca/heat-types/extVirtualMachineInterfaceCP/extVirtualMachineInterfaceCP.yml new file mode 100644 index 0000000000..6816e7b299 --- /dev/null +++ b/catalog-be/src/main/resources/import/tosca/heat-types/extVirtualMachineInterfaceCP/extVirtualMachineInterfaceCP.yml @@ -0,0 +1,67 @@ + +tosca_definitions_version: tosca_simple_yaml_1_0_0 +node_types: + org.openecomp.resource.cp.v2.extVirtualMachineInterfaceCP: + derived_from: org.openecomp.resource.cp.v2.extCP + properties: + name: + description: Virtual Machine Interface name + type: string + status: SUPPORTED + required: false + security_group_refs: + description: List of security groups. + type: list + status: SUPPORTED + entry_schema: + type: string + required: false + virtual_network_refs: + description: List of virtual networks. + type: list + status: SUPPORTED + entry_schema: + type: string + required: false + virtual_machine_interface_properties: + description: virtual machine interface properties. + type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.interface.Properties + status: SUPPORTED + required: false + port_tuple_refs: + description: List of port tuples. + type: list + status: SUPPORTED + entry_schema: + type: string + required: false + virtual_machine_interface_mac_addresses: + description: List of mac addresses. + type: list + status: SUPPORTED + entry_schema: + type: string + required: false + virtual_machine_interface_allowed_address_pairs: + description: Virtual Machine Interface allowed address pairs. + type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs + status: SUPPORTED + required: false + attributes: + fq_name: + description: The FQ name of the Virtual Network. + type: string + status: SUPPORTED + show: + description: All attributes. + type: string + status: SUPPORTED + capabilities: + binding: + type: tosca.capabilities.network.Bindable + occurrences: + - 0 + - UNBOUNDED + valid_source_types: + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface \ No newline at end of file diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/extVirtualMachineInterfaceCP/extVirtualMachineInterfaceCP.zip b/catalog-be/src/main/resources/import/tosca/heat-types/extVirtualMachineInterfaceCP/extVirtualMachineInterfaceCP.zip new file mode 100644 index 0000000000000000000000000000000000000000..4edd5b331482330344a1b7774c55e0bf6f619ef9 GIT binary patch literal 737 zcmWIWW@Zs#U|`^22x_hIu`_&fK$?kx;UEVCg91=AwW1^}v#6vrF~>JCIU_SK)ibXo zwJ0qyIn_BpuQE61Y}nbpTLuFAlt1#-HAYQI&U=%m9eQh1X8FS`$#kYL+1u7-PL;oB z9huQ^#Q&!4gkYKT-_O>}`{>igoImHmnuegPmrF19nKtO{Nm+8cXwxRH8*SlTwW-Qx zQhZx98-Dh(PUmHBk%$ROc5F77x|HMG6^#Zi@7ac}`|I>BUXS_vBuUlu&jq;+PnhIB z>sr~cF34GspgK!y_la*a$~C$Va_xQ7lp%jsyQ91BI_H#Y+mn(6RNNecBy_X*Z=E{T z@mb@mQ7v!wyX@%`uSd??|EKQvw=MUbD%PtyO`JGMd-@ES4ymR0H>l3KWz=$MF4x;g zD}SGv3QJlos$`~cm4&ym+($hG zCu5&QYAp<2HEC9dD(7zf{mHGzMPmxi-`?#Me!x~#?Zl&?v&T&)UH0%3wmd8RGgQ6Q zX@}{Hnd=X~-K$j`U3_WQ{nAT^#E*3=nXs{oo3bVg^}df54L`MJ;SJ5?Y2GFO@1IsW z>t}rPQcYaruBwSK7d@XV@ypo-EWOjdIr_@J>8C!;otyn6Ut8gR{nps(*@^Pgc7L8x zX4`)6&e^-C*7*ONt8umaTbO)P^u7sRawcxV!w;vgY|{l3 zs}wQ{3$*u52&^}pZMWylGXK9@Okz$pZ4EZ#{c8K@j0ImkRN`}XQ- z+PSovzHjmY-i%Bl47ie(3NUejfC88#oY1(SDj69h7}DV@nUR4(97v}nCKY8SJLl)6Wu})FC6;97=jm1E z=H&XH>Lg>+Riv{|?PwRC_tBa;XNE}yCZ{R#pKU=pXl txu6Od86+57uE$UJ;=RIXvH?PiblrRC3FHTOv$BCqVFbcVApHVtBmh@Qg|z?x literal 0 HcmV?d00001 diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/globalCompute/globalCompute.zip b/catalog-be/src/main/resources/import/tosca/heat-types/globalCompute/globalCompute.zip index 23a471f246ce9ee58fc5c705c8a7f4bcc37e0090..a04df59514389e75d26e5fe336c84edadc606f6d 100644 GIT binary patch delta 39 tcmca3cbaEAZ>_F)}bRBr`BDgs}q&1^~d(2QL5s delta 1983 zcmV;w2SE7G58NJqP)h>@6aWAK2msDZX-Q4j?L+wn000rY000sI003ufZ(?C=LvL+x zb#!Ged0}mA?VU|?(=ZT*@BJ0JFu+VPg=23eWjGZW+H%b(w$f;@EhEW+@atL0PVCSW zoItF4FMGP&k4yQ>or84+i>NZ4G% zt!67yHr%Cs(MJmBww>+zLX-Xb7%iHdsj>gy5K3Ku6lqC z$&m`rtosM=45oEUHaWrE*74VtKUAVpMyCNnfCNB85qMGnL zPD{82zAn>cnttS)CEklv%p%#h%aeVvn~kOZur{iMJL z_&zJM5;y^s{2X+rnx2ynw0vN2Q$m=Iqs|3qg1Z-$sgMssZjMnotHbUqeXKFAP<3we z{+#4Y{}2*BD6m`lZ>digZymF%S`o*klq`>b+Yot0-n2g7e|-1p{^Rv75YHjHJVtc( zkIp)4T?@}UfOgh59%{b-$(1(s1S0CL1ED!_Xl5(}fr!lBk$DqrYqK&LXLaL2e)i7KSd_VbtsD!_JBV&g$6erfIC`~z zW~OFZ4WyF>B<8q@*I)JUIPW zW(y`wEJg|Gti(sC?qWo;_CeOTD5Jy_43e~WlIHF;(KCqdtj1a3c%V7^d`~pb7-$Eh z0{t-q1A-TVC>1fY&xPQ*`|Hm~hF*7nDmuUMd77@gAz92d4u|$n(O^eI+lJ%gps2|W znwh~Ch{>w4R<}1IYVA)k*XrjdPO+cgD@)s*v&BX;?BpXz+sD$IerOAq7wNYShDKRTi!S;xK0c>OD87PAakZa0wMXv>PDdPu=Ie#Qvo?sNwamU;9z-+&7KQXyOl~Z z8n1ZnT3r#pW5@5Xt<`2ScDqUi2UQ26Zh&?&S|ahpr^=GhOjqf%~3>J^~k;sXel`HPK*!8gq?1qV~_+V3B*k ze%$FZ9`ye0$dt-z_c&}VQZd(hiJTofXNMhAt=lD%DW0%5Tq9q5=WFn7+S+#9H;@?* zTOFFUcDkx@jm0Ue!0>vSW-M;8IxuCYu!$A!t?DC8aS*mYqW%W3S_fr602BZK00;oi zOle6?*X=|31^@sNy8r+Z03-ka0000003ZMW000000B3A(Vqt7UZ*6dObY(7iVQp** z03ZMW0000102lxOve!afI?@5;0ui}ZM$!S~0ui}ZM$!RLO928ulUoNR0x1WRf(Jhi R0ssO4#{d8Te+~cu002Z(sZsy{ diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/globalPort/globalPort.yml b/catalog-be/src/main/resources/import/tosca/heat-types/globalPort/globalPort.yml index 791a0b9a3b..c0fd672ee9 100644 --- a/catalog-be/src/main/resources/import/tosca/heat-types/globalPort/globalPort.yml +++ b/catalog-be/src/main/resources/import/tosca/heat-types/globalPort/globalPort.yml @@ -35,6 +35,11 @@ node_types: type: org.openecomp.datatypes.Naming subnetpoolid: type: string + subinterface_indicator: + description: identifies if Port is having Sub Interface + type: boolean + required: false + default: false capabilities: network.incoming.packets.rate: type: org.openecomp.capabilities.metric.Ceilometer diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/multiFlavorVFC/multiFlavorVFC.zip b/catalog-be/src/main/resources/import/tosca/heat-types/multiFlavorVFC/multiFlavorVFC.zip index d73488d0c052d0529d102f0061f23171becb277a..9edb9f53c07b04097ef0634c1ef7a51292654a27 100644 GIT binary patch delta 36 qcmX@b`iyDf{|}5JlS7$QCyO!(Pwr*X=VN4GWJqCPV0Z(>3=9C;E(pp1 delta 364 zcmaFHbc(e;z?+#xgn@y9gW+Y|Rj*kg4uR)@yk15I24NtbTbfgn>6VjNmR}U+=B$@h zoS&CF!I1lqfk12d!vBgXVwyX4b}lFp6fB&`mtM7YqM7E&P>rSk@2cc(Trsn+{Qd6g zoqACQ$FeiLd2b48J&``PdYQ^j{fA4>mhO+<8hUd2!Fu&AN&-_-?tQH}Qn*LX`jx(w znemoGCuS`PyH|Yd)&f`8X^h$d3nwK zFIP6Hri@!bXUoKlxpkj|etgpTl<09_`r^FVzxAKQn~NG(RBunYvpAHv4wu^ zA}mL9u6&=m=T*Z$M&1b@B;^@!gurA@Mg?7vr@0sufT6*_z{nuMu=MX^>6}-W7}4nf fZ$>8hi62!N|4$ZYbmU`VU}884)bbh_lne|2Y*Uoc diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/neutronPort/neutronPort.yml b/catalog-be/src/main/resources/import/tosca/heat-types/neutronPort/neutronPort.yml index 34a74eb4c4..0f6fcb371c 100644 --- a/catalog-be/src/main/resources/import/tosca/heat-types/neutronPort/neutronPort.yml +++ b/catalog-be/src/main/resources/import/tosca/heat-types/neutronPort/neutronPort.yml @@ -131,6 +131,7 @@ node_types: type: tosca.capabilities.network.Bindable valid_source_types: - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface occurrences: - 0 - UNBOUNDED \ No newline at end of file diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/portMirroring/portMirroring.zip b/catalog-be/src/main/resources/import/tosca/heat-types/portMirroring/portMirroring.zip index cbed61fcf5e5a73458aef01c8786e77498f75eb2..ca5650b8c9e25a6291ea9ea80b703b824dfb62f5 100644 GIT binary patch delta 36 qcmX@k`i^Ph*Po0clY^O5CyOu%P3~gS=VN4GWJqRUVE78e3=9C;LI}?Q delta 389 zcmaFIbey$5z?+#xgn@y9gTcU`-`h80=BA@S-WEm%1|c9_kY7~dn^{zpUzC}bu9sDu zpVvCUmcPkBpsif^zw_Z7p3d2`3yUro?2v2=(wcIif6H+Pp8t2VH8YN6Opkki@Ai_M>6|r-NqH{5B+WH0~i>Yx}u4K-7m*nbdvG5O{j-JDtbsS5ib?JqX>@|7xrG z!PDCx_Asq4;45FT<7Y_3fiKOfqN~?wi)qZ0{C_b?h$nf%mfPey+#1q61H2iT>?i(GW&Ao> Vfzg4FiGhjXIMBdXz%XWD00748kx&2t diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/portMirroringByPolicy/portMirroringByPolicy.zip b/catalog-be/src/main/resources/import/tosca/heat-types/portMirroringByPolicy/portMirroringByPolicy.zip index a11e4f7842a8e313fbd7cf071c2d17bf5f5f57d3..7a4ce51cfb0e2e0af2453896dbfdffb3825330e5 100644 GIT binary patch delta 38 scmeBWpTe@4mvK5HqsU}IX4T23n4~5LFzfR%GB7e^GcYhrW&{!p0IRqM1ONa4 delta 360 zcmbQj(#tL#;LXe;!oa}5!7w`@&HIJ54d+!L?-nBigVf}GjFRqJ_POiZH8NgxNyRUpK_8B&tt{IXXkF-sNj6s z|K5FL*X`U=_clytl(c8S<@XJY>bfAmb1^6Y!-Ii=kwJpN?hA)RAu62oV=gWosWruiQzg>(*h=tRsid$k|h8D diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/serviceProxy/serviceProxy.zip b/catalog-be/src/main/resources/import/tosca/heat-types/serviceProxy/serviceProxy.zip index 9f0b60d1dfd86df2a96d1fc2221ec161d91415c3..55ffe94d9962c98d39cb40daa637b4aa54508269 100644 GIT binary patch delta 31 gcmZ3>@}6 zlKZTS(}S!WVyiUj9yV1iD>+oLl`Z_@{a2o~nqPl7O1|f)=h5X(Jhxou^s>K4YB|0w zW}4h-HsPyZhiO{}r>rWg7RT}vo8L^%`ffb`i|4Z%QC_{DcSSFFK4O(ypmlQ7SEt<9 zA69IrT%XYJ;l<*kM-I%7=*?-q$6X?^_GQJl;HmrDQ%wC0IqIKxD*f-SJ9o?P&C`Uv z@1q1{*u($+*ZL@t|2|;i9Q$BKCJ_eQfdC8#21W)2AUPX|F@hw(o0SbH&cFnOwLp3n IFzgr@0LwUwHUIzs diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.json b/catalog-be/src/main/resources/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.json new file mode 100644 index 0000000000..2b7d98c171 --- /dev/null +++ b/catalog-be/src/main/resources/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.json @@ -0,0 +1,15 @@ +{ + "payloadName": "subInterfaceV2.yml", + "contactId": "jh0003", + "name": "subInterfaceV2", + "description": "VLAN sub-Interface is a logical port which must be binded to a port. Regular port may have 1…N VLAN Interfaces.It can connect to its own network (regardless of the network the parent port can connect)", + "resourceIconPath": "network", + "resourceType": "CP", + "categories": [{ + "name": "Generic", + "subcategories": [{ + "name": "Network Elements" + }] + }], + "tags": ["subInterfaceV2"] +} \ No newline at end of file diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.yml b/catalog-be/src/main/resources/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.yml new file mode 100644 index 0000000000..7c19089242 --- /dev/null +++ b/catalog-be/src/main/resources/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.yml @@ -0,0 +1,45 @@ +tosca_definitions_version: tosca_simple_yaml_1_0_0 +node_types: + org.openecomp.resource.cp.nodes.network.v2.SubInterface: + derived_from: tosca.nodes.Root + properties: + ip_address: + description: Allow the user to set a fixed IP address. Note that this address is a request to the provider which they will attempt to fulfill but may not be able to dependent on the network the port is associated with. + type: string + required: false + order: + description: 'The order of the NIC on the compute instance (e.g. eth2). Note: + when binding more than one port to a single compute (aka multi vNICs) and + ordering is desired, it is *mandatory* that all ports will be set with an + order value and. The order values must represent a positive, arithmetic + progression that starts with 0 (e.g. 0, 1, 2, ..., n).' + type: integer + default: 0 + required: false + constraints: + - greater_or_equal: 0 + is_default: + description: Set is_default=true to apply a default gateway route on the running compute instance to the associated network gateway. Only one port that is associated to single compute node can set as default=true. + type: boolean + default: false + required: false + ip_range_start: + description: Defines the starting IP of a range to be allocated for the compute instances that are associated by this Port. Without setting this property the IP allocation is done from the entire CIDR block of the network. + type: string + required: false + ip_range_end: + description: Defines the ending IP of a range to be allocated for the compute instances that are associated by this Port. Without setting this property the IP allocation is done from the entire CIDR block of the network. + type: string + required: false + attributes: + ip_address: + description: The IP address would be assigned to the associated compute instance. + type: string + requirements: + - subinterface_link: + capability: tosca.capabilities.network.Linkable + relationship: tosca.relationships.network.LinksTo + - binding: + capability: tosca.capabilities.network.Bindable + relationship: tosca.relationships.network.BindsTo + diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.zip b/catalog-be/src/main/resources/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.zip new file mode 100644 index 0000000000000000000000000000000000000000..fc34ec54ff7b81d0a530b91fd9c7ddd1ff90c8ac GIT binary patch literal 1010 zcmWIWW@Zs#U|`^2sA#M95xqL0#eXT$<#WSCU$kmYAFxW~5h{oAWfx z*Z;ABz+UB#^3RU7cZFJn-8!rnqqR1I#iP1sPRgYyi?VBFx8Cl*pRS(CbhoSZ^|yvD z+t1I=&gM6dh(EFBiI=446jQs~8$SQowBX&T)w?dvd7H9!^Xr^>XZ`(qbS=4exBYGU zU}>wkDNi-$a2t2D`Js*5*J?+I^mZJJli-Vf9e3oJo6XjrmsrZC>Qpes*Lam>9Zn6i zjQ(C&z280CIsLN5gWU@RMA%<0p5-%5wTahVcAEa2EGMsrtFM)LC!W1hRpy{}zELIg zmHG57H4E;=U)amb<1G2X{pZ6ukHU-otWNEhmR_hdxmSyEd+h2Y+5WOEp;4208egm3 z3|+hKQQ$qcRZshRc&8Yjj4@v4C=@j{hbeNhL3OQF&1)yFH+yxb@We3LtvNa)`AVIm zokeQc@5?U1mU`kLo^LC6Y~YLO=Pdcw({QpWXX>K+`uXfZ8>i`}1Ri70f?oq9bc_sKOW}nBZXjze5ft&FYOj7x+HnsD! zbe>7BGY;~ce_CprQN;G$Z?x36`c13}@0*jnb#j@5EyL2@E4s%knkI2QUdXO0uaMEK z))6}Cz*nsWp6M#G4B33EBouysi#cfF=jYBgsnJus_MW!+{EJ_E^3qgVW=z~Eke;8t z%0N=P>~dD9&?lXYe|ZZzS1k(iV@k0S3};Cb5}qD8{b1-TL0+r0+Ky!1Pe&4yzN+q+ z7OXkj?Y)9ey`Q$rjYXH|y2iHi6|FVYxaX+OyVzvg4+BQ#z6J7ZKaxMMc{+O`!?D|W zht3_azf=)VJ;TrZO8WK-ak_8z)?egG`@b~E=m6LHW9{>HK0i|S zKO;AH^~5}{xV1df+aH%H+$`Lte0kRKqeZU!&R+e{mmW29I_GXDGo$dR*1I3(y!XHI zh%l(-i%E4 z47hTh3NY`1fC8ArmJhk0a*PZT3}$XY`!5~6%*b%e;LI^3I>4Ki4P*c#5T*d>3SiD= GU;qHFO13uu literal 0 HcmV?d00001 diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/vnfConfiguration/vnfConfiguration.zip b/catalog-be/src/main/resources/import/tosca/heat-types/vnfConfiguration/vnfConfiguration.zip index 03a7d535f2edbf2a2690484dd6830597be302ce8..eb763dadf476174a410e6cbdf260aec0751fa9fd 100644 GIT binary patch delta 46 zcmey)I)#}fz?+$6awC((VhKh@Mv=)4OsbRZm_#SGz7q3qOd6O6!7({_|SzelReqLH;dTCK&NoIbY zURH5_Ug-ow?n4Fwt>2seE2fBP?%3J6phT1JlB?C6ms@+cc*6}_YMCAJat?h6lU8vH7d7lTm8fA_aae|0%n?S_xJWau8_8R z#V>PJecA=>z~8`jl4y diff --git a/catalog-be/src/main/resources/import/tosca/policy-types/policyTypes.json b/catalog-be/src/main/resources/import/tosca/policy-types/policyTypes.json new file mode 100644 index 0000000000..9f97d5586b --- /dev/null +++ b/catalog-be/src/main/resources/import/tosca/policy-types/policyTypes.json @@ -0,0 +1,51 @@ +{ + "tosca.policies.Root": { + "displayName": "Root", + "icon": "policy-root" + }, + "tosca.policies.Placement": { + "displayName": "Placement", + "icon": "policy-placement" + }, + "tosca.policies.Scaling": { + "displayName": "Scaling", + "icon": "policy-scaling" + }, + "tosca.policies.Update": { + "displayName": "Update", + "icon": "policy-update" + }, + "tosca.policies.Performance": { + "displayName": "Performance", + "icon": "policy-performance" + }, + "org.openecomp.policies.placement.Antilocate": { + "displayName": "Placement Antilocate", + "icon": "policy-placement-antilocate" + }, + "org.openecomp.policies.placement.Colocate": { + "displayName": "Placement Colocate", + "icon": "policy-placement-colocate" + }, + "org.openecomp.policies.placement.valet.Diversity": { + "displayName": "Placement Valet Diversity", + "icon": "policy-placement-valet-diversity" + }, + "org.openecomp.policies.placement.valet.Exclusivity": { + "displayName": "Placement Valet Exclusivity", + "icon": "policy-placement-valet-exclusivity" + }, + "org.openecomp.policies.placement.valet.Affinity": { + "displayName": "Placement Valet Affinity", + "icon": "placement-valet-affinity" + }, + "org.openecomp.policies.scaling.Fixed": { + "displayName": "Scaling Fixed", + "icon": "policy-fixed" + }, + "org.openecomp.policies.External": { + "displayName": "External", + "icon": "policy-external" + } + +} \ No newline at end of file diff --git a/catalog-be/src/main/resources/import/tosca/relationship-types/relationshipTypes.yml b/catalog-be/src/main/resources/import/tosca/relationship-types/relationshipTypes.yml index fa4d5b7671..2ed8c0e785 100644 --- a/catalog-be/src/main/resources/import/tosca/relationship-types/relationshipTypes.yml +++ b/catalog-be/src/main/resources/import/tosca/relationship-types/relationshipTypes.yml @@ -1,106 +1,106 @@ - tosca.relationships.Root: - description: This is the default (root) TOSCA Relationship Type definition that all other TOSCA Relationship Types derive from. - attributes: - tosca_id: - description: A unique identifier of the realized instance of a Relationship Template that derives from any TOSCA normative type. - type: string - tosca_name: - description: This attribute reflects the name of the Relationship Template as defined in the TOSCA service template. This name is not unique to the realized instance model of corresponding deployed application as each template in the model can result in one or more instances (e.g., scaled) when orchestrated to a provider environment. - type: string - state: - description: The state of the relationship instance. - type: string - default: initial - interfaces: - Configure: - type: tosca.interfaces.relationship.Configure +tosca.relationships.Root: + description: This is the default (root) TOSCA Relationship Type definition that all other TOSCA Relationship Types derive from. + attributes: + tosca_id: + description: A unique identifier of the realized instance of a Relationship Template that derives from any TOSCA normative type. + type: string + tosca_name: + description: This attribute reflects the name of the Relationship Template as defined in the TOSCA service template. This name is not unique to the realized instance model of corresponding deployed application as each template in the model can result in one or more instances (e.g., scaled) when orchestrated to a provider environment. + type: string + state: + description: The state of the relationship instance. + type: string + default: initial + interfaces: + Configure: + type: tosca.interfaces.relationship.Configure - tosca.relationships.RoutesTo: - derived_from: tosca.relationships.ConnectsTo - description: This type represents an intentional network routing between two Endpoints in different networks. - valid_target_types: - - tosca.capabilities.Endpoint +tosca.relationships.RoutesTo: + derived_from: tosca.relationships.ConnectsTo + description: This type represents an intentional network routing between two Endpoints in different networks. + valid_target_types: + - tosca.capabilities.Endpoint - tosca.relationships.network.LinksTo: - derived_from: tosca.relationships.DependsOn - description: This relationship type represents an association relationship between Port and Network node types. - valid_target_types: - - tosca.capabilities.network.Linkable +tosca.relationships.network.LinksTo: + derived_from: tosca.relationships.DependsOn + description: This relationship type represents an association relationship between Port and Network node types. + valid_target_types: + - tosca.capabilities.network.Linkable - tosca.relationships.AttachesTo: - derived_from: tosca.relationships.Root - description: This type represents an attachment relationship between two nodes. For example, an AttachesTo relationship type would be used for attaching a storage node to a Compute node. - valid_target_types: - - tosca.capabilities.Attachment - properties: - location: - description: 'The relative location (e.g., path on the file system), which - provides the root location to address an attached node. e.g., a mount point - / path such as ''/usr/data''. Note: The user must provide it and it cannot - be "root".' - type: string - constraints: - - min_length: 1 - device: - description: The logical device name which for the attached device (which is represented by the target node in the model). e.g., '/dev/hda1'. - type: string - required: false - attributes: - device: - description: 'The logical name of the device as exposed to the instance. Note: - A runtime property that gets set when the model gets instantiated by the - orchestrator.' - type: string +tosca.relationships.AttachesTo: + derived_from: tosca.relationships.Root + description: This type represents an attachment relationship between two nodes. For example, an AttachesTo relationship type would be used for attaching a storage node to a Compute node. + valid_target_types: + - tosca.capabilities.Attachment + properties: + location: + description: 'The relative location (e.g., path on the file system), which + provides the root location to address an attached node. e.g., a mount point + / path such as ''/usr/data''. Note: The user must provide it and it cannot + be "root".' + type: string + constraints: + - min_length: 1 + device: + description: The logical device name which for the attached device (which is represented by the target node in the model). e.g., '/dev/hda1'. + type: string + required: false + attributes: + device: + description: 'The logical name of the device as exposed to the instance. Note: + A runtime property that gets set when the model gets instantiated by the + orchestrator.' + type: string - tosca.relationships.network.BindsTo: - derived_from: tosca.relationships.DependsOn - description: This type represents a network association relationship between Port and Compute node types. - valid_target_types: - - tosca.capabilities.network.Bindable +tosca.relationships.network.BindsTo: + derived_from: tosca.relationships.DependsOn + description: This type represents a network association relationship between Port and Compute node types. + valid_target_types: + - tosca.capabilities.network.Bindable - tosca.relationships.HostedOn: - derived_from: tosca.relationships.Root - description: This type represents a hosting relationship between two nodes. - valid_target_types: - - tosca.capabilities.Container +tosca.relationships.HostedOn: + derived_from: tosca.relationships.Root + description: This type represents a hosting relationship between two nodes. + valid_target_types: + - tosca.capabilities.Container - tosca.relationships.DependsOn: - derived_from: tosca.relationships.Root - description: This type represents a general dependency relationship between two nodes. - valid_target_types: - - tosca.capabilities.Node +tosca.relationships.DependsOn: + derived_from: tosca.relationships.Root + description: This type represents a general dependency relationship between two nodes. + valid_target_types: + - tosca.capabilities.Node - tosca.relationships.ConnectsTo: - derived_from: tosca.relationships.Root - description: This type represents a network connection relationship between two nodes. - valid_target_types: - - tosca.capabilities.Endpoint - properties: - credential: - type: tosca.datatypes.Credential - required: false +tosca.relationships.ConnectsTo: + derived_from: tosca.relationships.Root + description: This type represents a network connection relationship between two nodes. + valid_target_types: + - tosca.capabilities.Endpoint + properties: + credential: + type: tosca.datatypes.Credential + required: false - org.openecomp.relationships.VolumeAttachesTo: - derived_from: org.openecomp.relationships.AttachesTo - description: This type represents an attachment relationship for associating volume - properties: - volume_id: - description: The ID of the volume to be attached - type: string - status: SUPPORTED - required: true - instance_uuid: - description: The ID of the server to which the volume attaches - type: string - status: SUPPORTED - required: true - attributes: - show: - description: Detailed information about resource - type: string - status: SUPPORTED +org.openecomp.relationships.VolumeAttachesTo: + derived_from: org.openecomp.relationships.AttachesTo + description: This type represents an attachment relationship for associating volume + properties: + volume_id: + description: The ID of the volume to be attached + type: string + status: SUPPORTED + required: true + instance_uuid: + description: The ID of the server to which the volume attaches + type: string + status: SUPPORTED + required: true + attributes: + show: + description: Detailed information about resource + type: string + status: SUPPORTED - org.openecomp.relationships.AttachesTo: +org.openecomp.relationships.AttachesTo: derived_from: tosca.relationships.AttachesTo description: This type represents an attachment relationship properties: @@ -109,17 +109,21 @@ type: string status: SUPPORTED required: false - org.openecomp.relationships.ForwardsTo: +org.openecomp.relationships.ForwardsTo: + derived_from: tosca.relationships.Root + valid_target_types: [org.openecomp.capabilities.Forwarder] +org.openecomp.relationships.AssignsTo: derived_from: tosca.relationships.Root - valid_target_types: - - org.openecomp.capabilities.Forwarder +org.openecomp.relationships.RoutesTo: + derived_from: tosca.relationships.RoutesTo + description: This type represents an intentional network routing between internal and external network - tosca.relationships.nfv.VirtualBindsTo: +tosca.relationships.nfv.VirtualBindsTo: derived_from: tosca.relationships.DependsOn valid_target_types: - tosca.capabilities.nfv.VirtualBindable - tosca.relationships.nfv.VirtualLinksTo: +tosca.relationships.nfv.VirtualLinksTo: derived_from: tosca.relationships.DependsOn valid_target_types: - tosca.capabilities.nfv.VirtualLinkable \ No newline at end of file -- 2.16.6