Commit Graph

27 Commits

Author SHA1 Message Date
Radomir Dopieralski ebdb19ab8c Use Placement API along with the hypervisor stats
Hypervisor stats do not reflect accurate VCPUs and PCPUs usage, so
to have a correct picture we need to use Placement API along with
hypervisors.

We add VCPUs and PCPUs usage diagrams and Resource Provider tab
to display correct stats.

Since there is no python client for the Placement API, and the
OpenStack SDK doesn't support the endpoints we need, we call the
endpoints directly.

Related-Bug: #1974470
Related-Bug: #1397917

Change-Id: If41cea0edeec8c95717229eb017e32898417a891
2023-12-06 15:39:34 +00:00
Akihiro Motoki eac3e7032a Drop Heat related code from horizon
Orchestration tab in the admin info panel needs a discussion.
It seems not to be covered by heat-dashboard yet.

blueprint heat-dashboard-split-out

Change-Id: I56e6edb1f2ac72e2f42d0e9f3291308e67f24cad
2017-12-05 07:38:55 +00:00
Akihiro Motoki 385870317a Split out FWaaS dashboard
Implement blueprint split-out-neutron-xaas-dashboards
Change-Id: Ieaca88dbe28cc2330d9b333082ff7e92c91e8639
2017-06-27 14:20:03 +00:00
Akihiro Motoki 1d6a217da1 Split out VPNaaS dashboard
Implement blueprint split-out-neutron-xaas-dashboards
Change-Id: Ib304ddef381d80011f7030fdd5049aab0e901ae6
2017-06-27 14:20:03 +00:00
David Lyle 20ea82b9ef Removing deprecate ceilometer code
The ceilometer code has been deprecated and disabled for
several cycles. Now removing the code.

Change-Id: I1dcfb8aae6ce6898cb46f6312731a92a01ae0b67
2016-11-17 16:52:13 -07:00
Akihiro Motoki 7e64a1cef1 Drop LBaaS v1 dashboard
LBaaS v1 feature was removed from neutron-lbaas in Newton.
There is no reason we have LBaaS v1 dashboard in Ocata or later.

Change-Id: Ic7d4ceea1943c3721500ce4b7f769b9dba28a359
Closes-Bug: #1624655
2016-10-18 08:57:26 +09:00
lin-hua-cheng 1fb6a8ac5e Moving Trove to contrib
Moving Trove related code to openstack_dashboard/contrib

Change-Id: If3a7da604ca34d0d5a80d56989f1d11955d357df
Partial: blueprint plugin-sanity
2015-08-05 23:07:47 -07:00
David Lyle d306049666 Moving Sahara to contrib
Moving Sahara related code to openstack_dashboard/contrib

Partial: blueprint plugin-sanity

Change-Id: I361f634b9d26d7b01705514df7afecf97964904b
2015-07-14 22:35:09 +09:00
Chad Roberts 6ebab02c94 Fixing subproject test runs
The sahara declaration was missing in
openstack_dashboard/api/__init__.py.  This change adds the import and
adds 'sahara' to __all__ which should fix the test runs.

Change-Id: I7ba8b17aa4dc95d17fe83a2427a058d67e8e7afe
Closes-Bug:  bug 1340429
2014-07-11 09:07:04 -04:00
He Yongli e790ac070e Remove extraneous vim configuration comments
Remove vim setting:
comment - # vim: tabstop=4 shiftwidth=4 softtabstop=4

at the top of source code files, except for files in
openstack/common.

Change-Id: I9a5c6b17c6ef7ecec601f4503dfc7b31fc72e90a
Close-bug: #1229324
2014-05-06 15:30:10 +08:00
Shane Wang 759e497b0d Fix misspellings in horizon
Fix misspellings detected by:
* pip install misspellings
* git ls-files | grep -v locale | misspellings -f -

Change-Id: Icf49804b0113d9cba9a807e4ee343d8714571776
Closes-Bug: #1257295
2014-02-08 09:10:03 +08:00
Radomir Dopieralski 66419fef50 Replace asserts in __init__ files with __all__
Defines __all__ in place of assert statements in the __init__.py files.

Change-Id: I0e871789d012e3ec579a8563a61d7ae32e20ed96
Closes-bug: #1251546
2014-01-10 10:28:02 +01:00
KC Wang 1255766344 FWaaS Horizon panel
Implements: blueprint fwaas-horizon

Change-Id: I1017573887922b4dea0a42d46965de2b86325b0e
2013-09-10 18:03:12 +09:00
Tatiana Mazur 24b3eb1990 VPNaaS UI implementation
This is an implementation of VPNaaS UI.

implements blueprint vpnaas-ui.

Change-Id: I6c92505bb07399ba83e6b7fd7dd75f0fd1b4b2a8
2013-09-06 14:11:35 -07:00
Robert Myers 8c1bc54f93 Adding panels for trove
* Add python-troveclient to requirements.
* Add trove api to openstack_dashboard apis.
* Add Database Instances panel.
* Add Database Backups panel.

Authors:
* Robert Myers
* Denis Makogon
* Andrea Giardini

Implements: Blueprint trove-support

Change-Id: I0541534612ccb491d692168c3c9ca7a841650be6
2013-08-31 23:27:46 -05:00
Ladislav Smola 69d67c08ab Add ceilometer api and the tests for it
Adding ceilometer api basic function wrappers.
Adding Class wrapper of each ceilometer object.

