← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1278547] [NEW] Update openstack_dashboard test settings.py

 

Public bug reported:

The settings.py file in the test directory for openstack_dashboard is
missing the profile option in the OPENSTACK_NEUTRON_NETWORK setting.

This needs to be updated so that the tests for the "router" dashboard
and cisco N1K will be run correctly.

This is the setting in local_settings.py currently - 
# The OPENSTACK_NEUTRON_NETWORK settings can be used to enable optional
# services provided by neutron. Options currenly available are load
# balancer service, security groups, quotas, VPN service.
OPENSTACK_NEUTRON_NETWORK = {
    'enable_security_group': False,
    'enable_lb': False,
    'enable_firewall': False,
    'enable_quotas': True,
    'enable_vpn': False,
    # The profile_support option is used to detect if an external router can be
    # configured via the dashboard. When using specific plugins the
    # profile_support can be turned on if needed.
    'profile_support': None,
    #'profile_support': 'cisco',
}

And this is the setting in test/settings.py -
OPENSTACK_NEUTRON_NETWORK = {
    'enable_lb': True,
    'enable_firewall': True,
    'enable_quotas': False,  # Enabled in specific tests only
    'enable_vpn': True
}

The profile_setting option needs to be added.

** Affects: horizon
     Importance: Undecided
     Assignee: Abishek Subramanian (absubram)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => Abishek Subramanian (absubram)

** Description changed:

  The settings.py file in the test directory for openstack_dashboard is
  missing the profile option in the OPENSTACK_NEUTRON_NETWORK setting.
  
  This needs to be updated so that the tests for the "router" dashboard
  and cisco N1K will be run correctly.
+ 
+ This is the setting in local_settings.py currently - 
+ # The OPENSTACK_NEUTRON_NETWORK settings can be used to enable optional
+ # services provided by neutron. Options currenly available are load
+ # balancer service, security groups, quotas, VPN service.
+ OPENSTACK_NEUTRON_NETWORK = {
+     'enable_security_group': False,
+     'enable_lb': False,
+     'enable_firewall': False,
+     'enable_quotas': True,
+     'enable_vpn': False,
+     # The profile_support option is used to detect if an external router can be
+     # configured via the dashboard. When using specific plugins the
+     # profile_support can be turned on if needed.
+     'profile_support': None,
+     #'profile_support': 'cisco',
+ }
+ 
+ And this is the setting in test/settings.py -
+ OPENSTACK_NEUTRON_NETWORK = {
+     'enable_lb': True,
+     'enable_firewall': True,
+     'enable_quotas': False,  # Enabled in specific tests only
+     'enable_vpn': True
+ }
+ 
+ The profile_setting option needs to be added.

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1278547

Title:
  Update openstack_dashboard test settings.py

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  The settings.py file in the test directory for openstack_dashboard is
  missing the profile option in the OPENSTACK_NEUTRON_NETWORK setting.

  This needs to be updated so that the tests for the "router" dashboard
  and cisco N1K will be run correctly.

  This is the setting in local_settings.py currently - 
  # The OPENSTACK_NEUTRON_NETWORK settings can be used to enable optional
  # services provided by neutron. Options currenly available are load
  # balancer service, security groups, quotas, VPN service.
  OPENSTACK_NEUTRON_NETWORK = {
      'enable_security_group': False,
      'enable_lb': False,
      'enable_firewall': False,
      'enable_quotas': True,
      'enable_vpn': False,
      # The profile_support option is used to detect if an external router can be
      # configured via the dashboard. When using specific plugins the
      # profile_support can be turned on if needed.
      'profile_support': None,
      #'profile_support': 'cisco',
  }

  And this is the setting in test/settings.py -
  OPENSTACK_NEUTRON_NETWORK = {
      'enable_lb': True,
      'enable_firewall': True,
      'enable_quotas': False,  # Enabled in specific tests only
      'enable_vpn': True
  }

  The profile_setting option needs to be added.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1278547/+subscriptions


Follow ups

References