Merge lp:~bbaqar/charms/trusty/plumgrid-edge/opsvm into lp:~plumgrid-team/charms/trusty/plumgrid-edge/trunk
Proposed by
Bilal Baqar
Status: | Merged |
---|---|
Merged at revision: | 25 |
Proposed branch: | lp:~bbaqar/charms/trusty/plumgrid-edge/opsvm |
Merge into: | lp:~plumgrid-team/charms/trusty/plumgrid-edge/trunk |
Diff against target: |
363 lines (+79/-50) 8 files modified
hooks/pg_edge_context.py (+22/-14) hooks/pg_edge_hooks.py (+10/-17) hooks/pg_edge_utils.py (+28/-1) templates/kilo/00-pg.conf (+1/-0) templates/kilo/plumgrid.conf (+1/-1) unit_tests/test_pg_edge_context.py (+10/-7) unit_tests/test_pg_edge_hooks.py (+5/-10) unit_tests/test_pg_edge_utils.py (+2/-0) |
To merge this branch: | bzr merge lp:~bbaqar/charms/trusty/plumgrid-edge/opsvm |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Junaid Ali | Approve | ||
Javeria Khan | Approve | ||
Review via email: mp+290148@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 to me functionally.