X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=planetlab%2Fslices%2Fslice_add.php;h=f258bda53fc53af7c94427c3d9a86c777f7d1d82;hb=31cf6d82dcacdf16520f979ac75181cbd6c35051;hp=d932212142c0089f9e5505465cbc0024427db7b4;hpb=e624e8881de4d69ef3077809fd6dd1e10b2d0d96;p=plewww.git diff --git a/planetlab/slices/slice_add.php b/planetlab/slices/slice_add.php index d932212..f258bda 100644 --- a/planetlab/slices/slice_add.php +++ b/planetlab/slices/slice_add.php @@ -95,6 +95,11 @@ if ( $_POST['add-slice'] ) { } else { drupal_set_message("Successfully set the 'omf_control' tag on slice"); } + if ($api->SetSliceVref($slice_id,'omf') != 'omf') { + drupal_set_error("Could not set the 'vref' tag on newly created slice..."); + } else { + drupal_set_message("Successfully set the 'vref' tag on slice"); + } } if ($person_ids) {