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 | |
---|
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 | |
---|
16 | PROPUESTA |
---|
17 | --------- |
---|
18 | |
---|
19 | Librería o clase Install: |
---|
20 | - ogConfigureServer 0.1 (CustomEACServer, InterfazCustomEACServer) |
---|
21 | - ogLoadConfig (scirpt_uso) |
---|
22 | |
---|
23 | Librería o clase System: |
---|
24 | - ogEcho 0.9 (Msg) |
---|
25 | - ogRaiseError (?) |
---|
26 | |
---|
27 | Librería o clase Disk: |
---|
28 | - ogUpdatePartitionTable 0.1 (UpdateDisk) |
---|
29 | - ogDeletePartitionTable 0.1 (DeletePartitionTable, hidraDeletePartitionTable) |
---|
30 | - ogDevToDisk (Disk, IdPartition, hidraDisk) |
---|
31 | - ogDiskToDev 0.9 (DiskEAC) |
---|
32 | ogDiskToRelativeDev 0.1 (IdPartition) |
---|
33 | - ogCreatePartitions (CreatePartitions, hidraCreatePrimaryPartitions, hidraCreateLogicalPartitions) |
---|
34 | - ogListPartitions (ListPartitions, hidraListPartitions, hidraListPrimaryPartitions, hidraListLogicalPartitions) |
---|
35 | - ogGetPartitionActive (hidraGetPartitionActive) |
---|
36 | - ogSetPartitionActive (SetPartitionActive, hidraSetPartitionActive) |
---|
37 | - ogGetPartitionId 0.9 (?) |
---|
38 | - ogSetPartitionId 0.1 (SetPartitionType) |
---|
39 | - ogGetPartitionSize 0.9 (SizePartition, hidraGetPartitionSize) |
---|
40 | - ogSetPartitionSize (hidraSetPartitionSize) |
---|
41 | ogGetPartitionsNumber 0.1 (DetectNumberPartition) |
---|
42 | ogDeletePartitionsLabels 0.1 (DeleteLABELS) |
---|
43 | |
---|
44 | |
---|
45 | Librería o clase FileSystem: |
---|
46 | - ogFormat, ogFormatFs (FormatPartition, hidraFormat) |
---|
47 | - ogFormatCache 0.1 (FormatCACHE, hidraFormatCache) |
---|
48 | - ogExtend, ogExtendFs (EnlargeFileSystem, hidraFSExtend) |
---|
49 | - ogReduce, ogReduceFs (ReduceFileSystem, hidraFSReduce) |
---|
50 | - ogGetFsType (TypeFS, hidraTypeFS) |
---|
51 | - ogSetFsType (SetPartitionType, hidraSetPartitionType) |
---|
52 | - ogFindCache 0.1 (FindCache, hidraFindCache) |
---|
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) |
---|
59 | - ogUnmountAllFs, ogUnmountAll (hidraUnmmountAll) |
---|
60 | - ogMountRepo, ogMount (MountRepo, hidraMountRepo) |
---|
61 | - ogUnmountRepo, ogUnmount (UmountRepo, hidraUnmountRepo) |
---|
62 | - ogMountCache, ogMount 0.1 (MountCache, hidraMountCache) |
---|
63 | - ogUnmountCache, ogUnmount 0.1 (UmountCache, hidraUnmountCache) |
---|
64 | |
---|
65 | Librería o clase Image: |
---|
66 | - ogCreateImage (CreateImageFromPartition, hidraCreateImageFromPartition) |
---|
67 | - ogRestoreImage (RestorePartitionFromImage, RestorePartitionFromPartition, hidraRestorePartitionFromImage) |
---|
68 | - ogGetImageSize (hidraImageSize) |
---|
69 | - ogCreateTorrent (CreateTorrentFromImage) |
---|
70 | |
---|
71 | |
---|
72 | Librería o clase Boot: |
---|
73 | - ogBoot (HDBoot, BootLinuxEX, hidraBoot) |
---|
74 | - ogLinuxBootParameters (hidraLinuxBootParameters) |
---|
75 | - ogInstallGrub (InstallGrub) |
---|
76 | - ogConfigureGrub (ConfGrub) |
---|
77 | - ogListRegistryKeys (hidraListRegistryKeys) |
---|
78 | - ogGetRegistryValue (hidraGetRegistryKey) |
---|
79 | - ogSetRegistryValue (hidraSetRegistryKey) |
---|
80 | - ogGetWindowsName (hidraGetWindowsName) |
---|
81 | - ogSetWindowsName (hidraSetWindowsName) |
---|
82 | ogNewMbrXP v0.1 (NewMbrXP) |
---|
83 | |
---|
84 | Librería o clase Inventory: |
---|
85 | - ogListHardwareInfo (InfoHardware, DetectDevices, hidraHardwareInfo) |
---|
86 | - ogGetOsVersion (hidraOSVersion) |
---|
87 | - ogListSoftware |
---|
88 | - ogListLinuxSoftware (hidraLinuxSoftware) |
---|
89 | - ogListWindowsSoftware (idraWindowsSoftware) |
---|
90 | ogInfoCache v.0.1 (infoCache) |
---|
91 | |
---|
92 | Librería o clase File: |
---|
93 | - ogGetPath (ConnectToRepo, hidraPath) |
---|
94 | - ogIsFile (IfFileExist, IfFileNotExist) |
---|
95 | ogNewPath |
---|
96 | |
---|
97 | Librería o clase String: |
---|
98 | |
---|
99 | Librería o clase ToolsGNU |
---|
100 | |
---|
101 | |
---|
102 | =================== |
---|
103 | |
---|
104 | Funciones EAC: |
---|
105 | |
---|
106 | Referencia del Archivo ATA.lib |
---|
107 | |
---|
108 | DetectNumberPartition -> GetPartitionNumber |
---|
109 | NewMbrXP |
---|
110 | DeleteLABELS |
---|
111 | IsFSequalPartition -> CompareSizeFSPartition |
---|
112 | AmpliarFileSystemNT -> desaparece (la anterior detecta el tipo de FS) |
---|
113 | CrearSistemaArchivos |
---|
114 | ELIMINARReducirFileSystemNT |
---|
115 | |
---|
116 | Referencia del Archivo Boot.lib |
---|
117 | |
---|
118 | SetDefaultBoot |
---|
119 | ConvertToGrub |
---|
120 | InstalaGrub4dos |
---|
121 | moddhcpdconf |
---|
122 | |
---|
123 | Referencia del Archivo Deploy.lib |
---|
124 | |
---|
125 | SetDefaultStartpage |
---|
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 |
---|
143 | |
---|
144 | Referencia del Archivo EACInstall.lib |
---|
145 | |
---|
146 | BuildEACOSBase |
---|
147 | BuildEACBootAgenPXE |
---|
148 | BuildEACServer |
---|
149 | TestPxe |
---|
150 | |
---|
151 | Referencia del Archivo FileSystem.lib |
---|
152 | |
---|
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 |
---|
168 | |
---|
169 | Referencia del Archivo PostConf.lib |
---|
170 | |
---|
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 |
---|
192 | |
---|
193 | Referencia del Archivo Settings.lib |
---|
194 | |
---|
195 | IPservidor |
---|
196 | IfacesEACclient |
---|
197 | ExportEACconf |
---|
198 | clean |
---|
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 |
---|