source: client/engine/correspondencia-api.txt @ 884ea85

918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Last change on this file since 884ea85 was 8964f9b, checked in by ramon <ramongomez@…>, 16 years ago

Resstructuración de trunk.

git-svn-id: https://opengnsys.es/svn/trunk@390 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100644
File size: 6.1 KB
Line 
1
2OpenGNSys Client Cloning Engine API
3===================================
4
5La API está dividida en librerías de funciones C/BASH o clases C++/PHP.
6La 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
8En el resto del fichero están las funciones originales que aún no he revisado.
9
10Entre 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
16PROPUESTA
17---------
18
19Librería o clase Install:
20- ogConfigureServer             0.1     (CustomEACServer, InterfazCustomEACServer)
21- ogLoadConfig                          (scirpt_uso)
22
23Librería o clase System:
24- ogEcho                        0.9     (Msg)
25- ogRaiseError                          (?)
26
27Librerí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
45Librerí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
65Librería o clase Image:
66- ogCreateImage                         (CreateImageFromPartition, hidraCreateImageFromPartition)
67- ogRestoreImage                        (RestorePartitionFromImage, RestorePartitionFromPartition, hidraRestorePartitionFromImage)
68- ogGetImageSize                        (hidraImageSize)
69- ogCreateTorrent                       (CreateTorrentFromImage)
70
71
72Librerí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
84Librerí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
92Librería o clase File:
93- ogGetPath                             (ConnectToRepo, hidraPath)
94- ogIsFile                              (IfFileExist, IfFileNotExist)
95  ogNewPath
96
97Librería o clase String:
98
99Librería o clase ToolsGNU
100
101
102===================
103
104Funciones EAC:
105
106Referencia del Archivo ATA.lib
107
108DetectNumberPartition -> GetPartitionNumber
109NewMbrXP
110DeleteLABELS
111IsFSequalPartition -> CompareSizeFSPartition
112AmpliarFileSystemNT -> desaparece (la anterior detecta el tipo de FS)
113CrearSistemaArchivos
114ELIMINARReducirFileSystemNT
115
116Referencia del Archivo Boot.lib
117
118SetDefaultBoot
119ConvertToGrub
120InstalaGrub4dos
121moddhcpdconf
122
123Referencia del Archivo Deploy.lib
124
125SetDefaultStartpage
126DetectMethodTransfer
127GetImageFile
128UpdateCache
129CheckImage
130DetectInfoImage -> GetImageInfo
131DetectaProgramaImagen -> GetImageProgram
132DetectaFSImagen -> GetImageFS
133DetectCompresionImage -> GetImageCompression
134DeployPartitionFromImage
135OpenArchiveZIP
136OpenArchiveNT
137Synchronize
138MakeOffline
139MountChrootEACclient
140UmountChrootEACclient
141MakePhotoConsole
142BORRARCheckImageTORRENT
143
144Referencia del Archivo EACInstall.lib
145
146BuildEACOSBase
147BuildEACBootAgenPXE
148BuildEACServer
149TestPxe
150
151Referencia del Archivo FileSystem.lib
152
153SizeFileSystem
154InfoCache
155FormatToLower
156FormatToUpper
157FormatSintaxDev
158FormatSintaxSpacePath
159FormatSintaxBackSlashPath
160GetPath
161GetLastStr
162GetFirstStr
163MkdirPath
164DetectaEtiquetas
165WhatsTime
166HowLongHasWorked
167NumberRound
168
169Referencia del Archivo PostConf.lib
170
171CrearPatron
172ParseaSysprep
173NTDetect
174LoadRegistrySystem
175LoadRegistryUsers
176UpdateRegistry
177NTChangeName
178NTDrivers
179NTDrivers2
180NTSetGroupName
181NTSetOwner
182NTAutoLogon
183NTStatusRatonTeclado
184NTRunOnceMachine
185NTRunMachine
186NTRunUser
187NTPolUserOn
188NTPolUserOFF
189NTStatusBootChk
190NTNoMsgNewHardware
191ChangeName
192
193Referencia del Archivo Settings.lib
194
195IPservidor
196IfacesEACclient
197ExportEACconf
198clean
199
200Referencia 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
210Funciones Hidra:
211
212HIDRA (* a las que llama la web de hidra,las demás desaparecen salvo algunas que no existe en EAC)
213
214hidraClientIP
215hidraClientMAC
216hidraDeleteFile
217hidraEACServer
218hidraFSCheck
219hidraPoweroff
220hidraReboot
221hidraUpdateCache
222
223
224Funciones de configuracion Unizar
225
226eac_config_server
227opengnsys_installer
Note: See TracBrowser for help on using the repository browser.