Project

General

Profile

Bug #5249

Gateways dashboard widget display selection option AWOL

Added by Phillip Davis over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
10/03/2015
Due date:
% Done:

100%

Estimated time:

Description

The Gateways widget recently had and option added so you can choose to display [Gateway IP|Monitor IP|Both]. It was committed to master and RELENG_2_2. It is working in 2.2.5 as per the attached screen shot.

Some of the code is still in the version in master (e.g. to actually store the setting if the client-end has sent a $POST to save a new setting). But there is no tool icon and no code to make the radio buttons (or equivalent) if there was a tool icon to click.

Gateways-widget-22.png (5.12 KB) Gateways-widget-22.png Phillip Davis, 10/03/2015 08:48 AM
Gateways-widget-23-Gateway-IP.png (7.56 KB) Gateways-widget-23-Gateway-IP.png Phillip Davis, 10/06/2015 12:39 AM
Gateways-widget-23-Monitor-IP.png (7.24 KB) Gateways-widget-23-Monitor-IP.png Phillip Davis, 10/06/2015 12:39 AM
Gateways-widget-23-Both.png (7.71 KB) Gateways-widget-23-Both.png Phillip Davis, 10/06/2015 12:39 AM

Associated revisions

History

#1 Updated by Steve Beaver over 3 years ago

  • Status changed from New to Feedback
  • Assignee set to Phillip Davis

Code has been added to the widget to allow the selection of monitor, gateway or both.

The settings are saved to the config file and are correctly observed on displaying the widget.

Would you please let me know if this is satisfactory? I am not sure how the display should change with each of the settings.

Thanks

#2 Updated by Steve Beaver over 3 years ago

  • % Done changed from 0 to 100

#3 Updated by Phillip Davis over 3 years ago

2.3-ALPHA (amd64) built on Mon Oct 05 18:44:18 CDT 2015
works, thanks.

For the record I have attached 3 screen shots of the Gateways widget in each settings state. The gateway of this test system is 10.49.208.250 and the monitor IP is 8.8.8.8

With display gateway IP selected, the widget shows just 10.49.208.250
With display monitor IP selected, the widget shows just 8.8.8.8
With display both selected, the widget shows the gateway IP and monitor IP.

I also tested the case when there is no alternative monitor IP defined for the gateway. In that case the gateway IP is the monitor IP. For every display setting the widget should show just the gateway IP (which is also the monitor IP), and it does that correctly.

All good here - thanks.

#4 Updated by Chris Buechler over 3 years ago

  • Target version set to 2.3
  • Affected Version set to 2.3

#5 Updated by Chris Buechler over 3 years ago

  • Status changed from Feedback to Resolved

fixed

Also available in: Atom PDF