Puppet Class: neutron::plugins::ml2::arista
- Defined in:
- manifests/plugins/ml2/arista.pp
Overview
Copyright © 2016 Matthew J. Black
Author: Matthew J. Black <mjblack@gmail.com>
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Class: neutron::plugins::ml2::arista
Parameters
- eapi_host
-
(required) The Arista EOS IP address.
- eapi_username
-
(required) The Arista EOS api username.
- eapi_password
-
(required) The Arista EOS api password.
- region_name
-
(optional) Region name that is assigned to the OpenStack controller. This setting must be set if multiple regions are using the same Arista hardware. Defaults to $::os_service_default
- sync_interval
-
(optional) Sync interval in seconds between neutron plugin and EOS. Defaults to $::os_service_default
- use_fqdn
-
(optional) Defines if hostnames are sent to Arista EOS as FQDNS Defaults to $::os_service_default
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
# File 'manifests/plugins/ml2/arista.pp', line 45
class neutron::plugins::ml2::arista(
$eapi_host,
$eapi_username,
$eapi_password,
$region_name = $::os_service_default,
$sync_interval = $::os_service_default,
$use_fqdn = $::os_service_default,
) {
include neutron::deps
require neutron::plugins::ml2
neutron_plugin_ml2 {
'ml2_arista/eapi_host' : value => $eapi_host;
'ml2_arista/eapi_username': value => $eapi_username;
'ml2_arista/eapi_password': value => $eapi_password, secret => true;
'ml2_arista/region_name' : value => $region_name;
'ml2_arista/sync_interval': value => $sync_interval;
'ml2_arista/use_fqdn' : value => $use_fqdn;
}
}
|