]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Merge "Changing the poll_duration parameter type to int"
authorJenkins <jenkins@review.openstack.org>
Sun, 22 Jun 2014 09:17:26 +0000 (09:17 +0000)
committerGerrit Code Review <review@openstack.org>
Sun, 22 Jun 2014 09:17:26 +0000 (09:17 +0000)
1  2 
etc/neutron/plugins/cisco/cisco_plugins.ini
neutron/plugins/cisco/common/config.py
neutron/plugins/cisco/n1kv/n1kv_neutron_plugin.py

index c3f25093e04b3a67c38093beb1312a3a4643ce8a,255a42d9908a2ee887b4d766f2d6a49901c6ffe6..f13569cea6d001612864d07a60e63b5dddf8f7ba
@@@ -78,10 -78,8 +78,10 @@@ cisco_n1k_opts = 
                 help=_("N1K default policy profile")),
      cfg.StrOpt('network_node_policy_profile', default='dhcp_pp',
                 help=_("N1K policy profile for network node")),
-     cfg.StrOpt('poll_duration', default='10',
+     cfg.IntOpt('poll_duration', default=10,
                 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")),
  ]
  
  cfg.CONF.register_opts(cisco_opts, "CISCO")