Created by Junaid Ali on 2016-04-27 and last modified on 2016-05-01
Get this branch:
bzr branch lp:~junaidali/charms/trusty/plumgrid-gateway/pg-restart
Only Junaid Ali can upload to this branch. If you are Junaid Ali please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Junaid Ali

Recent revisions

31. By Junaid Ali on 2016-05-01

update sleep time in restart_pg, changes for make sync

30. By Junaid Ali on 2016-04-28

Updated sleep time after starting libvirt-bin

29. By Junaid Ali on 2016-04-28

Updated restart_pg function

28. By Junaid Ali on 2016-04-27

Updated restart_pg function

27. By Bilal Baqar on 2016-04-25

Merge: Liberty/Mitaka support

26. By Bilal Baqar on 2016-04-08

Adding status messages in charms - Ticket:[SOL-949]

25. By Bilal Baqar on 2016-03-28

restart_on_stop Ticket: [SOL-950]
- Added restart_on_stop decorator function which starts plumgrid service is it has been stopped in the function
- Added restart_on_change to config-changed hook so that any config changes result in plugrid restart
- ifc_list_gateway only removed when change in ifcs.conf

24. By Bilal Baqar on 2016-03-28

OPSVM Changes - Ticket: [SOL-830]
- 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

23. By Bilal Baqar on 2016-03-25

Improved config-changed hook to perform steps according to the config changed

22. By Bilal Baqar on 2016-03-14

Made the following changes:
1. Reordered file and module imports
2. Sorted director IPs
3. Added unit fqdn in /etc/hosts of plumgrid-lxc
4. Loading plumgrid specific iptables on install
5. Added temporary upgrade hook to load iptables
6. stop_pg() is being used in restart_pg()
7. persistant iptables

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.