[7c20478] | 1 | |
---|
| 2 | OpenGNSys Client Cloning Engine API |
---|
| 3 | =================================== |
---|
| 4 | |
---|
| 5 | La API está dividida en librerías de funciones C/BASH o clases C++/PHP. |
---|
| 6 | La columna de la izquierda es la propuesta de nombre para función/método y la de la derecha es la equivalencia con las actuales en UMA/US/UNIZAR. |
---|
| 7 | |
---|
| 8 | En el resto del fichero están las funciones originales que aún no he revisado. |
---|
| 9 | |
---|
[1a6fb32] | 10 | Entre el nombre de la función y sus equivalentes, se añade estado de la migración. |
---|
| 11 | version 0.1 incorporada desde hidra, brutalix, EAC, o interfaz hidra-eac pero no compatible. |
---|
| 12 | version 0.x proceso de migración |
---|
| 13 | version 0.9 totalmente funcional con la estructura definida en las primeras funciones insertadas por Ramón. Un ejemplo es ogPartitionActive de la libreria Disk.lib |
---|
| 14 | |
---|
| 15 | |
---|
[7c20478] | 16 | PROPUESTA |
---|
| 17 | --------- |
---|
| 18 | |
---|
| 19 | Librería o clase Install: |
---|
[aae34f6] | 20 | - ogConfigureServer 0.1 (CustomEACServer, InterfazCustomEACServer) |
---|
| 21 | - ogLoadConfig (scirpt_uso) |
---|
[7c20478] | 22 | |
---|
| 23 | Librería o clase System: |
---|
[aae34f6] | 24 | - ogEcho 0.9 (Msg) |
---|
| 25 | - ogRaiseError (?) |
---|
[7c20478] | 26 | |
---|
| 27 | Librería o clase Disk: |
---|
[aae34f6] | 28 | - ogUpdatePartitionTable 0.1 (UpdateDisk) |
---|
[7abbc8f] | 29 | - ogDeletePartitionTable 0.1 (DeletePartitionTable, hidraDeletePartitionTable) |
---|
[aae34f6] | 30 | - ogDevToDisk (Disk, IdPartition, hidraDisk) |
---|
[2aa78d1] | 31 | - ogDiskToDev 0.9 (DiskEAC) |
---|
| 32 | ogDiskToRelativeDev 0.1 (IdPartition) |
---|
[aae34f6] | 33 | - ogCreatePartitions (CreatePartitions, hidraCreatePrimaryPartitions, hidraCreateLogicalPartitions) |
---|
| 34 | - ogListPartitions (ListPartitions, hidraListPartitions, hidraListPrimaryPartitions, hidraListLogicalPartitions) |
---|
| 35 | - ogGetPartitionActive (hidraGetPartitionActive) |
---|
| 36 | - ogSetPartitionActive (SetPartitionActive, hidraSetPartitionActive) |
---|
| 37 | - ogGetPartitionId 0.9 (?) |
---|
[b6a2c21] | 38 | - ogSetPartitionId 0.1 (SetPartitionType) |
---|
[aae34f6] | 39 | - ogGetPartitionSize 0.9 (SizePartition, hidraGetPartitionSize) |
---|
| 40 | - ogSetPartitionSize (hidraSetPartitionSize) |
---|
[b74f6dc] | 41 | ogGetPartitionsNumber 0.1 (DetectNumberPartition) |
---|
[cbc4590] | 42 | ogDeletePartitionsLabels 0.1 (DeleteLABELS) |
---|
[2aa78d1] | 43 | |
---|
[7c20478] | 44 | |
---|
| 45 | Librería o clase FileSystem: |
---|
[aae34f6] | 46 | - ogFormat, ogFormatFs (FormatPartition, hidraFormat) |
---|
[d91307f] | 47 | - ogFormatCache 0.1 (FormatCACHE, hidraFormatCache) |
---|
[aae34f6] | 48 | - ogExtend, ogExtendFs (EnlargeFileSystem, hidraFSExtend) |
---|
| 49 | - ogReduce, ogReduceFs (ReduceFileSystem, hidraFSReduce) |
---|
| 50 | - ogGetFsType (TypeFS, hidraTypeFS) |
---|
| 51 | - ogSetFsType (SetPartitionType, hidraSetPartitionType) |
---|
[b74f6dc] | 52 | - ogFindCache 0.1 (FindCache, hidraFindCache) |
---|
[aae34f6] | 53 | - ogIsLocked, ogIsFsLocked (hidraIsLocked) |
---|
| 54 | - ogLock, ogLockFs (hidraLock) |
---|
| 55 | - ogUnlock, ogUnlockFs (hidraUnlock) |
---|
| 56 | - ogMountFs, ogMount (MountPartition, hidraMount) |
---|
| 57 | - ogUnmountFs, ogUnmount (UmountPartition, hidraUnmount) |
---|
| 58 | - ogMountAllFs, ogMountAll (hidraMountAll) |
---|
[1a6fb32] | 59 | - ogUnmountAllFs, ogUnmountAll (hidraUnmmountAll) |
---|
[aae34f6] | 60 | - ogMountRepo, ogMount (MountRepo, hidraMountRepo) |
---|
| 61 | - ogUnmountRepo, ogUnmount (UmountRepo, hidraUnmountRepo) |
---|
[ff62550] | 62 | - ogMountCache, ogMount 0.1 (MountCache, hidraMountCache) |
---|
| 63 | - ogUnmountCache, ogUnmount 0.1 (UmountCache, hidraUnmountCache) |
---|
[7c20478] | 64 | |
---|
[9f29ba6] | 65 | Librería o clase Image: |
---|
[aae34f6] | 66 | - ogCreateImage (CreateImageFromPartition, hidraCreateImageFromPartition) |
---|
| 67 | - ogRestoreImage (RestorePartitionFromImage, RestorePartitionFromPartition, hidraRestorePartitionFromImage) |
---|
[b094c59] | 68 | - ogGetImageSize (hidraImageSize) |
---|
[aae34f6] | 69 | - ogCreateTorrent (CreateTorrentFromImage) |
---|
[7c20478] | 70 | |
---|
| 71 | |
---|
| 72 | Librería o clase Boot: |
---|
[aae34f6] | 73 | - ogBoot (HDBoot, BootLinuxEX, hidraBoot) |
---|
[b094c59] | 74 | - ogLinuxBootParameters (hidraLinuxBootParameters) |
---|
[aae34f6] | 75 | - ogInstallGrub (InstallGrub) |
---|
| 76 | - ogConfigureGrub (ConfGrub) |
---|
| 77 | - ogListRegistryKeys (hidraListRegistryKeys) |
---|
[3e1561d] | 78 | - ogGetRegistryValue (hidraGetRegistryKey) |
---|
| 79 | - ogSetRegistryValue (hidraSetRegistryKey) |
---|
[aae34f6] | 80 | - ogGetWindowsName (hidraGetWindowsName) |
---|
| 81 | - ogSetWindowsName (hidraSetWindowsName) |
---|
[035eaa2] | 82 | ogNewMbrXP v0.1 (NewMbrXP) |
---|
[9f29ba6] | 83 | |
---|
| 84 | Librería o clase Inventory: |
---|
[aae34f6] | 85 | - ogListHardwareInfo (InfoHardware, DetectDevices, hidraHardwareInfo) |
---|
| 86 | - ogGetOsVersion (hidraOSVersion) |
---|
[1d531f9] | 87 | - ogListSoftware |
---|
| 88 | - ogListLinuxSoftware (hidraLinuxSoftware) |
---|
| 89 | - ogListWindowsSoftware (idraWindowsSoftware) |
---|
[035eaa2] | 90 | ogInfoCache v.0.1 (infoCache) |
---|
[7c20478] | 91 | |
---|
| 92 | Librería o clase File: |
---|
[aae34f6] | 93 | - ogGetPath (ConnectToRepo, hidraPath) |
---|
| 94 | - ogIsFile (IfFileExist, IfFileNotExist) |
---|
[035eaa2] | 95 | ogNewPath |
---|
[7c20478] | 96 | |
---|
| 97 | Librería o clase String: |
---|
| 98 | |
---|
[b74f6dc] | 99 | Librería o clase ToolsGNU |
---|
| 100 | |
---|
[7c20478] | 101 | |
---|
| 102 | =================== |
---|
| 103 | |
---|
| 104 | Funciones EAC: |
---|
| 105 | |
---|
| 106 | Referencia del Archivo ATA.lib |
---|
| 107 | |
---|
[a5df9b9] | 108 | DetectNumberPartition -> GetPartitionNumber |
---|
| 109 | NewMbrXP |
---|
| 110 | DeleteLABELS |
---|
| 111 | IsFSequalPartition -> CompareSizeFSPartition |
---|
| 112 | AmpliarFileSystemNT -> desaparece (la anterior detecta el tipo de FS) |
---|
| 113 | CrearSistemaArchivos |
---|
| 114 | ELIMINARReducirFileSystemNT |
---|
[7c20478] | 115 | |
---|
| 116 | Referencia del Archivo Boot.lib |
---|
| 117 | |
---|
[a5df9b9] | 118 | SetDefaultBoot |
---|
| 119 | ConvertToGrub |
---|
| 120 | InstalaGrub4dos |
---|
| 121 | moddhcpdconf |
---|
[7c20478] | 122 | |
---|
| 123 | Referencia del Archivo Deploy.lib |
---|
| 124 | |
---|
[a5df9b9] | 125 | SetDefaultStartpage |
---|
[aae34f6] | 126 | DetectMethodTransfer |
---|
| 127 | GetImageFile |
---|
| 128 | UpdateCache |
---|
| 129 | CheckImage |
---|
| 130 | DetectInfoImage -> GetImageInfo |
---|
| 131 | DetectaProgramaImagen -> GetImageProgram |
---|
| 132 | DetectaFSImagen -> GetImageFS |
---|
| 133 | DetectCompresionImage -> GetImageCompression |
---|
| 134 | DeployPartitionFromImage |
---|
| 135 | OpenArchiveZIP |
---|
| 136 | OpenArchiveNT |
---|
| 137 | Synchronize |
---|
| 138 | MakeOffline |
---|
| 139 | MountChrootEACclient |
---|
| 140 | UmountChrootEACclient |
---|
| 141 | MakePhotoConsole |
---|
| 142 | BORRARCheckImageTORRENT |
---|
[7c20478] | 143 | |
---|
| 144 | Referencia del Archivo EACInstall.lib |
---|
| 145 | |
---|
[aae34f6] | 146 | BuildEACOSBase |
---|
| 147 | BuildEACBootAgenPXE |
---|
| 148 | BuildEACServer |
---|
| 149 | TestPxe |
---|
[7c20478] | 150 | |
---|
| 151 | Referencia del Archivo FileSystem.lib |
---|
| 152 | |
---|
[aae34f6] | 153 | SizeFileSystem |
---|
| 154 | InfoCache |
---|
| 155 | FormatToLower |
---|
| 156 | FormatToUpper |
---|
| 157 | FormatSintaxDev |
---|
| 158 | FormatSintaxSpacePath |
---|
| 159 | FormatSintaxBackSlashPath |
---|
| 160 | GetPath |
---|
| 161 | GetLastStr |
---|
| 162 | GetFirstStr |
---|
| 163 | MkdirPath |
---|
| 164 | DetectaEtiquetas |
---|
| 165 | WhatsTime |
---|
| 166 | HowLongHasWorked |
---|
| 167 | NumberRound |
---|
[7c20478] | 168 | |
---|
| 169 | Referencia del Archivo PostConf.lib |
---|
| 170 | |
---|
[aae34f6] | 171 | CrearPatron |
---|
| 172 | ParseaSysprep |
---|
| 173 | NTDetect |
---|
| 174 | LoadRegistrySystem |
---|
| 175 | LoadRegistryUsers |
---|
| 176 | UpdateRegistry |
---|
| 177 | NTChangeName |
---|
| 178 | NTDrivers |
---|
| 179 | NTDrivers2 |
---|
| 180 | NTSetGroupName |
---|
| 181 | NTSetOwner |
---|
| 182 | NTAutoLogon |
---|
| 183 | NTStatusRatonTeclado |
---|
| 184 | NTRunOnceMachine |
---|
| 185 | NTRunMachine |
---|
| 186 | NTRunUser |
---|
| 187 | NTPolUserOn |
---|
| 188 | NTPolUserOFF |
---|
| 189 | NTStatusBootChk |
---|
| 190 | NTNoMsgNewHardware |
---|
| 191 | ChangeName |
---|
[7c20478] | 192 | |
---|
| 193 | Referencia del Archivo Settings.lib |
---|
| 194 | |
---|
[aae34f6] | 195 | IPservidor |
---|
| 196 | IfacesEACclient |
---|
| 197 | ExportEACconf |
---|
| 198 | clean |
---|
[7c20478] | 199 | |
---|
| 200 | Referencia del Archivo DBProcess.php |
---|
| 201 | |
---|
| 202 | RegistryHost ($mac, $ip) |
---|
| 203 | SetHostName () |
---|
| 204 | BootServer ($boot, $ip) |
---|
| 205 | Logger () |
---|
| 206 | InsertClassrom ($descripcion, $subred, $netmask, $broadcast, $gateway, $repo_image, $repo_client) |
---|
| 207 | InsertItemtoMenu ($menu, $item) |
---|
| 208 | |
---|
| 209 | |
---|
| 210 | Funciones Hidra: |
---|
| 211 | |
---|
| 212 | HIDRA (* a las que llama la web de hidra,las demás desaparecen salvo algunas que no existe en EAC) |
---|
| 213 | |
---|
| 214 | hidraClientIP |
---|
| 215 | hidraClientMAC |
---|
| 216 | hidraDeleteFile |
---|
| 217 | hidraEACServer |
---|
| 218 | hidraFSCheck |
---|
| 219 | hidraPoweroff |
---|
| 220 | hidraReboot |
---|
| 221 | hidraUpdateCache |
---|
| 222 | |
---|
| 223 | |
---|
| 224 | Funciones de configuracion Unizar |
---|
| 225 | |
---|
| 226 | eac_config_server |
---|
| 227 | opengnsys_installer |
---|