Adding ceilometer general usage wrappers for common statistics over
list of Resources and ResourceAggregates.

Adding specific table statistics wrappers.

Adding tests and test data for Ceilometer API.

Best to be tested with commit for resource usage panel at:
https://review.openstack.org/#/c/35590/ - this commit is for the
test purpose only.

Link to bp: https://blueprints.launchpad.net/horizon/+spec/ceilometer

Implements bp ceilometer.
Change-Id: I5b3392de8bae2be8cbcba7a580af669676e54052
2013-08-28 19:21:37 +02:00
Mark McClain 84e054b200 update Quantum references to Neutron
implements bug: 1197208

Change-Id: I14de163ca3cf498f5cb738a4c09088bba1759488
2013-07-09 17:51:54 -04:00
Matthias Runge cea720e793 Sort imports alphabetically
This patch also re-organizes imports to import one per line.

Change-Id: Ia958e3a30a48d4308d08d51df243c1272425c316
Fixes: bug 1188529
Fixes: bug 1188537
2013-06-14 12:05:55 +02:00
Matthias Runge 4ac70a732a remove unused imports
In the move to make flake8 tests stricter, we need a code
cleanup earlier.
This removes all unused imports and also enables tests to prevent
them for the future.

This patch also includes the checks on __init__.py files.

Change-Id: I34055803f7c4726682ac6fb95cc5b50ba761fec8
Fixes: bug 1188134
2013-06-13 07:51:10 +02:00
Steve Baker c949b6fbd5 Access to heat API via python-heatclient
This adds python-heatclient as a dependency and a simple function
to get a client reference.

Required for blueprint: heat-ui

Change-Id: I5f7d8c7c17f6e78d3f88cc39d50826416b48ad2c
2013-05-22 16:11:22 +12:00
KC Wang 4f81c933a1 blueprint quantum-lbaas
This implements the UI for quantum lbaas. Add/Delete Pool, Vip, Member,
PoolMonitor for lbaas is implemented.

Expected future extensions:
1. Update Vip/Pool/Member
2. Use of floating IP as VIP

Change-Id: Icde452b97a5e02d2381b996350b13aba3d87bb8e
2013-03-05 20:38:35 -08:00
Julie Pichon 63203ab106 Resolve API import issues (quantum)
Restore the imports in the api init file, without including the "from"
to ensure api calls still must specify "api.nova", "api.quantum", etc.

Fixes bug #1125632

Change-Id: I981105ce0ed7f1352de42fe2c0620665ba378823
2013-02-18 12:40:39 +00:00
Gabriel Hurley cd0a959523 Adds API Access information to Access & Security panel.
What this does:

  * Makes the Access & Security panel use tabs for each of
    the tables instead of trying to shove them all inline.
  * Adds an "API Access" tab to the above set of tabs.
  * Combines the features of the API Endpoints table, the
    EC2 Credentials download and the OpenRC file download
    into the API Access tab mentioned above.
  * Uses the service "type" instead of "name" in the Endpoints
    table to be nicer about service API abstraction.

Fixes bug 1065671 and fixes bug 1120627.

Change-Id: Iccc65b32d37dc97a96538443cf8c5c08fcea7250
2013-02-12 17:11:33 -08:00
Akihiro MOTOKI dbfcc97e89 Quantum Floating IP support
blueprint quantum-floating-ip

This commit allows OpenStack dashboard users to use Quantum floating
IP feature directly using Quantum API rather than Nova Proxy.
By this users can associates a floating IP per virtual NIC.

blueprint nova-net-quantum-abstraction

This commit defines an abstract class in api/network.py.
This class provides common interfaces related to network features
duplicated in Nova and Quantum. A concrete class to handle operations
should be defined in api/nova.py or api/quantum.py.

Change-Id: I780356a9f41e72e32ce1877d390ac7f99e96899c
2013-01-30 20:38:35 +09:00
Akihiro MOTOKI 12faaa5c30 Ensure to use api.<category>.<method>
In the current code both api.<method> and api.<category>.<method> are used.
Using api.<method> directly makes it difficult to identify which module
defined a method and forces developers to use unique method names among
projects. This commit removes api.<method> style method calls.

Change-Id: Iaefa1061f99b7865e02541df87c112a6b2868ec0
2013-01-22 20:37:12 +09:00
Gabriel Hurley cdcd8e3df6 Enable quota data from multiple sources.
Now that there are multiple projects with quota data (cinder, quantum)
we need to accommodate that data being aggregated in a centralized
fashion. This commit takes care of that for nova + cinder, and paves
the way for quantum later.

Fixes bug 1070022.

Change-Id: Ifc68c2dc681b2a7b4e7787e0b1a7dca1a970fc36
2012-10-24 12:53:42 -07:00
Gabriel Hurley cb8e7c1f8f Splits OpenStack Dashboard bits from framework app code.
Moves everything OpenStack-specific (dashboards, apis, etc.)
into the openstack_dashboard project, achieving a much
cleaner separation between the project-specific code and
the generic Horizon framework code.

Change-Id: I7235b41d449b26c980668fc3eb4360b24508717b
2012-10-11 11:47:50 -07:00