Modify

Ticket #753 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Awareness about gateway changes

Reported by: ejhernandez@… Owned by: ejhernandez@…
Milestone: 0.11 Component: trafficshaping
Severity: minor Keywords: update gateway
Cc:

Description

Currently, eBox traffic shaping module does not recognize any change in the gateway list. That is, the update data from gateway table is not checked from the traffic shaping module.

A typical bug which this situation triggers can be reproduced as it follows:

  1. Create a gateway
  2. Create some traffic shaping rules for the interface which the gateway belongs to
  3. Delete the gateway
  4. The traffic shaping module becomes inconstent

Attachments

Change History

comment:1 Changed 6 years ago by ejhernandez@…

  • Status changed from new to assigned
  • Milestone changed from 0.10.1 to 0.11

Reschedule

comment:2 Changed 6 years ago by ejhernandez@…

(In [8306]) First attempt to become ModelManager? multi model instances with the same model template. Fixing some bugs on DataTable? as well refs #753

comment:3 Changed 6 years ago by ejhernandez@…

(In [8307]) * Become TrafficShaping? module a model provider

  • A network observer when a iface is changed
  • An observer from GatewayTable? on network module

refs #753

comment:4 Changed 6 years ago by ejhernandez@…

(In [8315]) * An index is set in TestTable?

refs #753

comment:5 Changed 6 years ago by ejhernandez@…

(In [8316]) _inferModuleFromModelName now works correctly refs #753

comment:6 Changed 6 years ago by ejhernandez@…

(In [8319]) Now when a iface is freed, the model is removed from model manager. RuleMultiTable? now uses tableBody mason tmpl refs #753

comment:7 Changed 6 years ago by ejhernandez@…

(In [8320]) Change template from tableHeader to tableBody to deprecate tableHeader refs #753

comment:8 Changed 6 years ago by ejhernandez@…

(In [8328]) Now traffic shaping module is awared about changes on Gateway table at Network module refs #753

comment:9 Changed 6 years ago by ejhernandez@…

  • hours changed from 0 to 20.5
  • Status changed from assigned to closed
  • Resolution set to fixed
  • totalhours changed from 0.0 to 20.5

(In [8329]) * Added printableName() attribute to an eBox module

  • Model manager: modelActionTaken return a string to be shown
  • Change warnOnChangeOnId and warnIfIdIsUsed from DataTable? to ModelManager?
  • Added contextName and printableContextName to support differences among different model instances from the same model template using index parameter to distinguish them and the module which instanced the model
  • Added force parameter to delete and update notify callbacks
  • Setting messages to show when a dependant model has changed something when an observable model has changed
  • Updated dataInUse template to force change row in a model

All closes #753 (spent 20.5)

comment:10 Changed 6 years ago by ejhernandez@…

(In [8330]) Fixing code on removeRule refs #753

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.