Merge lp:~bbaqar/charms/trusty/plumgrid-gateway/opsvm into lp:~plumgrid-team/charms/trusty/plumgrid-gateway/trunk
Proposed by
Bilal Baqar
Status: | Merged |
---|---|
Merged at revision: | 24 |
Proposed branch: | lp:~bbaqar/charms/trusty/plumgrid-gateway/opsvm |
Merge into: | lp:~plumgrid-team/charms/trusty/plumgrid-gateway/trunk |
Diff against target: |
355 lines (+81/-50) 8 files modified
hooks/pg_gw_context.py (+22/-14) hooks/pg_gw_hooks.py (+9/-15) hooks/pg_gw_utils.py (+30/-3) templates/kilo/00-pg.conf (+1/-0) templates/kilo/plumgrid.conf (+1/-1) unit_tests/test_pg_gw_context.py (+10/-7) unit_tests/test_pg_gw_hooks.py (+5/-9) unit_tests/test_pg_gw_utils.py (+3/-1) |
To merge this branch: | bzr merge lp:~bbaqar/charms/trusty/plumgrid-gateway/opsvm |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Junaid Ali | Approve | ||
Javeria Khan | Approve | ||
Review via email: mp+290180@code.launchpad.net |
Commit message
OPSVM Changes
Ticket: [SOL-830]
Description of the change
- Getting OPSVM IP from director relation
- Making OPSVM specific changes
- Cleaned code in various functions
- Added restart_on_change decorater function that restarts plumgrid service only when there has been any change in the configuration files
- Removed restart of plumgrid service when only two directors are available
- Fixed unit tests accordingly
To post a comment you must log in.
Looks good functionally.