Skip to content

Commit

Permalink
Increase the default poll duration for Cisco n1kv
Browse files Browse the repository at this point in the history
Increase the poll duration for Cisco N1Kv, from 10s to 60s and also
clean up the /etc/neutron/plugins/cisco/cisco_plugins.ini file. The
current poll duration of 10s causes that VSM to unnecessarily taking
frequent CPU cycles, resulting in the failure of other tasks in scale
configurations.

Closes-Bug: 1357030

Change-Id: I95747f35bae5b7157391c1698c0fe84d2126aa10
  • Loading branch information
svarma1 committed Aug 25, 2014
1 parent 0726bdd commit 6e08e47
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 18 deletions.
29 changes: 12 additions & 17 deletions etc/neutron/plugins/cisco/cisco_plugins.ini
Expand Up @@ -105,39 +105,34 @@

# (StrOpt) Specify the name of the integration bridge to which the VIFs are
# attached.
#
# Default value: br-int
# integration_bridge = br-int

# (StrOpt) Name of the policy profile to be associated with a port when no
# policy profile is specified during port creates.
#
# default_policy_profile =
# Example: default_policy_profile = service_profile
# Default value: service_profile
# default_policy_profile = service_profile

# (StrOpt) Name of the policy profile to be associated with a port owned by
# network node (dhcp, router).
#
# network_node_policy_profile =
# Example: network_node_policy_profile = dhcp_pp
# Default value: dhcp_pp
# network_node_policy_profile = dhcp_pp

# (StrOpt) Name of the network profile to be associated with a network when no
# network profile is specified during network creates. Admin should pre-create
# a network profile with this name.
#
# default_network_profile =
# Example: default_network_profile = network_pool
# Default value: default_network_profile
# default_network_profile = network_pool

# (IntOpt) Time in seconds for which the plugin polls the VSM for updates in
# policy profiles.
#
# poll_duration =
# Example: poll_duration = 180
# Default value: 60
# poll_duration = 60

# (IntOpt) Number of threads to use to make HTTP requests to the VSM.
#
# Default value: 4
# http_pool_size = 4

# (IntOpt) Timeout duration in seconds for the http request
#
# http_timeout =
# Example: http_timeout = 15
# Default value: 15
# http_timeout = 15
2 changes: 1 addition & 1 deletion neutron/plugins/cisco/common/config.py
Expand Up @@ -76,7 +76,7 @@
help=_("N1K default policy profile")),
cfg.StrOpt('network_node_policy_profile', default='dhcp_pp',
help=_("N1K policy profile for network node")),
cfg.IntOpt('poll_duration', default=10,
cfg.IntOpt('poll_duration', default=60,
help=_("N1K Policy profile polling duration in seconds")),
cfg.IntOpt('http_pool_size', default=4,
help=_("Number of threads to use to make HTTP requests")),
Expand Down

0 comments on commit 6e08e47

Please sign in to comment.