aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/.eslintignore
blob: bd11f6ec2604075abac0e30fbcd8359fd256146d (plain)
1
2
3
4
webpack.config*.js
gulpfile.js
fixture
tools
ht .hll { background-color: #ffffcc } .highlight .c { color: #888888 } /* Comment */ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ .highlight .k { color: #008800; font-weight: bold } /* Keyword */ .highlight .ch { color: #888888 } /* Comment.Hashbang */ .highlight .cm { color: #888888 } /* Comment.Multiline */ .highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */ .highlight .cpf { color: #888888 } /* Comment.PreprocFile */ .highlight .c1 { color: #888888 } /* Comment.Single */ .highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */ .highlight .ge { font-style: italic } /* Generic.Emph */ .highlight .gr { color: #aa0000 } /* Generic.Error */ .highlight .gh { color: #333333 } /* Generic.Heading */ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */ .highlight .go { color: #888888 } /* Generic.Output */ .highlight .gp { color: #555555 } /* Generic.Prompt */ .highlight .gs { font-weight: bold } /* Generic.Strong */ .highlight .gu { color: #666666 } /* Generic.Subheading */ .highlight .gt { color: #aa0000 } /* Generic.Traceback */ .highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */ .highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */ .highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */ .highlight .kp { color: #008800 } /* Keyword.Pseudo */ .highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
heat_template_version: 2013-05-23
#################################
#
#  Changes in v0.2:
#  - Unique availability zone for each VM
#  - LAN8 and SLAN networks removed according to latest Prod/Type I diagram
#  - 2 DB VMs added
#  - Images corrected
#  - VM start-up order: SMP->DB->BE->FE (no error handling yet)
#  - Provisioning scripts placeholders
#
#################################

description: ASC Template

parameters:
  city_name:
    type: number123
    description: city name
    default: 12.12
  address:
    type: string
    description: address
    default: Alonim
  home_number:
    type: number
    description: home_number
    default: 8
resources:
#  scp_be_wait_condition:
#    type: OS::Heat::WaitCondition
#    properties:
#      handle: { get_resource: scp_be_wait_handle }
#      count: 5
#      timeout: 300
#  scp_be_wait_handle:
#    type: OS::Heat::WaitConditionHandle
#
#  scp_fe_wait_condition:
#    type: OS::Heat::WaitCondition
#    properties:
#      handle: { get_resource: scp_fe_wait_handle }
#      count: 2
#      timeout: 300
#  scp_fe_wait_handle:
#    type: OS::Heat::WaitConditionHandle
#
#  smp_wait_condition:
#    type: OS::Heat::WaitCondition
#    properties:
#      handle: { get_resource: smp_wait_handle }
#      count: 2
#      timeout: 300
#  smp_wait_handle:
#    type: OS::Heat::WaitConditionHandle
#
#  db_wait_condition:
#    type: OS::Heat::WaitCondition
#    properties:
#      handle: { get_resource: db_wait_handle }
#      count: 2
#      timeout: 300
#  db_wait_handle:
#    type: OS::Heat::WaitConditionHandle

  FE_Affinity:
    type: OS::Nova::ServerGroup
    properties:
      policies: ["anti-affinity"] 
  BE_Affinity:
    type: OS::Nova::ServerGroup
    properties:
      policies: ["anti-affinity"]
  SMP_Affinity:
    type: OS::Nova::ServerGroup
    properties:
      policies: ["anti-affinity"]
  DB_Affinity:
    type: OS::Nova::ServerGroup
    properties:
      policies: ["anti-affinity"]
      
  FE_Clustering_KA:
    type: OS::Contrail::VirtualNetwork
    properties:
      name: { get_param: int_vscp_fe_cluster_net_id }

  FE_Clustering_subnet:
    type: OS::Neutron::Subnet
    properties:
      network_id: { get_resource: FE_Clustering_KA }
      cidr: { get_param: int_vscp_fe_cluster_cidr }

  Clustering_Network:
    type: OS::Contrail::VirtualNetwork
    properties:
      name: { get_param: int_vscp_cluster_net_id }

  Clustering_Network_subnet:
    type: OS::Neutron::Subnet
    properties:
      network_id: { get_resource: Clustering_Network }
      cidr: { get_param: int_vscp_cluster_cidr }

  DB_Network:
    type: OS::Contrail::VirtualNetwork
    properties:
      name: { get_param: int_vscp_db_network_net_id }

  DB_Network_subnet:
    type: OS::Neutron::Subnet
    properties:
      network_id: { get_resource: DB_Network }
      cidr: { get_param: int_vscp_db_network_cidr }

  server_scp_be0:
    type: OS::Nova::Server
#    depends on: db_wait_condition
    properties:
      name: { get_param: vm_scp_be0_name }
      image: { get_param: image_scp_be_id }
#      availability_zone: { get_param: availability_zone_be0 }
      flavor: { get_param: flavor_scp_be_id }
      scheduler_hints: { group: { get_resource: BE_Affinity } }
      networks:
      - port: { get_resource: be0_port_3 }
      - port: { get_resource: be0_port_4 }
      - port: { get_resource: be0_port_5 }
      - port: { get_resource: be0_port_7 }
      metadata:
        vnf_id: { get_param: vnf_id }
      user_data:
        str_replace:
          template: |
            #!/bin/bash
            #todo: provision $vm_name
            wc_notify --data-binary '{"status": "SUCCESS"}'
          params:
            $vm_name: {get_param: vm_scp_be0_name}
#            wc_notify: { get_attr: ['scp_be_wait_handle', 'curl_cli'] }