aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/templates/plugins/.gitkeep
blob: e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 (plain)

d } /* 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: ocata

description: >
  OpenStack Neutron Plumgrid plugin

parameters:
  ServiceNetMap:
    default: {}
    description: Mapping of service_name -> network name. Typically set
                 via parameter_defaults in the resource registry.  This
                 mapping overrides those in ServiceNetMapDefaults.
    type: json
  DefaultPasswords:
    default: {}
    type: json
  EndpointMap:
    default: {}
    description: Mapping of service endpoint -> protocol. Typically set
                 via parameter_defaults in the resource registry.
    type: json
  NeutronPassword:
    description: The password for the neutron service and db account, used by neutron agents.
    type: string
    hidden: true
  NeutronMetadataProxySharedSecret:
    description: Shared secret to prevent spoofing
    type: string
    hidden: true
  AdminPassword:
    description: The password for the keystone admin account, used for monitoring, querying neutron etc.
    type: string
    hidden: true

  # PLUMgrid specific settings
  PLUMgridDirectorServer:
    description: IP address of the PLUMgrid Director Server
    type: string
    default: 127.0.0.1
  PLUMgridDirectorServerPort:
    description: Port of the PLUMgrid Director Server
    type: string
    default: 443
  PLUMgridUsername:
    description: Username for PLUMgrid platform
    type: string
  PLUMgridPassword:
    description: Password for PLUMgrid platform
    type: string
    hidden: true
  PLUMgridNovaMetadataIP:
    description: IP address of Nova Metadata
    type: string
    default: 169.254.169.254
  PLUMgridNovaMetadataPort:
    description: Port of Nova Metadata
    type: string
    default: 8775
  PLUMgridL2GatewayVendor:
    description: Vendor for L2 Gateway Switch
    type: string
    default: vendor
  PLUMgridL2GatewayUsername:
    description: Username for L2 Gateway Switch
    type: string
    default: username
  PLUMgridL2GatewayPassword:
    description: Password for L2 Gateway Switch
    type: string
    hidden: true
  PLUMgridIdentityVersion:
    description: Keystone Identity version
    type: string
    default: v2.0
  PLUMgridConnectorType:
    description: Neutron Network Connector Type
    type: string
    default: distributed
  PLUMgridNeutronPluginVersion:
    description: PLUMgrid Neutron Plugin version
    type: string
    default: present
  PLUMgridPlumlibVersion:
    description: PLUMgrid Plumlib version
    type: string
    default: present


outputs:
  role_data:
    description: Role data for the Neutron Plumgrid plugin
    value:
      service_name: neutron_plugin_plumgrid
      config_settings:
        neutron::plugins::plumgrid::connection:
          list_join:
            - ''
            - - {get_param: [EndpointMap, MysqlInternal, protocol]}
              - '://neutron:'
              - {get_param: NeutronPassword}
              - '@'
              - {get_param: [EndpointMap, MysqlInternal, host]}
              - '/ovs_neutron'
              - '?read_default_file=/etc/my.cnf.d/tripleo.cnf&read_default_group=tripleo'
        neutron::plugins::plumgrid::controller_priv_host: {get_param: [EndpointMap, KeystoneInternal, host]}
        neutron::plugins::plumgrid::admin_password: {get_param: AdminPassword}
        neutron::plugins::plumgrid::metadata_proxy_shared_secret: {get_param: NeutronMetadataProxySharedSecret}
        neutron::plugins::plumgrid::director_server: {get_param: PLUMgridDirectorServer}
        neutron::plugins::plumgrid::director_server_port: {get_param: PLUMgridDirectorServerPort}
        neutron::plugins::plumgrid::username: {get_param: PLUMgridUsername}
        neutron::plugins::plumgrid::password: {get_param: PLUMgridPassword}
        neutron::plugins::plumgrid::nova_metadata_ip: {get_param: PLUMgridNovaMetadataIP}
        neutron::plugins::plumgrid::nova_metadata_port: {get_param: PLUMgridNovaMetadataPort}
        neutron::plugins::plumgrid::l2gateway_vendor: {get_param: PLUMgridL2GatewayVendor}
        neutron::plugins::plumgrid::l2gateway_sw_username: {get_param: PLUMgridL2GatewayUsername}
        neutron::plugins::plumgrid::l2gateway_sw_password: {get_param: PLUMgridL2GatewayPassword}
        neutron::plugins::plumgrid::connector_type: {get_param: PLUMgridConnectorType}
        neutron::plugins::plumgrid::identity_version: {get_param: PLUMgridIdentityVersion}
        neutron::plugins::plumgrid::package_ensure: {get_param: PLUMgridNeutronPluginVersion}
        neutron::plugins::plumgrid::plumlib_package_ensure: {get_param: PLUMgridPlumlibVersion}

      step_config: |
        include tripleo::profile::base::neutron::plugins::plumgrid