name management tweaking
authorjeff <jeff>
Tue, 27 Nov 2007 22:30:10 +0000 (22:30 +0000)
committerjeff <jeff>
Tue, 27 Nov 2007 22:30:10 +0000 (22:30 +0000)
FS/FS/part_export/prizm.pm

index c92b9f7..1a4223d 100644 (file)
@@ -141,7 +141,8 @@ sub _export_insert {
   $err_or_som = $self->prizm_command('NetworkIfService', 'addProvisionedElement',
                                       $networkid,
                                       $svc->mac_addr,
-                                      $name . " " . $svc->description,
+                                      substr($name . " " . $svc->description,
+                                             0, 50),
                                       $location,
                                       $contact,
                                       sprintf("%032X", $svc->authkey),
@@ -164,7 +165,7 @@ sub _export_insert {
                   $svc->latitude,
                   $svc->longitude,
                   $svc->altitude,
-                  $name,
+                  $name . " " . $svc->description,
                   $location,
                   $contact,
                   );