Clean up remaining items for Nexus 1000v driver support
... because these were deprecated during Wallaby[1] and have had no
effect since then.
[1] 320da88fea
Change-Id: I4fbb74ab8f86bb9277e0dc29411148dde801c3ef
This commit is contained in:
parent
47ee099587
commit
7148fdaf46
@ -1,126 +0,0 @@
|
||||
# == Class: n1kv_vem
|
||||
#
|
||||
# DEPRECATED !
|
||||
# Deploy N1KV VEM on compute and network nodes.
|
||||
# Support exists and tested for RedHat.
|
||||
# (For Ubuntu/Debian platforms few changes and testing pending.)
|
||||
#
|
||||
# === Parameters
|
||||
# [*n1kv_vsm_ip*]
|
||||
# (required) N1KV VSM(Virtual Supervisor Module) VM's IP.
|
||||
# Defaults to 127.0.0.1
|
||||
#
|
||||
# [*n1kv_vsm_ipv6*]
|
||||
# (required) N1KV VSM(Virtual Supervisor Module) VM's IP.
|
||||
# Defaults to ::1
|
||||
#
|
||||
# [*n1kv_vsm_domain_id*]
|
||||
# (required) N1KV VSM DomainID.
|
||||
# Defaults to 1000
|
||||
#
|
||||
# [*host_mgmt_intf*]
|
||||
# (required) Management Interface of node where VEM will be installed.
|
||||
# Defaults to eth1
|
||||
#
|
||||
# [*uplink_profile*]
|
||||
# (optional) Uplink Interfaces that will be managed by VEM. The uplink
|
||||
# port-profile that configures these interfaces should also be specified.
|
||||
# (format)
|
||||
# $uplink_profile = { 'eth1' => 'profile1',
|
||||
# 'eth2' => 'profile2'
|
||||
# },
|
||||
# Defaults to empty
|
||||
#
|
||||
# [*vtep_config*]
|
||||
# (optional) Virtual tunnel interface configuration.
|
||||
# Eg:VxLAN tunnel end-points.
|
||||
# (format)
|
||||
# $vtep_config = { 'vtep1' => { 'profile' => 'virtprof1',
|
||||
# 'ipmode' => 'dhcp'
|
||||
# },
|
||||
# 'vtep2' => { 'profile' => 'virtprof2',
|
||||
# 'ipmode' => 'static',
|
||||
# 'ipaddress' => '192.168.1.1',
|
||||
# 'netmask' => '255.255.255.0'
|
||||
# }
|
||||
# },
|
||||
# Defaults to empty
|
||||
#
|
||||
# [*node_type*]
|
||||
# (optional). Specify the type of node: 'compute' (or) 'network'.
|
||||
# Defaults to 'compute'
|
||||
#
|
||||
# All the above parameter values will be used in the config file: n1kv.conf
|
||||
#
|
||||
# [*vteps_in_same_subnet*]
|
||||
# (optional)
|
||||
# The VXLAN tunnel interfaces created on VEM can belong to same IP-subnet.
|
||||
# In such case, set this parameter to true. This results in below
|
||||
# 'sysctl:ipv4' values to be modified.
|
||||
# rp_filter (reverse path filtering) set to 2(Loose).Default is 1(Strict)
|
||||
# arp_ignore (arp reply mode) set to 1:reply only if target ip matches
|
||||
# that of incoming interface. Default is 0
|
||||
# arp_announce (arp announce mode) set to 1. Default is 0
|
||||
# Please refer Linux Documentation for detailed description
|
||||
# http://lxr.free-electrons.com/source/Documentation/networking/ip-sysctl.txt
|
||||
#
|
||||
# If the tunnel interfaces are not in same subnet set this parameter to false.
|
||||
# Note that setting to false causes no change in the sysctl settings and does
|
||||
# not revert the changes made if it was originally set to true on a previous
|
||||
# catalog run.
|
||||
#
|
||||
# Defaults to false
|
||||
#
|
||||
# [*n1kv_source*]
|
||||
# (optional)
|
||||
# n1kv_source ==> VEM package location. One of below
|
||||
# A)URL of yum repository that hosts VEM package.
|
||||
# B)VEM RPM/DPKG file name, If present locally in 'files' folder
|
||||
# C)If not specified, assumes that VEM image is available in
|
||||
# default enabled repositories.
|
||||
# Defaults to empty
|
||||
#
|
||||
# [*n1kv_version*]
|
||||
# (optional). Specify VEM package version to be installed.
|
||||
# Not applicable if 'n1kv_source' is a file. (Option-B above)
|
||||
# Defaults to 'present'
|
||||
#
|
||||
# [*package_ensure*]
|
||||
# (optional) Ensure state for dependent packages: Openvswitch/libnl.
|
||||
# Defaults to 'present'.
|
||||
#
|
||||
# [*enable*]
|
||||
# (optional) Enable state for service. Defaults to 'true'.
|
||||
#
|
||||
# [*manage_service*]
|
||||
# (optional) Whether to start/stop the service
|
||||
# Defaults to true
|
||||
#
|
||||
# [*portdb*]
|
||||
# (optional) PortDB (ovs|vem)
|
||||
# Defaults to ovs
|
||||
#
|
||||
# [*fastpath_flood*]
|
||||
# (optional) Handle broadcast floods and unknown pkts in fastpath(KLM)
|
||||
# Defaults to enable
|
||||
#
|
||||
class neutron::agents::n1kv_vem (
|
||||
$n1kv_vsm_ip = '127.0.0.1',
|
||||
$n1kv_vsm_ipv6 = '::1',
|
||||
$n1kv_vsm_domain_id = 1000,
|
||||
$host_mgmt_intf = 'eth1',
|
||||
$uplink_profile = {},
|
||||
$vtep_config = {},
|
||||
$node_type = 'compute',
|
||||
$vteps_in_same_subnet = false,
|
||||
$n1kv_source = '',
|
||||
$n1kv_version = 'present',
|
||||
$package_ensure = 'present',
|
||||
$enable = true,
|
||||
$manage_service = true,
|
||||
$portdb = 'ovs',
|
||||
$fastpath_flood = 'enable'
|
||||
) {
|
||||
|
||||
warning('The support N1kv driver was deprecated and has no effect')
|
||||
}
|
@ -1,93 +0,0 @@
|
||||
#
|
||||
# DEPRECATED!!
|
||||
# Configure the Mech Driver for cisco nexus 1000v neutron plugin
|
||||
#
|
||||
# === Parameters
|
||||
#
|
||||
#[*n1kv_vsm_ip*]
|
||||
#IP(s) of N1KV VSM(Virtual Supervisor Module)
|
||||
#$n1kv_vsm_ip = 1.2.3.4, 5.6.7.8
|
||||
#Defaults to empty
|
||||
#
|
||||
#[*n1kv_vsm_username*]
|
||||
#Username of N1KV VSM(Virtual Supervisor Module)
|
||||
#Defaults to empty
|
||||
#
|
||||
#[*n1kv_vsm_password*]
|
||||
#Password of N1KV VSM(Virtual Supervisor Module)
|
||||
#Defaults to empty
|
||||
#
|
||||
#[*default_policy_profile*]
|
||||
# (Optional) Name of the policy profile to be associated with a port when no
|
||||
# policy profile is specified during port creates.
|
||||
# Default value:default-pp
|
||||
# default_policy_profile = default-pp
|
||||
#
|
||||
#[*default_vlan_network_profile*]
|
||||
# (Optional) Name of the VLAN network profile to be associated with a network.
|
||||
# Default value:default-vlan-np
|
||||
# default_vlan_network_profile = default-vlan-np
|
||||
#
|
||||
#[*default_vxlan_network_profile*]
|
||||
# (Optional) Name of the VXLAN network profile to be associated with a network.
|
||||
# Default value:default-vxlan-np
|
||||
# default_vxlan_network_profile = default-vxlan-np
|
||||
#
|
||||
#[*poll_duration*]
|
||||
# (Optional) Time in seconds for which the plugin polls the VSM for updates in
|
||||
# policy profiles.
|
||||
# Default value: 60
|
||||
# poll_duration = 60
|
||||
#
|
||||
#[*http_pool_size*]
|
||||
# (Optional) Number of threads to use to make HTTP requests to the VSM.
|
||||
# Default value: 4
|
||||
# http_pool_size = 4
|
||||
#
|
||||
#[*http_timeout*]
|
||||
# (Optional) Timeout duration in seconds for the http request
|
||||
# Default value: 15
|
||||
# http_timeout = 15
|
||||
#
|
||||
#[*sync_interval*]
|
||||
# (Optional) Time duration in seconds between consecutive neutron-VSM syncs
|
||||
# Default value: 300, the time between two consecutive syncs is 300 seconds.
|
||||
# sync_interval = 300
|
||||
#
|
||||
#[*max_vsm_retries*]
|
||||
# (Optional) Maximum number of retry attempts for VSM REST API.
|
||||
# Default value: 2, each HTTP request to VSM will be retried twice on
|
||||
# failures.
|
||||
# max_vsm_retries = 2
|
||||
#
|
||||
#[*restrict_policy_profiles*]
|
||||
# (Optional) Specify whether tenants are restricted from accessing all the
|
||||
# policy profiles.
|
||||
# Default value: False, indicating all tenants can access all policy profiles.
|
||||
# restrict_policy_profiles = False
|
||||
#
|
||||
#[*enable_vif_type_n1kv*]
|
||||
# (Optional) If set to True, the VIF type for portbindings is set to N1KV.
|
||||
# Otherwise the VIF type is set to OVS.
|
||||
# Default value: False, indicating that the VIF type will be set to OVS.
|
||||
# enable_vif_type_n1kv = False
|
||||
#
|
||||
class neutron::plugins::ml2::cisco::nexus1000v (
|
||||
$n1kv_vsm_ip = $::os_service_default,
|
||||
$n1kv_vsm_username = $::os_service_default,
|
||||
$n1kv_vsm_password = $::os_service_default,
|
||||
$default_policy_profile = 'default-pp',
|
||||
$default_vlan_network_profile = 'default-vlan-np',
|
||||
$default_vxlan_network_profile = 'default-vxlan-np',
|
||||
$poll_duration = '60',
|
||||
$http_pool_size = '4',
|
||||
$http_timeout = '15',
|
||||
$sync_interval = '300',
|
||||
$max_vsm_retries = '2',
|
||||
$restrict_policy_profiles = 'False',
|
||||
$enable_vif_type_n1kv = 'False',
|
||||
) {
|
||||
|
||||
warning('The support N1kv driver was deprecated and has no effect')
|
||||
}
|
||||
|
@ -0,0 +1,7 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
The following deprecated classes have been removed.
|
||||
|
||||
- ``neutron::agents::n1kv_vem``
|
||||
- ``neutron::plugins::ml2::cisco::nexus100v``
|
Loading…
Reference in New Issue
Block a user