plstackapi.git
10 years agofix openstack integration
Tony Mack [Sat, 11 May 2013 00:20:03 +0000 (20:20 -0400)]
fix openstack integration

10 years agointial data for serviceclass / serviceresource
Scott Baker [Fri, 10 May 2013 23:53:13 +0000 (16:53 -0700)]
intial data for serviceclass / serviceresource

10 years agomodels and admin for ServiceClass and ServiceResource
Scott Baker [Fri, 10 May 2013 23:50:44 +0000 (16:50 -0700)]
models and admin for ServiceClass and ServiceResource

11 years agopull some values from planetstack config file
Tony Mack [Fri, 10 May 2013 21:15:32 +0000 (17:15 -0400)]
pull some values from planetstack config file

11 years agofix environment
Tony Mack [Fri, 10 May 2013 20:54:14 +0000 (16:54 -0400)]
fix environment

11 years agoinstall source to /opt/planetstack
Tony Mack [Fri, 10 May 2013 20:51:12 +0000 (16:51 -0400)]
install source to /opt/planetstack

11 years agoAdjustments to admin.py for view, fix Role using charfield as primary key, adjusted...
Siobhan Tully [Fri, 10 May 2013 19:53:14 +0000 (15:53 -0400)]
Adjustments to admin.py for view, fix Role using charfield as primary key, adjusted openstack/managers.py to fill the charfield instead of the pk

11 years agoAdjusting admin GUI/inlines, fixed slice modification when no openstack environment...
Siobhan Tully [Fri, 10 May 2013 16:43:09 +0000 (12:43 -0400)]
Adjusting admin GUI/inlines, fixed slice modification when no openstack environment is setup

11 years agoMerge pick up, tweaked role/site/plcore_base or os_manager path when OpenStack not...
Siobhan Tully [Fri, 10 May 2013 14:50:08 +0000 (10:50 -0400)]
Merge pick up, tweaked role/site/plcore_base or os_manager path when OpenStack not present

11 years agoRefactor to /opt/planetstack, final tweaks to make sure planetstack can run in non...
Siobhan Tully [Fri, 10 May 2013 12:59:56 +0000 (08:59 -0400)]
Refactor to /opt/planetstack, final tweaks to make sure planetstack can run in non-openstack mode, adjustments to GUI for model focus changes

11 years agorole base filtering for main admin pages
Tony Mack [Fri, 10 May 2013 12:22:44 +0000 (08:22 -0400)]
role base filtering for main admin pages

11 years agorole based filtering for keys
Tony Mack [Fri, 10 May 2013 01:44:17 +0000 (21:44 -0400)]
role based filtering for keys

11 years agoadded add_external_route(), delete_external_route()
Tony Mack [Fri, 10 May 2013 00:33:21 +0000 (20:33 -0400)]
added add_external_route(), delete_external_route()

11 years agorefactor
Tony Mack [Thu, 9 May 2013 23:25:10 +0000 (19:25 -0400)]
refactor

11 years agofix bug
Tony Mack [Thu, 9 May 2013 21:31:33 +0000 (17:31 -0400)]
fix bug

11 years agoalway give user 'user' role at their home site
Tony Mack [Thu, 9 May 2013 21:22:31 +0000 (17:22 -0400)]
alway give user 'user' role at their home site

11 years agoallow openstack fields to contain null/blank values. separate User.is_admin from...
Tony Mack [Thu, 9 May 2013 21:02:31 +0000 (17:02 -0400)]
allow openstack fields to contain null/blank values. separate User.is_admin from User.is_staff. expose User.is_admin on mdole admin form

11 years agospecify SliverInline.readonly_fields
Tony Mack [Thu, 9 May 2013 20:59:09 +0000 (16:59 -0400)]
specify SliverInline.readonly_fields

11 years agoonly save numberCores to OS metadata if it changes
Scott Baker [Thu, 9 May 2013 00:42:56 +0000 (17:42 -0700)]
only save numberCores to OS metadata if it changes

