refs #1089. Updates partition assistant
testing/ogcore-api/pipeline/head This commit looks good
Details
testing/ogcore-api/pipeline/head This commit looks good
Details
parent
7b9650d804
commit
8949dcd865
|
|
@ -70,12 +70,11 @@ class PartitionAssistantAction extends AbstractController
|
||||||
'par' => (string) $partition->partitionNumber,
|
'par' => (string) $partition->partitionNumber,
|
||||||
'cpt' => $partition->partitionCode,
|
'cpt' => $partition->partitionCode,
|
||||||
'sfi' => $partition->filesystem,
|
'sfi' => $partition->filesystem,
|
||||||
'tam' => (string) ($partition->size * 1024),
|
'tam' => (string) (integer) ($partition->size * 1024),
|
||||||
'ope' => $partition->format ? "1" : "0",
|
'ope' => $partition->format ? "1" : "0",
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
// Hacer una llamada por cada disco
|
|
||||||
foreach ($disks as $diskNumber => $diskInfo) {
|
foreach ($disks as $diskNumber => $diskInfo) {
|
||||||
$data = [];
|
$data = [];
|
||||||
if (!empty($diskInfo['diskData'])) {
|
if (!empty($diskInfo['diskData'])) {
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,11 @@ namespace App\Model;
|
||||||
final class DeployMethodTypes
|
final class DeployMethodTypes
|
||||||
{
|
{
|
||||||
public const string MULTICAST = 'multicast';
|
public const string MULTICAST = 'multicast';
|
||||||
|
|
||||||
|
public const string MULTICAST_UFTP = 'multicast-uftp';
|
||||||
|
public const string MULTICAST_UDPCAST = 'multicast-udpcast';
|
||||||
public const string UNICAST = 'unicast';
|
public const string UNICAST = 'unicast';
|
||||||
public const string TORRENT = 'torrent';
|
public const string TORRENT = 'p2p';
|
||||||
|
|
||||||
private const array DEPLOYMENT_METHOD_TYPES = [
|
private const array DEPLOYMENT_METHOD_TYPES = [
|
||||||
self::MULTICAST => 'Multicast',
|
self::MULTICAST => 'Multicast',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue