plstackapi.git
9 years agoAdded credentials models for User, Slice and Site objects
Sapan Bhatia [Mon, 8 Sep 2014 14:42:23 +0000 (10:42 -0400)]
Added credentials models for User, Slice and Site objects

9 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/plstackapi
Sapan Bhatia [Mon, 8 Sep 2014 14:39:17 +0000 (10:39 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/plstackapi

9 years agocase-insensitive hostname lookup
Scott Baker [Fri, 5 Sep 2014 22:02:43 +0000 (15:02 -0700)]
case-insensitive hostname lookup

9 years agoensure db connection is closed at the end of each thread
Scott Baker [Fri, 5 Sep 2014 21:48:38 +0000 (14:48 -0700)]
ensure db connection is closed at the end of each thread

9 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/plstackapi
Sapan Bhatia [Fri, 5 Sep 2014 04:30:10 +0000 (00:30 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/plstackapi

9 years agoplumb flavors through to openstack
Scott Baker [Thu, 4 Sep 2014 23:55:08 +0000 (16:55 -0700)]
plumb flavors through to openstack

9 years agodo not sync objects for deployments that are not configured
Scott Baker [Thu, 4 Sep 2014 22:13:40 +0000 (15:13 -0700)]
do not sync objects for deployments that are not configured

9 years agoskip unreachable/misconfigured deployments in sync_nodes
Scott Baker [Thu, 4 Sep 2014 18:04:27 +0000 (11:04 -0700)]
skip unreachable/misconfigured deployments in sync_nodes

9 years agomore logging; fix SyncSiteDeployments waiting on self; fix unknown identifier when...
Scott Baker [Thu, 4 Sep 2014 17:36:51 +0000 (10:36 -0700)]
more logging; fix SyncSiteDeployments waiting on self; fix unknown identifier when adding failed step

9 years agocopied from observer code on alpha
Scott Baker [Thu, 4 Sep 2014 16:48:30 +0000 (09:48 -0700)]
copied from observer code on alpha

9 years agolatest data from alpha
Scott Baker [Thu, 4 Sep 2014 16:32:00 +0000 (09:32 -0700)]
latest data from alpha

9 years agoBug: Models should import model_policy, not model_policies
Sapan Bhatia [Thu, 4 Sep 2014 04:39:19 +0000 (00:39 -0400)]
Bug: Models should import model_policy, not model_policies

9 years agoMoved out rogue file 'model_policies.py' which was interfering with the
Sapan Bhatia [Thu, 4 Sep 2014 04:38:31 +0000 (00:38 -0400)]
Moved out rogue file 'model_policies.py' which was interfering with the
import of the model_policies directory

9 years agopost-updated, trying to make syncdb happy again
Scott Baker [Thu, 4 Sep 2014 01:16:35 +0000 (18:16 -0700)]
post-updated, trying to make syncdb happy again

9 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/plstackapi
Scott Baker [Thu, 4 Sep 2014 00:24:03 +0000 (17:24 -0700)]
Merge branch 'master' of ssh://git.planet-lab.org/git/plstackapi

9 years agoalpha data before update
Scott Baker [Thu, 4 Sep 2014 00:23:55 +0000 (17:23 -0700)]
alpha data before update

9 years agoDrop Slice policy code from Observer
Sapan Bhatia [Wed, 3 Sep 2014 19:43:04 +0000 (15:43 -0400)]
Drop Slice policy code from Observer

9 years agoDrop user policy code from observer
Sapan Bhatia [Wed, 3 Sep 2014 19:42:39 +0000 (15:42 -0400)]
Drop user policy code from observer

9 years agoDrop network model policy from Observer
Sapan Bhatia [Wed, 3 Sep 2014 19:41:49 +0000 (15:41 -0400)]
Drop network model policy from Observer

9 years agoAdd policies feature to user objects
Sapan Bhatia [Wed, 3 Sep 2014 19:39:33 +0000 (15:39 -0400)]
Add policies feature to user objects

9 years agoPolicy: Add new slices to all deployments
Sapan Bhatia [Wed, 3 Sep 2014 19:39:13 +0000 (15:39 -0400)]
Policy: Add new slices to all deployments

9 years agoPolicy: Add new users to all deployments
Sapan Bhatia [Wed, 3 Sep 2014 19:38:56 +0000 (15:38 -0400)]
Policy: Add new users to all deployments

9 years agoPolicy: Add new network objects to all deployments
Sapan Bhatia [Wed, 3 Sep 2014 19:38:28 +0000 (15:38 -0400)]
Policy: Add new network objects to all deployments

9 years agoraise validation error if slice name prefix is incorrect
Tony Mack [Wed, 3 Sep 2014 17:19:42 +0000 (13:19 -0400)]
raise validation error if slice name prefix is incorrect

9 years agodisplay slice's name attribute instead of slicename
Tony Mack [Wed, 3 Sep 2014 17:18:57 +0000 (13:18 -0400)]
display slice's name attribute instead of slicename

9 years agoInclude model policies
Sapan Bhatia [Wed, 3 Sep 2014 17:14:40 +0000 (13:14 -0400)]
Include model policies

9 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/plstackapi
Sapan Bhatia [Wed, 3 Sep 2014 15:36:39 +0000 (11:36 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/plstackapi

9 years agoUpdated OpenStack observer to parallel implementation
Sapan Bhatia [Wed, 3 Sep 2014 15:30:21 +0000 (11:30 -0400)]
Updated OpenStack observer to parallel implementation

9 years agoBug fix
Sapan Bhatia [Wed, 3 Sep 2014 15:29:49 +0000 (11:29 -0400)]
Bug fix

9 years agoBug fixes to parallelization
Sapan Bhatia [Wed, 3 Sep 2014 15:29:22 +0000 (11:29 -0400)]
Bug fixes to parallelization

9 years agoReverse dependencies and order for deletions
Sapan Bhatia [Wed, 3 Sep 2014 15:28:59 +0000 (11:28 -0400)]
Reverse dependencies and order for deletions

9 years agoSynchronization logic for parallel steps
Sapan Bhatia [Wed, 3 Sep 2014 09:28:42 +0000 (05:28 -0400)]
Synchronization logic for parallel steps

9 years agoUpdated graph routines for new sync
Sapan Bhatia [Wed, 3 Sep 2014 05:07:10 +0000 (01:07 -0400)]
Updated graph routines for new sync

9 years agoStep synchronization with locks
Sapan Bhatia [Wed, 3 Sep 2014 05:06:17 +0000 (01:06 -0400)]
Step synchronization with locks

9 years agoMake event waiting/notification generic
Sapan Bhatia [Wed, 3 Sep 2014 04:38:26 +0000 (00:38 -0400)]
Make event waiting/notification generic

9 years agomerge
Tony Mack [Wed, 3 Sep 2014 01:18:45 +0000 (21:18 -0400)]
merge

9 years agoremove sliver.numberCores
Scott Baker [Wed, 3 Sep 2014 00:38:40 +0000 (17:38 -0700)]
remove sliver.numberCores

9 years agoadd flavors to demo_data
Scott Baker [Wed, 3 Sep 2014 00:36:40 +0000 (17:36 -0700)]
add flavors to demo_data

9 years agoremove debug code
Scott Baker [Wed, 3 Sep 2014 00:31:59 +0000 (17:31 -0700)]
remove debug code

9 years agoreplace sliver.numberCores with sliver.Flavor, add flavor filtering by deployment...
Scott Baker [Wed, 3 Sep 2014 00:08:20 +0000 (17:08 -0700)]
replace sliver.numberCores with sliver.Flavor, add flavor filtering by deployment to sliver inline

9 years agoaccidentally removed this during merge
Scott Baker [Tue, 2 Sep 2014 23:30:20 +0000 (16:30 -0700)]
accidentally removed this during merge

9 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/plstackapi
Sapan Bhatia [Tue, 2 Sep 2014 21:49:26 +0000 (17:49 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/plstackapi

9 years agoflavor data model objects and admin
Scott Baker [Tue, 2 Sep 2014 21:37:41 +0000 (14:37 -0700)]
flavor data model objects and admin

9 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/plstackapi
Scott Baker [Tue, 2 Sep 2014 18:52:12 +0000 (11:52 -0700)]
Merge branch 'master' of ssh://git.planet-lab.org/git/plstackapi

9 years agoput site field before name field on slice create page
Tony Mack [Tue, 2 Sep 2014 11:03:27 +0000 (07:03 -0400)]
put site field before name field on slice create page

9 years agoupdate slice prefix in slice name field when site is changed slice create page
Tony Mack [Tue, 2 Sep 2014 04:37:36 +0000 (00:37 -0400)]
update slice prefix in slice name field when site is changed slice create page

9 years agoAdded generic depth first search for parallel execution
Sapan Bhatia [Mon, 1 Sep 2014 21:41:19 +0000 (17:41 -0400)]
Added generic depth first search for parallel execution

9 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/plstackapi
Sapan Bhatia [Tue, 2 Sep 2014 15:47:31 +0000 (11:47 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/plstackapi

9 years agoAdded missing import for Deployment
Sapan Bhatia [Mon, 1 Sep 2014 06:12:01 +0000 (02:12 -0400)]
Added missing import for Deployment

9 years agoAdded DeploymentCredential to set of supported credentials
Sapan Bhatia [Mon, 1 Sep 2014 05:45:28 +0000 (01:45 -0400)]
Added DeploymentCredential to set of supported credentials

9 years agoHTTP_ORIGIN wasn't working on Firefox, changed it to get_host() instead
Scott Baker [Fri, 29 Aug 2014 19:32:46 +0000 (12:32 -0700)]
HTTP_ORIGIN wasn't working on Firefox, changed it to get_host() instead

9 years agomerge Amisha changes
Scott Baker [Fri, 29 Aug 2014 19:19:09 +0000 (12:19 -0700)]
merge Amisha changes

9 years agomerge Amisha changes
Scott Baker [Fri, 29 Aug 2014 18:43:23 +0000 (11:43 -0700)]
merge Amisha changes

9 years agomerge Amisha changes
Scott Baker [Fri, 29 Aug 2014 18:34:00 +0000 (11:34 -0700)]
merge Amisha changes

9 years agoRemoved hpc_observer garbage collector.
John H. Hartman [Fri, 29 Aug 2014 15:16:33 +0000 (08:16 -0700)]
Removed hpc_observer garbage collector.

9 years agoremove all old shell-related js files
Scott Baker [Fri, 29 Aug 2014 00:29:04 +0000 (17:29 -0700)]
remove all old shell-related js files

9 years agocommit unchecked files
Scott Baker [Fri, 29 Aug 2014 00:28:46 +0000 (17:28 -0700)]
commit unchecked files

9 years agoswitch to xos developer view, latest demo data from node34
Scott Baker [Thu, 28 Aug 2014 22:21:39 +0000 (15:21 -0700)]
switch to xos developer view, latest demo data from node34

9 years agoeliminate line break between icon and slice name
Scott Baker [Thu, 28 Aug 2014 22:15:18 +0000 (15:15 -0700)]
eliminate line break between icon and slice name

9 years agoswitch from old developer view to xoslib developer view
Scott Baker [Thu, 28 Aug 2014 22:11:57 +0000 (15:11 -0700)]
switch from old developer view to xoslib developer view

9 years agoeliminate line break between icon and slice name
Scott Baker [Thu, 28 Aug 2014 22:08:56 +0000 (15:08 -0700)]
eliminate line break between icon and slice name

9 years agoadd backend icon to xoslib developer view
Scott Baker [Thu, 28 Aug 2014 21:47:29 +0000 (14:47 -0700)]
add backend icon to xoslib developer view

9 years agoreturn backend status in sliceplus object
Scott Baker [Thu, 28 Aug 2014 21:02:54 +0000 (14:02 -0700)]
return backend status in sliceplus object

9 years agomake sure to check all ports from all deployments
Scott Baker [Wed, 27 Aug 2014 18:21:08 +0000 (11:21 -0700)]
make sure to check all ports from all deployments

9 years agomake defaultOriginServer optional
Scott Baker [Wed, 27 Aug 2014 18:20:33 +0000 (11:20 -0700)]
make defaultOriginServer optional

9 years agodisplay slicename intead of name in slice admin field list
Tony Mack [Wed, 27 Aug 2014 15:44:09 +0000 (11:44 -0400)]
display slicename intead of name in slice admin field list

9 years agoadd support for getting current request object from within a model
Scott Baker [Wed, 27 Aug 2014 00:40:36 +0000 (17:40 -0700)]
add support for getting current request object from within a model

9 years agoset default origin server - untested
Scott Baker [Tue, 26 Aug 2014 21:38:25 +0000 (14:38 -0700)]
set default origin server - untested

9 years agoInitial plumbing for parallel Observer
Sapan Bhatia [Mon, 25 Aug 2014 08:17:12 +0000 (04:17 -0400)]
Initial plumbing for parallel Observer

9 years agoSometimes, backend_status can fail because of unicode issues. Ignore
Sapan Bhatia [Fri, 22 Aug 2014 07:07:59 +0000 (03:07 -0400)]
Sometimes, backend_status can fail because of unicode issues. Ignore
for now.

9 years agoMore verbose backend_status field
Sapan Bhatia [Fri, 22 Aug 2014 07:06:03 +0000 (03:06 -0400)]
More verbose backend_status field

9 years agoPropagate backend_status to failed dependent objects
Sapan Bhatia [Fri, 22 Aug 2014 07:05:13 +0000 (03:05 -0400)]
Propagate backend_status to failed dependent objects

9 years agocame up with a better way to implement backend status, and made it use enacted/update...
Scott Baker [Thu, 21 Aug 2014 23:55:59 +0000 (16:55 -0700)]
came up with a better way to implement backend status, and made it use enacted/updated to determine icon

9 years agoprovisioning status in admin UI
Scott Baker [Thu, 21 Aug 2014 22:19:07 +0000 (15:19 -0700)]
provisioning status in admin UI

9 years agoadd backend_status to UI
Scott Baker [Thu, 21 Aug 2014 20:01:25 +0000 (13:01 -0700)]
add backend_status to UI

9 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/plstackapi
Scott Baker [Wed, 20 Aug 2014 19:33:37 +0000 (12:33 -0700)]
Merge branch 'master' of ssh://git.planet-lab.org/git/plstackapi

9 years agofix failing to return an ip if sliver.ip is not set
Scott Baker [Wed, 20 Aug 2014 19:33:26 +0000 (12:33 -0700)]
fix failing to return an ip if sliver.ip is not set

9 years agopis can view slices at their sites
Tony Mack [Wed, 20 Aug 2014 15:29:40 +0000 (11:29 -0400)]
pis can view slices at their sites

9 years agopis can update slice objects
Tony Mack [Wed, 20 Aug 2014 15:15:17 +0000 (11:15 -0400)]
pis can update slice objects

9 years agopis can update slice objects
Tony Mack [Wed, 20 Aug 2014 13:06:55 +0000 (09:06 -0400)]
pis can update slice objects

9 years agoBug fix from Scott Baker. If a peer object is not set, it means there is
Sapan Bhatia [Wed, 20 Aug 2014 07:04:03 +0000 (03:04 -0400)]
Bug fix from Scott Baker. If a peer object is not set, it means there is
no dependency.

9 years agoMinor bug fix
Sapan Bhatia [Wed, 20 Aug 2014 07:03:12 +0000 (03:03 -0400)]
Minor bug fix

9 years agohpclib.py
Scott Baker [Wed, 20 Aug 2014 00:22:30 +0000 (17:22 -0700)]
hpclib.py

9 years agofix failed dependencies not taking type of objects into account
Scott Baker [Tue, 19 Aug 2014 22:49:27 +0000 (15:49 -0700)]
fix failed dependencies not taking type of objects into account

9 years agoSwitched sync_users to new style of deletion
Sapan Bhatia [Tue, 19 Aug 2014 07:01:37 +0000 (03:01 -0400)]
Switched sync_users to new style of deletion

9 years agoDeleting sync_sliver_ips, now obsoleted by sync_network_slivers
Sapan Bhatia [Tue, 19 Aug 2014 07:00:20 +0000 (03:00 -0400)]
Deleting sync_sliver_ips, now obsoleted by sync_network_slivers

9 years agoSwitched sync_slices to new style of deletion
Sapan Bhatia [Tue, 19 Aug 2014 06:59:34 +0000 (02:59 -0400)]
Switched sync_slices to new style of deletion

9 years agoSwitched sync_networks to new style of deletion
Sapan Bhatia [Tue, 19 Aug 2014 06:59:00 +0000 (02:59 -0400)]
Switched sync_networks to new style of deletion

9 years agoMerged change from alpha
Sapan Bhatia [Tue, 19 Aug 2014 06:58:32 +0000 (02:58 -0400)]
Merged change from alpha

9 years agoSwitched sync_sites to new style of deletion
Sapan Bhatia [Tue, 19 Aug 2014 06:58:04 +0000 (02:58 -0400)]
Switched sync_sites to new style of deletion

9 years agoMake it easier to disable deletions for debugging.
Sapan Bhatia [Mon, 18 Aug 2014 06:44:20 +0000 (02:44 -0400)]
Make it easier to disable deletions for debugging.

9 years agoTrying to commit an unsaved object with fields set causes the database
Sapan Bhatia [Mon, 18 Aug 2014 06:24:22 +0000 (02:24 -0400)]
Trying to commit an unsaved object with fields set causes the database
to lock up.

9 years agoturn on -a option to dumpdata so deleted models are dumped
Scott Baker [Fri, 15 Aug 2014 23:52:55 +0000 (16:52 -0700)]
turn on -a option to dumpdata so deleted models are dumped

9 years agoremove all ROInline objects
Scott Baker [Fri, 15 Aug 2014 23:39:05 +0000 (16:39 -0700)]
remove all ROInline objects

9 years agoremove all ROInline objects
Scott Baker [Fri, 15 Aug 2014 23:29:16 +0000 (16:29 -0700)]
remove all ROInline objects

9 years agofix issues with enacted fields in NetworkAdmin's inlines
Scott Baker [Fri, 15 Aug 2014 20:42:29 +0000 (13:42 -0700)]
fix issues with enacted fields in NetworkAdmin's inlines

9 years agohelper code for getting a list of IP addresses from a sliver
Scott Baker [Fri, 15 Aug 2014 19:29:20 +0000 (12:29 -0700)]
helper code for getting a list of IP addresses from a sliver

9 years agomake sync_sliver_ips a no-op -- maybe remove it soon
Scott Baker [Fri, 15 Aug 2014 00:35:05 +0000 (17:35 -0700)]
make sync_sliver_ips a no-op -- maybe remove it soon

9 years agosync all network deployments, even the nat-net
Scott Baker [Fri, 15 Aug 2014 00:33:36 +0000 (17:33 -0700)]
sync all network deployments, even the nat-net

9 years agoexpose is_active bit on user page
Scott Baker [Fri, 15 Aug 2014 00:32:35 +0000 (17:32 -0700)]
expose is_active bit on user page