11 years agospecify SliverInline.readonly_fields
Tony Mack [Wed, 8 May 2013 01:38:06 +0000 (21:38 -0400)]
specify SliverInline.readonly_fields

11 years agoadjust unicode name
Tony Mack [Wed, 8 May 2013 01:37:21 +0000 (21:37 -0400)]
adjust unicode name

11 years agowhitespace
Tony Mack [Tue, 7 May 2013 22:49:39 +0000 (18:49 -0400)]
whitespace

11 years agomake some fields on the sliver page read only when updating an existing sliver
Tony Mack [Tue, 7 May 2013 22:49:14 +0000 (18:49 -0400)]
make some fields on the sliver page read only when updating an existing sliver

11 years agoremove auth_check import
Tony Mack [Tue, 7 May 2013 19:30:51 +0000 (15:30 -0400)]
remove auth_check import

11 years agoremove reference to Subnet
Tony Mack [Tue, 7 May 2013 19:29:14 +0000 (15:29 -0400)]
remove reference to Subnet

11 years agoremove reference to Subnet
Tony Mack [Tue, 7 May 2013 19:27:29 +0000 (15:27 -0400)]
remove reference to Subnet

11 years agofix typo
Tony Mack [Tue, 7 May 2013 19:23:26 +0000 (15:23 -0400)]
fix typo

11 years agoremove reference to subnet
Tony Mack [Tue, 7 May 2013 19:22:22 +0000 (15:22 -0400)]
remove reference to subnet

11 years agoimport Config before try/except block
Tony Mack [Tue, 7 May 2013 19:21:15 +0000 (15:21 -0400)]
import Config before try/except block

11 years agoadd core/models to packages path
Tony Mack [Tue, 7 May 2013 19:18:16 +0000 (15:18 -0400)]
add core/models to packages path

11 years agosubnet model no longer exists
Tony Mack [Tue, 7 May 2013 15:31:41 +0000 (11:31 -0400)]
subnet model no longer exists

11 years agocreate subnet in save_slice(), cleanup subnet in delete_slice()
Tony Mack [Tue, 7 May 2013 15:15:59 +0000 (11:15 -0400)]
create subnet in save_slice(), cleanup subnet in delete_slice()

11 years agoadd subnet_id field to slice model
Tony Mack [Tue, 7 May 2013 15:09:57 +0000 (11:09 -0400)]
add subnet_id field to slice model

11 years agoadd subnet_id field to slice model
Tony Mack [Tue, 7 May 2013 15:09:24 +0000 (11:09 -0400)]
add subnet_id field to slice model

11 years agoremove unused files
Tony Mack [Tue, 7 May 2013 15:08:46 +0000 (11:08 -0400)]
remove unused files

11 years agoremove references to subnet
Tony Mack [Tue, 7 May 2013 15:06:23 +0000 (11:06 -0400)]
remove references to subnet

11 years agoremove SubnetAdmin
Tony Mack [Tue, 7 May 2013 15:05:52 +0000 (11:05 -0400)]
remove SubnetAdmin

11 years agoremove sliver.name field from admin page. generate sliver.name for user when it isn...
Tony Mack [Mon, 6 May 2013 21:15:00 +0000 (17:15 -0400)]
remove sliver.name field from admin page. generate sliver.name for user when it isn't specified

11 years agoremove Slice.instantiation field
Tony Mack [Mon, 6 May 2013 21:06:37 +0000 (17:06 -0400)]
remove Slice.instantiation field

11 years agoremoving
Tony Mack [Mon, 6 May 2013 20:58:21 +0000 (16:58 -0400)]
removing

11 years agoupdate restapi to use OpenStackManager instead of OpenStackDriver
Tony Mack [Mon, 6 May 2013 20:57:54 +0000 (16:57 -0400)]
update restapi to use OpenStackManager instead of OpenStackDriver

