Commit Graph

7 Commits

Author SHA1 Message Date
Lajos Katona 3c55bcea40 Add links to trunk parent and subports
Add link to the parent port's detail page on the table view of trunks
panel, and add link to the subport's details page from the trunk details
page.

Closes-Bug: #1746082
Change-Id: I66fc525e02a8b4c5c77ed2e663c644e8e2e1a805
2018-04-12 08:37:47 +00:00
Lajos Katona 3af1d420ff Fix navigation from admin/trunks
In case of the details of the trunk was reached from admin/trunks add
?nav=/admin/trunks to fix the navigation back to /admin/trunks.

Change-Id: Ie80484814f471a6f939991d1c93ffc7e895102bd
2018-04-12 10:25:37 +02:00
Lajos Katona aa669f0d02 Trunks panel: admin panel
Enable admin panel for trunks. For the admin panel the delete action and
the readonly operations are enabled (table view and details view).

Change-Id: Icfc01612cc60798e4b0ff7379a9c8b83d3f1d60b
Implements: blueprint neutron-trunk-ui
2018-01-29 20:24:05 +01:00
Lajos Katona ec299ff301 Trunks panel: edit button
Trunk edit is a 2-step workflow:
  * Basic trunk attributes
  * Subports selector transfertable:
      Selects many ports with segmentation details (optional)

In the port selector step reused and built on port allocator
transfertable from launch instance.

The easiest way to test is to take the whole change series by taking the
last change in it, then build devstack with neutron trunk support. Eg:

  local.conf:
  enable_plugin neutron https://git.openstack.org/openstack/neutron
  enable_service q-trunk

If you want to test this change in isolation you also need the following
Horizon config:

  openstack_dashboard/enabled/_1500_project_trunks_panel.py:
  DISABLED = False  # or just remove this line

Co-Authored-By: Bence Romsics <bence.romsics@ericsson.com>
Change-Id: I4a9f3bd710c9f6bc9ed942b107c6720865b1bc73
Partially-Implements: blueprint neutron-trunk-ui
2017-11-27 14:05:43 +01:00
Bence Romsics 6642d6e0da Trunks panel: improve details' test coverage
Change-Id: Iad10b17f854aec4d3227fc0b4aba6f4c781f95f1
2017-07-31 13:21:18 +02:00
Lajos Katona da92f24bc2 Trunks panel: details for trunks and subports
Add details link to the trunk panel to show details of the given trunk,
like the subports list, with port_id and segmentation details.

Co-Authored-By: Bence Romsics <bence.romsics@ericsson.com>
Change-Id: I9000e2907a8f188d5e72e36818b7171f35158eb9
Partially-Implements: blueprint neutron-trunk-ui
2017-07-27 10:48:55 +02:00
Lajos Katona 3524b3d4f7 New readonly panel for trunks
Enable display of trunks on the project dashboard.

To test it devstack needs to have neutron with trunk support, eg:

 local.conf:
 enable_plugin neutron https://git.openstack.org/openstack/neutron
 enable_service q-trunk

No special horizon config is needed. As long as the 'trunk'
API extension is available (openstack extension show trunk)
the panel should automatically appear under Project/Network/Trunks.

Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Co-Authored-By: Bence Romsics <bence.romsics@ericsson.com>
Change-Id: Iacb83f22f81e09457953622e61065f0bb2c27407
Partially-Implements: blueprint neutron-trunk-ui
2017-05-24 02:34:33 +00:00