sliceplus incorporate field changes from slice model
Scott Baker [Mon, 12 Jan 2015 21:36:40 +0000 (13:36 -0800)]
planetstack/core/xoslib/methods/sliceplus.py

index fa17c1c..0cfc67c 100644 (file)
@@ -48,7 +48,8 @@ class SlicePlusIdSerializer(serializers.ModelSerializer, PlusSerializerMixin):
 \r
         class Meta:\r
             model = SlicePlus\r
-            fields = ('humanReadableName', 'id','created','updated','enacted','name','enabled','omf_friendly','description','slice_url','site','max_slivers','image_preference','service','network','mount_data_sets',
+            fields = ('humanReadableName', 'id','created','updated','enacted','name','enabled','omf_friendly','description','slice_url','site','max_slivers','service','network','mount_data_sets',
+                      'default_image', 'default_flavor',
                       'serviceClass','creator','networks','sliceInfo','network_ports','backendIcon','backendHtml','site_allocation')
 
 class SlicePlusList(PlusListCreateAPIView): #generics.ListCreateAPIView):