11 years agodefault numberCores to 0
smbaker [Sun, 5 May 2013 20:58:52 +0000 (13:58 -0700)]
default numberCores to 0

11 years agoplumb numberCores attribute through to nova metadata
smbaker [Sun, 5 May 2013 20:58:16 +0000 (13:58 -0700)]
plumb numberCores attribute through to nova metadata

11 years agogive new users a role
Tony Mack [Sun, 5 May 2013 15:48:43 +0000 (11:48 -0400)]
give new users a role

11 years agoupdate OSModleAdmin
Tony Mack [Sun, 5 May 2013 15:48:14 +0000 (11:48 -0400)]
update OSModleAdmin

11 years agoonly call set_password() once
Tony Mack [Sun, 5 May 2013 15:47:16 +0000 (11:47 -0400)]
only call set_password() once

11 years agoPlainTextWidget no longer wipes out the form field value
Tony Mack [Sat, 4 May 2013 03:30:41 +0000 (23:30 -0400)]
PlainTextWidget no longer wipes out the form field value

11 years agofix syntax error
Tony Mack [Sat, 4 May 2013 03:30:12 +0000 (23:30 -0400)]
fix syntax error

11 years agofix ability to work without openstack libs
Tony Mack [Fri, 3 May 2013 18:18:31 +0000 (14:18 -0400)]
fix ability to work without openstack libs

11 years agoremove references to OpenStackDriver and OpenStackClient outside of OpenStackManager
Tony Mack [Fri, 3 May 2013 00:05:42 +0000 (20:05 -0400)]
remove references to OpenStackDriver and OpenStackClient outside of OpenStackManager

11 years agosubnets and slivers work when openstack is disable or unavailable
Tony Mack [Thu, 2 May 2013 23:51:45 +0000 (19:51 -0400)]
subnets and slivers work when openstack is disable or unavailable

11 years agoadded isntance_name to sliver page
Tony Mack [Thu, 2 May 2013 20:39:20 +0000 (16:39 -0400)]
added isntance_name to sliver page

11 years agofix api call
Tony Mack [Thu, 2 May 2013 19:46:27 +0000 (15:46 -0400)]
fix api call

11 years agoupdate get_slices()
Tony Mack [Thu, 2 May 2013 19:44:49 +0000 (15:44 -0400)]
update get_slices()

11 years agoupdated url regex
Tony Mack [Thu, 2 May 2013 19:44:32 +0000 (15:44 -0400)]
updated url regex

11 years agodefault dns server should be 8.8.4.4
Tony Mack [Thu, 2 May 2013 19:09:45 +0000 (15:09 -0400)]
default dns server should be 8.8.4.4

11 years agoslices, slice memberships and site privileges work when openstack is disabled or...
Tony Mack [Thu, 2 May 2013 15:20:26 +0000 (11:20 -0400)]
slices, slice memberships and site privileges work when openstack is disabled or unavailable

11 years agosites work when openstack is disabled or unavailable
Tony Mack [Thu, 2 May 2013 14:57:04 +0000 (10:57 -0400)]
sites work when openstack is disabled or unavailable

11 years agokeys and users work when openstack is disabled or unavailable
Tony Mack [Thu, 2 May 2013 14:09:51 +0000 (10:09 -0400)]
keys and users work when openstack is disabled or unavailable

11 years agoMerged with Tony's changes -- added numberCores to SliverAdmins
Siobhan Tully [Thu, 2 May 2013 10:02:36 +0000 (06:02 -0400)]
Merged with Tony's changes -- added numberCores to SliverAdmins

11 years agoAdded serviceClass to SliceAdmin
Siobhan Tully [Thu, 2 May 2013 09:50:30 +0000 (05:50 -0400)]
Added serviceClass to SliceAdmin

11 years agoAdded in serviceClass to Slice, and numberCores to Sliver, adjusted admin.py accordingly
Siobhan Tully [Thu, 2 May 2013 09:47:24 +0000 (05:47 -0400)]
Added in serviceClass to Slice, and numberCores to Sliver, adjusted admin.py accordingly

