summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computeWithDiffPortTypeAndServerGroup/in/hot-mog-0108-bs1271.yml
blob: 47aaa8e5357f41e22a9fd17fe9bc268735990bbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

@media only all and (prefers-color-scheme: dark) {
.highlight .hll { background-color: #49483e }
.highlight .c { color: #75715e } /* Comment */
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
.highlight .k { color: #66d9ef } /* Keyword */
.highlight .l { color: #ae81ff } /* Literal */
.highlight .n { color: #f8f8f2 } /* Name */
.highlight .o { color: #f92672 } /* Operator */
.highlight .p { color: #f8f8f2 } /* Punctuation */
.highlight .ch { color: #75715e } /* Comment.Hashbang */
.highlight .cm { color: #75715e } /* Comment.Multiline */
.highlight .cp { color: #75715e } /* Comment.Preproc */
.highlight .cpf { color: #75715e } /* Comment.PreprocFile */
.highlight .c1 { color: #75715e } /* Comment.Single */
.highlight .cs { color: #75715e } /* Comment.Special */
.highlight .gd { color: #f92672 } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gi { color: #a6e22e } /* Generic.Inserted */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #75715e } /* Generic.Subheading */
.highlight .kc { color: #66d9ef } /* Keyword.Constant */
.highlight .kd { color: #66d9ef } /* Keyword.Declaration */
.highlight .kn { color: #f92672 } /* Keyword.Namespace */
.highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
.highlight .kr { color: #66d9ef } /* Keyword.Reserved */
.highlight .kt { color: #66d9ef } /* Keyword.Type */
.highlight .ld { color: #e6db74 } /* Literal.Date */
.highlight .m { color: #ae81ff } /* Liter
heat_template_version: 2013-05-23

description: ASC Template

parameters:
  availability_zone_0:
    type: string
  vnf_id:
    type: string
    description: Unique ID for this VNF instance
    default: This_is_ths_SCP_id
  port_name:
    type: string
    description: port name
    default: port_name
  flavor_smp_name:
    type: string
    description: SCP SMP Flavor
    default: a1.Small
  image_smp_name:
    type: string
    description: SCP SMP image
    default: asc_base_image_smp
  smp_name_1:
    type: string
    default: vSMP2
    description: name of VM
  lab_name:
    type: string
    description: Lab name

resources:
  server_smp1:
      type: OS::Nova::Server
      properties:
        name: { get_param: smp_name_1 }
        image: { get_param: image_smp_name }
        availability_zone: { get_param: availability_zone_0 }
        flavor: { get_param: flavor_smp_name }
        scheduler_hints: { group: { get_resource: BE_Affinity }  }
        networks:
        - port: { get_resource: port1 }
        metadata:
          vnf_id: { get_param: vnf_id }
          jx_lab_name: {get_param: lab_name}
          jx_vm_role:  smp2
        user_data_format: RAW

  port1:
    type: OS::Neutron::Port
    properties:
      network: {get_param: port_name}
      replacement_policy: AUTO

  port2:
    type: OS::Neutron::Port
    properties:
      network: {get_param: port_name}
      replacement_policy: AUTO

  BE_Affinity:
    type: OS::Nova::ServerGroup
    properties:
      policies: ["affinity"]
      name: def