Commit Graph

97 Commits

Author SHA1 Message Date
Junaid Ali 7448c43f97 Moving to Apache-2.0 License
* All OpenStack charms have re-licensed as Apache 2.0 from
    GPL v3
    PS-2: Added License file

Ticket: [SOL-1223]
Change-Id: I84c32bc70a454b537b9970332475ed24eb9fb828
Signed-off-by: Junaid Ali <junaidali@plumgrid.com>
2016-09-30 05:20:04 -07:00
Junaid Ali f272421a33 Updated file README.md
Ticket: none
Change-Id: I6747b4054ba3c2809b061355b501ecd1ca3ad0ce
Signed-off-by: Junaid Ali <junaidali@plumgrid.com>
2016-08-29 14:07:50 +05:00
Junaid Ali 51ee6c9edf Merge pull request #1 from plumgrid/junaid-dev
Solutions API changes
2016-08-20 05:29:53 +05:00
plumgrid fd47bb5f49 Solutions Api changes
Signed-off-by: plumgrid <Junaid Ali>
2016-08-09 07:52:44 -04:00
plumgrid 77a25e2225 Configuring analyst for OPSVM
Ticket: [SOL-1144]
Signed-off-by: Junaid Ali <junaidali@plumgrid.com>
2016-08-07 14:46:12 -04:00
Bilal Baqar 2f0a6900c9 Moving plumgrid-gateway charm from launchpad to github
Signed-off-by: Bilal Baqar <bbaqar@plumgrid.com>
2016-08-05 23:30:07 +05:00
Junaid Ali 7b15952c51 Changes:
- Default value for management interface removed as
      'juju-br0' has been changed to 'br-eth0' in Juju 2.0
    - Updated get_mgmt_interface method
2016-07-28 22:19:22 +05:00
Junaid Ali bcecc528ee Changes:
- Removed default value for management interface
   - Updated get-mgmt method
2016-07-25 22:01:44 +05:00
Junaid Ali 6033de46ac L3 fabric changes 2016-06-20 04:39:38 +05:00
Junaid Ali caacd59ab4 Changes:
Updated fabric-interfaces config description
 Removed unused imports
2016-06-19 23:54:39 +05:00
Junaid Ali a3da099ebe L3 fabric changes 2016-06-16 12:02:23 +05:00
Junaid Ali 50e520dce7 Increased wait time after libvirt is started 2016-06-09 22:42:20 +05:00
Junaid Ali cc85394f86 Increased wait time after libvirt is started 2016-06-09 22:34:55 +05:00
Bilal Baqar 03c379164b 5.1 changes
- configure-pg-sources added
- updated templates
2016-05-29 00:31:25 +02:00
Junaid Ali 1c19fadbc4 logging IOError for sources.list 2016-05-23 06:31:14 -04:00
Junaid Ali 4999e4d5f3 Updated configure_pg_sources 2016-05-22 11:19:46 -04:00
Junaid Ali 9b7ed6df3f Merged:
Updated template files
  Configured plumgrid install sources
2016-05-21 17:02:36 +05:00
Junaid Ali 561ee23925 Changes:
Updated template files
  Configured plumgrid install sources
2016-05-21 16:54:18 +05:00
Junaid Ali 7280316667 Merge: Liberty/Mitaka changes 2016-05-19 11:35:31 +05:00
Bilal Baqar 174d5da3e8 Merge - Charmhelpers sync and improved pg-restart 2016-05-18 11:55:23 +02:00
Bilal Baqar 09d7746a02 External interface can be set as a string 2016-05-12 05:37:08 -07:00
Junaid Ali 0c32a4b93f External interface can be set as a string 2016-05-12 05:35:22 -07:00
Junaid Ali 86037a00c8 update sleep time in restart_pg, changes for make sync 2016-04-30 22:22:48 -04:00
Junaid Ali 13e3230cc5 Updated sleep time after starting libvirt-bin 2016-04-27 21:32:22 -07:00
Junaid Ali 02ace9b018 Updated restart_pg function 2016-04-27 20:54:49 -07:00
Junaid Ali 721c1d27ba Updated restart_pg function 2016-04-27 03:47:45 -07:00
Bilal Baqar 2212d1eae1 Merge: Liberty/Mitaka support 2016-04-25 11:21:09 +02:00
Junaid Ali c0d2d9c303 make sync 2016-04-22 04:15:33 -04:00
Junaid Ali 1dee6f9daa Liberty changes 2016-04-18 05:43:41 -07:00
Bilal Baqar c9cefc745c Adding status messages in charms - Ticket:[SOL-949] 2016-04-08 01:35:38 -07:00
Junaid Ali 95868fa97b Added symlink for update-status hook 2016-04-07 00:04:49 +05:00
Junaid Ali 45ed163f14 Added status messages and updated opsvm changes 2016-04-06 12:45:27 -04:00
Bilal Baqar 769e214bdf 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
2016-03-28 11:50:55 -07:00
Junaid Ali 8deb2c6d62 Updated function description 2016-03-28 23:35:55 +05:00
Bilal Baqar 89817b2437 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
2016-03-28 11:18:41 -07:00
Junaid Ali f865f0b7c6 Updated function description 2016-03-28 22:42:41 +05:00
Junaid Ali 5004212166 fixing unit_test 2016-03-28 19:37:58 +05:00
Junaid Ali 9f71449b32 Improved plumgrid service restarts 2016-03-28 19:19:54 +05:00
Bilal Baqar e74a4757fb OPSVM Changes 2016-03-27 17:26:09 +02:00
Bilal Baqar 304ac90948 OPSVM Changes 2016-03-27 17:24:34 +02:00
Bilal Baqar a8f68eae1e Improved config-changed hook to perform steps according to the config changed 2016-03-25 10:33:22 -07:00
Junaid Ali 8d618fed2a Updated config-changed hook 2016-03-25 21:50:46 +05:00
Junaid Ali 13b2c42048 unit_test fix 2016-03-24 18:12:00 +05:00
Junaid Ali c21e4554ce Updated restart_pg() 2016-03-21 23:46:01 +05:00
Junaid Ali 2e99af9387 Updated config-changed hook and restart_pg() 2016-03-16 07:13:44 +05:00
Junaid Ali f8987ff8ca Ensuring plumgrid services to restart on certain hooks, Updated restart_pg() 2016-03-14 20:13:15 +05:00
Bilal Baqar c4868ea751 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
2016-03-13 23:43:21 -07:00
Bilal Baqar aeafa92722 Adding restart in upgrade hook 2016-03-13 21:18:03 -07:00
Bilal Baqar 838dfe00d2 Local commit 2016-03-13 21:13:58 -07:00
Bilal Baqar 84b1cd152e Fixing sleep 2016-03-12 18:08:48 -08:00