11 years agoRoleAdmin and Role model work when openstack is disable
Tony Mack [Thu, 2 May 2013 04:00:10 +0000 (00:00 -0400)]
RoleAdmin and Role model work when openstack is disable

11 years agofix add/delete inlines on site and deployemnt network pages
Tony Mack [Thu, 2 May 2013 01:48:38 +0000 (21:48 -0400)]
fix add/delete inlines on site and deployemnt network pages

11 years agocall user.set_password() in PLUser.save() instead of PLUserAdmin.save()
Tony Mack [Thu, 2 May 2013 01:02:12 +0000 (21:02 -0400)]
call user.set_password() in PLUser.save() instead of PLUserAdmin.save()

11 years agodont overwrite /root/.ssh/authorized_keys with empty file
Tony Mack [Wed, 1 May 2013 21:24:46 +0000 (17:24 -0400)]
dont overwrite /root/.ssh/authorized_keys with empty file

11 years agofix add/delete sliver using inline on slice page
Tony Mack [Wed, 1 May 2013 18:52:03 +0000 (14:52 -0400)]
fix add/delete sliver using inline on slice page

11 years agoadded methods for updating and deleting instance metadata
smbaker [Wed, 1 May 2013 01:15:48 +0000 (18:15 -0700)]
added methods for updating and deleting instance metadata

11 years agofix bugs
Tony Mack [Tue, 30 Apr 2013 23:07:45 +0000 (19:07 -0400)]
fix bugs

11 years agoremoving refrences to flavor
Tony Mack [Tue, 30 Apr 2013 22:30:21 +0000 (18:30 -0400)]
removing refrences to flavor

11 years agoremoving flavor model
Tony Mack [Tue, 30 Apr 2013 22:24:33 +0000 (18:24 -0400)]
removing flavor model

11 years agorun site agent once on startup
Tony Mack [Tue, 30 Apr 2013 22:20:27 +0000 (18:20 -0400)]
run site agent once on startup

11 years agoremove refrences to flavor. use m1.small as the default flavor
Tony Mack [Tue, 30 Apr 2013 22:18:03 +0000 (18:18 -0400)]
remove refrences to flavor. use m1.small as the default flavor

11 years agoremove refrences to flavor. use m1.small as the default flavor
Tony Mack [Tue, 30 Apr 2013 22:17:38 +0000 (18:17 -0400)]
remove refrences to flavor. use m1.small as the default flavor

11 years agoinitial checkin
Tony Mack [Tue, 30 Apr 2013 21:43:48 +0000 (17:43 -0400)]
initial checkin

11 years agoupdate credentials to use name of slice/tenant of sliver
Tony Mack [Mon, 29 Apr 2013 23:42:20 +0000 (19:42 -0400)]
update credentials to use name of slice/tenant of sliver

11 years agogive admin user the admin role to every tenant created by OpenStackDriver
Tony Mack [Mon, 29 Apr 2013 23:41:39 +0000 (19:41 -0400)]
give admin user the admin role to every tenant created by OpenStackDriver

11 years agorefresh openstack credentials when creating a slice's network and router
Tony Mack [Mon, 29 Apr 2013 21:53:07 +0000 (17:53 -0400)]
refresh openstack credentials when creating a slice's network and router

11 years agoremove call to remove_gateway_router()
Tony Mack [Mon, 29 Apr 2013 21:52:37 +0000 (17:52 -0400)]
remove call to remove_gateway_router()

11 years agofix bug in delete_network_ports()
Tony Mack [Mon, 29 Apr 2013 20:45:14 +0000 (16:45 -0400)]
fix bug in delete_network_ports()

11 years agofix bugs
Tony Mack [Mon, 29 Apr 2013 12:13:27 +0000 (08:13 -0400)]
fix bugs

11 years agoFix bugs
Tony Mack [Sun, 28 Apr 2013 15:27:07 +0000 (11:27 -0400)]
Fix bugs

11 years agoupdate SitePrivilegeAdmin and SliceMembershipAdmin
Tony Mack [Sun, 28 Apr 2013 14:28:42 +0000 (10:28 -0400)]
update SitePrivilegeAdmin and SliceMembershipAdmin

11 years agoupdate user admin
Tony Mack [Sat, 27 Apr 2013 20:43:01 +0000 (16:43 -0400)]
update user admin

11 years agocreate OSModelAdmin. Update some Admin definitions to subclass OSModelAdmin
Tony Mack [Sat, 27 Apr 2013 17:02:33 +0000 (13:02 -0400)]
create OSModelAdmin. Update some Admin definitions to subclass OSModelAdmin

11 years agofilter keys user is allowed to see
Tony Mack [Sat, 27 Apr 2013 16:36:19 +0000 (12:36 -0400)]
filter keys user is allowed to see

11 years agobug fixes
Tony Mack [Sat, 27 Apr 2013 15:08:19 +0000 (11:08 -0400)]
bug fixes

11 years agosave() and delete() uses caller's credentials to init openstackdriver client
Tony Mack [Sat, 27 Apr 2013 15:08:10 +0000 (11:08 -0400)]
save() and delete() uses caller's credentials to init openstackdriver client

11 years agoregister a signal that caches the user's credentials on login
Tony Mack [Sat, 27 Apr 2013 00:01:42 +0000 (20:01 -0400)]
register a signal that caches the user's credentials on login

11 years agoAdded in PLUser as custom user, replacing the django base user. Reformatted initial_...
Siobhan Tully [Fri, 26 Apr 2013 23:30:27 +0000 (19:30 -0400)]
Added in PLUser as custom user, replacing the django base user.  Reformatted initial_data for content with more readable 4 space indent for ability to do diffs

11 years agofix NameError
Tony Mack [Wed, 24 Apr 2013 18:51:53 +0000 (14:51 -0400)]
fix NameError

11 years agodisable setting route until we have consistent way to determine external ip address
Tony Mack [Thu, 18 Apr 2013 01:58:34 +0000 (21:58 -0400)]
disable setting route until we have consistent way to determine external ip address

11 years agofix bug
Tony Mack [Wed, 17 Apr 2013 15:06:35 +0000 (11:06 -0400)]
fix bug

11 years agostart the sliver agent
Tony Mack [Wed, 17 Apr 2013 14:45:45 +0000 (10:45 -0400)]
start the sliver agent

11 years agoinitial checkin. Fills in null sliver ips
Tony Mack [Wed, 17 Apr 2013 14:45:12 +0000 (10:45 -0400)]
initial checkin. Fills in null sliver ips

11 years agoAdjusted SliverInline to only show valid fields for create/view. Used admin::Sliver...
Siobhan Tully [Wed, 17 Apr 2013 10:47:26 +0000 (06:47 -0400)]
Adjusted SliverInline to only show valid fields for create/view.  Used admin::Sliver as reference.

11 years agoswitch Sliver.ip from IpAddressField to GenericIPAddressField
Tony Mack [Wed, 17 Apr 2013 03:04:44 +0000 (23:04 -0400)]
switch Sliver.ip from IpAddressField to GenericIPAddressField

11 years agoadd pain text ip address field to Sliver form
Tony Mack [Wed, 17 Apr 2013 02:48:40 +0000 (22:48 -0400)]
add pain text ip address field to Sliver form

11 years agocleanup
Tony Mack [Wed, 17 Apr 2013 02:07:22 +0000 (22:07 -0400)]
cleanup

11 years agoraise exception if sliver's slice has no subnet
Tony Mack [Wed, 17 Apr 2013 01:58:39 +0000 (21:58 -0400)]
raise exception if sliver's slice has no subnet