Summary of the invention
Based on this, it is necessary to which in view of the above technical problems, node deployment efficiency can be greatly improved by providing one kind
The node deployment method of OpenStack, a kind of node deployment device of OpenStack, a kind of computer equipment and a kind of storage
Medium.
To achieve the above object, the embodiment of the present invention adopts the following technical scheme that
On the one hand, the embodiment of the present invention provides the node deployment method of OpenStack a kind of, comprising:
Obtain the type information for the node that OpenStack is currently installed on;
According to the type information, the network information of the node is obtained;
The corresponding first kind configuration file of the node is generated according to the type information and the network information;
According to the installation function of the first kind configuration file and the node, the corresponding network service of the node is installed
Installation kit generates and enables corresponding network plug-in.
The network information includes at least network mechanism information, network mode information, the domain IP in one of the embodiments,
With network interface information.
The installation function according to the first kind configuration file and the node in one of the embodiments, peace
The corresponding network service installation kit of the node is filled, the step of generating and enable corresponding network plug-in, comprising:
According to the type information and the network mechanism information, start the installation function of the node, institute is installed
The corresponding network service installation kit of node is stated, corresponding second class configuration file and the network plug-in are generated;
The second class configuration file according to the network mechanism information configuration;
Start the network plug-in.
In one of the embodiments, after the step of starting network plug-in, further includes:
If the node creates the network of corresponding modes according to the network mode information for control node.
The second class configuration file includes the corresponding network machine of the network mechanism information in one of the embodiments,
Configuration file processed;
The method also includes:
According to the domain IP, the IP address of respective type is set for the node;
According to the network mechanism information, the binding of network interface information is carried out to the network mechanism configuration file.
In one of the embodiments, the method also includes:
The verifying function for starting the OpenStack services the corresponding network egress to the network of the OpenStack
Part carries out Installation Validation.
In one of the embodiments, the method also includes:
The database of the node is installed, and reads the network information in the first kind configuration file;
The respective stored table network information and the type information being respectively stored into the database.
In one of the embodiments, the method also includes:
Display is sent by the filename of the first kind configuration file and the network information to be shown.
It is described according to the type information in one of the embodiments, the step of obtaining the network information of the node,
Include:
If determining that the node is control node according to the type information, the net of the node of input is received
Network information.
It is described according to the type information in one of the embodiments, the step of obtaining the network information of the node,
Include:
If determining that the node is control node according to the type information, the node is read from presupposed information table
The network information.
The node includes control node or calculate node in one of the embodiments,;
It is described according to the type information, the step of obtaining the network information of the node, comprising:
If determining that the node is calculate node according to the type information, the mounted control node is obtained
The network information;
According to the network information of the control node, the corresponding network information is matched for the calculate node.
On the other hand, the node deployment device of OpenStack a kind of is also provided, comprising:
Type acquisition module, for obtaining the type information for the node that OpenStack is currently installed on;
Network obtains module, for obtaining the network information of the node according to the type information;
Configuration module is matched for generating the corresponding first kind of the node according to the type information and the network information
Set file;
Network installation module, for the installation function according to the first kind configuration file and the node, described in installation
The corresponding network of node services installation kit, generates and enables corresponding network plug-in.
Another aspect, also provides a kind of computer equipment, including memory and processor, and the memory is stored with calculating
The step of machine program, the processor realizes the node deployment method of the OpenStack when executing the computer program.
In another aspect, also providing a kind of computer readable storage medium, it is stored thereon with computer program, the computer
The step of node deployment method of the OpenStack is realized when program is executed by processor.
A technical solution in above-mentioned technical proposal is had the following advantages and beneficial effects:
Node deployment method, device, computer equipment and the storage medium of above-mentioned OpenStack, by obtaining current peace
After the type information of the node of dress, the corresponding network information for obtaining the node.To be automatically performed generation, the node of configuration file
The installation of place network service ultimately generates and starts corresponding network plug-in, realizes the automatic configuration installation of node.Node
Deployment process user's intervention degree is lower, easy to operate, effectively realizes the effect for greatly improving each node deployment efficiency.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not
For limiting the application.
The node deployment method of OpenStack provided by the present application can be applied in application environment as shown in Figure 1.
Wherein, management equipment 102 can be computer and be also possible to server.Management equipment 102 when carrying out OpenStack installation,
The type information for being currently installed on node can be obtained, through but not limited to the mode of input setting to determine the node being currently installed on
Type, such as be currently installed on node type be control node or calculate node.Management equipment 102 is being currently installed on
Node type information after, and then can through but not limited to input setting mode obtain be currently installed on node network believe
Breath, such as network mode, network mechanism and other network of relation configuration informations required in node installation.Management equipment 102
Type information and the network information can be write as to configuration file, namely generate the corresponding first kind configuration text of the node being currently installed on
Part, so as to function call type information therein and the network information during the installation process.The generation of management equipment 102 is currently installed on
After the corresponding first kind configuration file of node, according to first kind configuration file, the corresponding installation of the node being currently installed on is entered
Function installs the corresponding network service installation kit of the node being currently installed on, generates and enable corresponding network plug-in to complete to work as
The installation of front nodal point.
In one embodiment, it as shown in Fig. 2, providing the node deployment method of OpenStack a kind of, answers in this way
For being illustrated for the management equipment 102 in Fig. 1, include the following steps S12 to S18:
S12 obtains the type information for the node that OpenStack is currently installed on.
Wherein, type information is the type identification information of each service node on OpenStack, such as type parameter or class
Type variable, being used to indicate the node being currently installed on is control node or calculate node.
Specifically, one node of every installation is required to provide corresponding type letter for the node when installing OpenStack
Breath, to distinguish the concrete type of the node.Type information can be, but not limited to the instruction inputted by user to select to obtain, or
It reads and obtains from preset type list, such as all types of information are sequentially successively stored on preset type list in advance,
During the installation process, according to the sequencing of node installation, each installation node is successively corresponded to from preset type list and is read
Type information.
S14 obtains the network information of node according to type information.
Wherein, required configurations information when the network information is node installation, for ensure will not after node installation
Mutually conflict with the configuration of other nodes, it is ensured that corresponding service can be normally provided.
Specifically, during present node is installed, after obtaining type information, namely the node being currently installed on has been determined
Concrete type.In turn, the network information of the node can be obtained, according to the type of the node to determine the node installation when institute
The configurations information needed.The network information also can be, but not limited to the instruction inputted by user select to obtain, from preset
It is read on type list and obtains or downloaded from third party database server according to preset data link to obtain.
S16 generates the corresponding first kind configuration file of node according to type information and the network information.
Wherein, first kind configuration file is the corresponding configuration file of the node, such as cfg configuration file, before being written
The type information and the network information stated, facilitate the node during the installation process, can install function or module accordingly from first
Required each information is called in class configuration file.
Specifically, after type information needed for obtaining the node being currently installed on and the network information, it can be according to type information
The first kind configuration file for corresponding to the node is generated, with the network information to use during the node installation.
S18 installs the corresponding network of node and services installation kit according to the installation function of first kind configuration file and node,
It generates and enables corresponding network plug-in.
Wherein, installation function is each corresponding installation function of node on OpenStack, corresponding for calling
Configuration information executes the specific installment work of each node.Network service installation kit is that the respective services that node need to provide are corresponding each
The installation file packet of network plug-in, for installing each network plug-in of node when installing function call, so as to node realization
Respectively to the support of service function.
Specifically, the node will be started after the generation work of the first kind configuration file for the node that completion is currently installed on
Function is installed, the corresponding information in first kind configuration file is called, such as type information and/or the network information, it is corresponding to complete node
Network service installation kit installation.Corresponding network plug-in will be generated when being installed, and finally enable these network plug-ins
The support of respective service can be realized, and be basically completed node installation work.
It is corresponding after the type information by obtaining the node being currently installed in the node deployment method of above-mentioned OpenStack
Obtain the network information of the node.Thus the installation of network service where being automatically performed the generation of configuration file, node, most throughout one's life
At and start corresponding network plug-in, realize node automatic configuration installation.Node deployment process user's intervention degree is lower, behaviour
Make simplicity, effectively realizes the effect for greatly improving each node deployment efficiency, manual configuration error rate height can also be avoided to cause
The high problem of installation error rate.
The network information includes at least network mechanism information, network mode information, the domain IP and net in one of the embodiments,
Message breath.
It is appreciated that the network information in above-described embodiment at least can also be able to include with several main informations above-mentioned
The corresponding other configurations information of other service items of the required offer of node during the installation process, such as according to OpenStack
The respective services of offer, when choosing some of expansion services, corresponding desired configuration information, in this specification without limitation.
Wherein, network mechanism information is the network mechanism identification information of the network service of OpenStack, such as the setting ginseng of network mechanism
Number etc..Network mechanism information is used to indicate the network mechanism of the corresponding network service of the node being currently installed on, such as is used to indicate
Current network mechanism is linuxbridge network mechanism or openvswitch network mechanism.
Network mode information is the network mode type information of network segment where the node being currently installed on, such as network mode ginseng
Number is used to indicate network mode belonging to the node place network segment being currently installed on.Network mode be, for example, flat network mode,
Flat DHCP network mode and vlan network mode etc..The domain IP be may include have the setting of each node respective server, it is each
The corresponding network segment IP address of network interface to guarantee the network interworking in cloud environment, and includes each network in control node creation
The network segment IP address of mode network.Network interface information network interface parameter between different segment, for distributing corresponding net for each network segment
Mouthful.By the acquisition and use of above-mentioned disparate networks information, it can effectively ensure the correct configuration of each node during installation.
It in one of the embodiments, for step S14, can specifically include: if determining that node is according to type information
Control node then receives the network information of the node of input.
It is appreciated that being determined according to the type information of the node should before the network information for obtaining the node being currently installed on
When node belongs to control node, then the network information of the node can be obtained by way of receiving user and being manually entered.Example
Such as when determining the node is control node, obtained by receiving each network information that user inputs on installation display interface
The network information of the node.It, can by the network information for the node that foregoing manner can be directly currently installed on by user's setting
It is operated depending on changing, it is easy to operate.
It in one of the embodiments, for step S14, can specifically include: if determining that node is according to type information
Control node then reads the network information of node from presupposed information table.
Wherein, presupposed information table be node the network information storage table, can according to setting sequential storage one or
The network information of multiple nodes.Presupposed information table can be stored on local terminal or server, can also be stored in third party
In server, such as proxy server or cloud, network information acquisition request when for responsive node installation provide node phase
The network information answered.
It is appreciated that being determined according to the type information of the node should before the network information for obtaining the node being currently installed on
When node belongs to control node, then it can be realized and be obtained by way of reading corresponding network information from presupposed information table.
Such as when determining the node is control node, by 102 access preset information table of management equipment, with according to the mark of node,
Such as node IP address or serial number read the corresponding network information on presupposed information table and distribute to the node.Pass through foregoing manner
The network information for the node being currently installed on can be read directly, be not necessarily to user's manual setting, further increase the effect of node deployment
Rate, the high problem of installation error rate caused by can also more effectively avoiding manual configuration error rate high.
Node includes control node or calculate node in one of the embodiments,.For step S14, specifically can wrap
It includes: if determining that node is calculate node according to type information, obtaining the network information of mounted control node;According to control
The network information of node matches the corresponding network information for calculate node.
It is appreciated that being determined according to the type information of the node should before the network information for obtaining the node being currently installed on
When node belongs to calculate node, such as user selects the type of the node for calculate node on installation display interface, then installs
The selection interface of the network information will be no longer shown on display interface, but reads the net of first mounted control node automatically
Network information, such as network mechanism information, network mode information, the domain IP and network interface information etc..In turn, according to the network information of reading
The corresponding network information is matched for the calculate node, for example, calculate node configures network mechanism letter identical with control node
Breath, reads the management IP address of control node, and configures the management IP address that the calculate node same network segment IP address is itself.For
The network mode information and network interface information of calculate node configuration and control node distinguish matched network mode information and network interface is believed
Breath.
In such a way that aforementioned matchingization configures, the network information needed for can obtaining automatically calculate node is not necessarily to user
Manual setting effectively ensures consistent between the network information of calculate node and the net information of the control node of previous installation
Property, the efficiency of node deployment is further increased, installation error rate caused by more effectively avoiding manual configuration error rate high is high
Problem.
Please referring to Fig. 3, method further includes step S17 in one of the embodiments:
S17 sends display for the filename of first kind configuration file and the network information and is shown.
Wherein, display can be the display of management equipment 102, be also possible to external stand alone display, for opening up
Show configuration interface, user is facilitated to know or confirm the configuration information of node installation process.
Specifically, management equipment 102 can be by the filename of first kind configuration file after generating first kind configuration file
The network information selected is output on display, so that display exhibits facilitate user to confirm whether configuration is accurate to user
It is errorless.In this way, S17 through the above steps, configuration can be found in time with the presence or absence of problem, to correct configuration in time, from
And further decrease the error rate of node deployment process.
Referring to Fig. 4, in one of the embodiments, for above-mentioned step S18, including S182 to S186:
S182, according to type information and network mechanism information, the installation function of starter node, the corresponding network of installation node
Installation kit is serviced, corresponding second class configuration file and network plug-in are generated.
Wherein, when the second class configuration file is the network plug-in that the node generates, the corresponding configuration file generated, such as but
It is not limited to conf configuration file and ini configuration file.Second class configuration file is usually empty content or not after generation, in file
Available mismatch configures content.The configuration for the network plug-in that second class configuration file is used to be written under the node belonging network mechanism
Information, such as the network information, so that network plug-in can effectively provide corresponding service after actuation.
Specifically, can be called after the generation work of the first kind configuration file for the node that completion is currently installed on
The configuration variables module of OpenStack, if key module is the configuration information in the first kind configuration file of the node, namely
Type information and the network information are respectively defined as variable.When the variable read is type information, start the installation of the node
Function, such as when determining that the node is control node according to type information, the corresponding installation function for entering control node;Example again
When such as determining that the node is calculate node according to type information, the corresponding installation function for entering calculate node.According to network mechanism
Information determines the corresponding network mechanism of the node, and then according to network mechanism by the execution module of calling OpenStack, such as
Shell module installs the corresponding network service installation kit of the node.The node corresponding network service will be generated when being installed
The second class configuration file and the corresponding network plug-in of network mechanism, such as, but not limited to network bridge plug-in unit, metadata plug-in unit,
Each network plug-ins such as network layer plug-in unit plug-in unit related to dynamic host configuration protocol.
S184, according to network mechanism information configuration the second class configuration file;
S186 starts network plug-in.
It is appreciated that be usually when the second class configuration file of above-mentioned generation, in the second class configuration file empty content or
Invalid content is configured, so that corresponding network plug-in can come into force.Specifically, can be by calling OpenStack
Document Editing module, as edit module read network mechanism information the second class configuration file is configured.Complete the second class
Matching for configuration file postpones, and can start corresponding network plug-in, to enable corresponding service.
S182 to S186 through the above steps, can be according to the first kind configuration file of acquisition, and starter node is corresponding
The corresponding network of function installation node is installed and services installation kit.After completing installation, generated according to network mechanism information configuration the
Two class configuration files start corresponding network plug-in finally to enable corresponding service, complete the installation of the node.Installation process
Automated execution effectively improves the deployment efficiency of node and reduces error rate.
In one of the embodiments, about above-mentioned step S186 after, further comprise the steps of:
If node creates the network of corresponding modes according to network mode information for control node.
It is appreciated that during installation, if being determined according to type information, the node being currently installed on is control node, is completed
After above-mentioned installation steps S182 to S186, also according in first kind configuration file, the network mode information in the network information is true
The network mode of the fixed node, and then corresponding network is created according to the network mode of the network node, to complete control section
The network creation of point, to complete the perfect deployment of control node.The step of by network creation above-mentioned, can automate reality
Deployment is improved in the installation of existing control node, improves installation effectiveness.
Referring to Fig. 5, the second class configuration file includes the corresponding network of network mechanism information in one of the embodiments,
Mechanism configuration file.The node deployment method of above-mentioned OpenStack further includes following steps S20 and S22:
The IP address of respective type is arranged for node according to the domain IP by S20.
It is appreciated that the IP address of respective type is such as, but not limited to management IP address.The corresponding each server of each node
Need management IP address etc..Therefore, in above-mentioned installation process, when first control node installation itself settable management IP
The corresponding configuration information of first control node can be read when installing other control nodes and calculate node for address, thus
Analysis obtains the network segment where the management IP address, and the IP address for configuring the same network segment of itself is the corresponding management of the node
IP address, to ensure node accurate communication in the process of running and data interaction.
S22 carries out the binding of network interface information to network mechanism configuration file according to network mechanism information.
It is appreciated that when carrying out data interaction between different network segments, it is desirable to provide matched network interface information.Therefore, exist
It, can be to the corresponding network mechanism configuration file bonding network message breath of network mechanism information, to save in above-mentioned installation process
When point is installed, it can correspond to and obtain corresponding network interface information, it is ensured that effectively realize bridge link etc. in node operational process.
In above-described embodiment, the binding of IP address and network interface information can be realized by user's manual configuration.And this implementation
In example, distribution and the network interface letter of IP address with S20 through the above steps and S22, during node installation, can be automatically performed
The binding of breath further increases the deployment efficiency of node and reduces configuration error rate.
Referring to Fig. 6, the node deployment method of above-mentioned OpenStack further includes step in one of the embodiments,
S19 and S21:
S19, installs the database of node, and reads the network information in first kind configuration file;
S191, the respective stored table network information and type information being respectively stored into database.
It is appreciated that need first to complete environmental basis configuration before the installation function of starter node in above-mentioned installation process,
Such as the corresponding installing DB of node.Therefore, S19 installs the database of present node through the above steps, and reads the
Network information in a kind of configuration file, such as network mechanism information, network mode information, the domain IP and network interface information etc..In turn
By step S21, the network information of reading and above-mentioned type information are respectively stored into database.Specifically, can be
After installing DB, corresponding storage table, such as, but not limited to network machine tabulation, network interface information table are respectively created in the database
With IP address table etc., each network information is respectively stored into corresponding storage table.
S19 and S191 through the above steps, the preparation process before starting installation function can be reliably completed, to install
When node corresponding network service installation kit, the shell module of OpenStack can with the operation of quick execution database command,
The installation for completing network service installation kit, improves installation and deployment efficiency.
Referring to Fig. 7, the node deployment method of above-mentioned OpenStack further includes step in one of the embodiments,
S24:
S24 starts the verifying function of OpenStack, pacifies to the corresponding network plug-in of network service of OpenStack
Dress verifying.
It is appreciated that after the installation of each node of completion, it will automatically into the verifying function of OpenStack, starting pair
The network service of OpenStack is verified, namely to corresponding network plug-in unit carry out Installation Validation, have verified that install successfully and
It is no.For example, authentication module (keystone) and command result parsing module (openstack_ by calling OpenStack
Output command functions) and the verifying work for asserting function (assert) completion network service.Specifically, for
The two different network mechanisms of linuxbridge and openvswitch have each respectively after each node installation deployment is completed
Self-corresponding Linux bridge agent and Open vSwitch agent plug-in unit generates, and generates other network plug-ins,
Such as Metadata agent, L3agent and DHCP agent plug-in unit, therefore whether can by verifying aforementioned corresponding plug-in unit
It is found, to determine whether installation succeeds.
S24 through the above steps can carry out Installation Validation after the completion of node installation is disposed, corresponding to obtain
Installation results facilitate user to carry out corresponding perfect processing according to installation results, improve the reliable of the network service of OpenStack
Property.
It should be understood that although each step in the flow chart of Fig. 2-7 is successively shown according to the instruction of arrow,
These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-7
Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps
Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively
It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately
It executes.
In one embodiment, as shown in figure 8, providing the node deployment device 100 of OpenStack a kind of, comprising: class
Type obtains module 12, network obtains module 14, configuration module 16 and network installation module 18, in which: type acquisition module 12 is used
In the type information for obtaining the node that OpenStack is currently installed on.Network obtains module 14, for obtaining according to type information
The network information of node.Configuration module 16 is configured for generating the corresponding first kind of node according to type information and the network information
File.Network installation module 18 installs the corresponding network of node for the installation function according to first kind configuration file and node
Installation kit is serviced, generates and enables corresponding network plug-in.
The node deployment device 100 of above-mentioned OpenStack, it is right after obtaining the type information of node being currently installed on
The network information of the node should be obtained.Thus the installation of network service where being automatically performed the generation of configuration file, node, finally
Corresponding network plug-in is generated and started, realizes the automatic configuration installation of node.Node deployment process user's intervention degree is lower,
It is easy to operate, the effect for greatly improving each node deployment efficiency is effectively realized, manual configuration error rate height can also be avoided to lead
The high problem of the installation error rate of cause.
Above-mentioned network installation module 18 can specifically include installation implementation sub-module, configuration in one of the embodiments,
Submodule and plug-in unit promoter module.Wherein, implementation sub-module is installed, for opening according to type information and network mechanism information
The installation function of dynamic node, the corresponding network of installation node service installation kit, generate corresponding second class configuration file and network
Plug-in unit.Submodule is configured, for according to network mechanism information configuration the second class configuration file.Plug-in unit promoter module, for opening
Dynamic network plug-in.
The node deployment device 100 of OpenStack further includes network creation module in one of the embodiments, is used for
When node is control node, according to network mode information, the network of corresponding modes is created.
The node deployment device 100 of OpenStack further includes that IP setup module and network interface are tied up in one of the embodiments,
Cover half block.IP setup module is used for according to the domain IP, the IP address etc. of respective type.Network interface binding module is used for according to network mechanism
Information carries out the binding of network interface information to network mechanism configuration file.
The node deployment device 100 of OpenStack further includes Installation Validation module in one of the embodiments, is used for
The verifying function for starting OpenStack services corresponding network plug-in to the network of OpenStack and carries out Installation Validation.
The node deployment device 100 of OpenStack further includes installing DB module sum number in one of the embodiments,
According to memory module.Installing DB module is used to install the database of node, and reads the letter of the network in first kind configuration file
Breath.Data memory module is used for the respective stored table being respectively stored into the network information and type information in database.
The node deployment device 100 of OpenStack further includes Display processing module in one of the embodiments, is used for
Display is sent by the filename of first kind configuration file and the network information to be shown.
In implementing at wherein one, above-mentioned network, which obtains module 14, can specifically include first information submodule, be used for
When determining that node is control node according to type information, the network information of the node of input is received.
In implementing at wherein one, it can also include the second message sub-module that above-mentioned network, which obtains module 14 specifically, use
If reading the network information of node from presupposed information table in determining that node is control node according to type information.
In implementing at wherein one, it specifically can also include third message sub-module and letter that above-mentioned network, which obtains module 14,
Cease matching module.Third message sub-module is used to determine that node for calculate node, then obtains mounted control according to type information
The network information of node processed.Information matches module is used for the network information according to control node, corresponding for calculate node matching
The network information.
The specific restriction of node deployment device 100 about OpenStack may refer to above for each corresponding implementation
The restriction of the node deployment method of OpenStack in example, details are not described herein.The node deployment device 100 of above-mentioned OpenStack
In modules can be realized fully or partially through software, hardware and combinations thereof.Above-mentioned each module can be interior in the form of hardware
It is embedded in or independently of the memory that in the processor in computer equipment, can also be stored in a software form in computer equipment
In, the corresponding operation of the above modules is executed in order to which processor calls.
In one embodiment, a kind of computer equipment is provided, which can be terminal.The computer is set
Standby includes processor, memory, network interface, display screen and the input unit connected by system bus.Wherein, the computer
The processor of equipment is for providing calculating and control ability.The memory of the computer equipment include non-volatile memory medium,
Built-in storage.The non-volatile memory medium is stored with operating system and computer program.The built-in storage is non-volatile deposits
The operation of operating system and computer program in storage media provides environment.The network interface of the computer equipment is used for and outside
Terminal by network connection communication.The node of OpenStack a kind of is realized when the computer program is executed by processor
Arranging method.The display screen of the computer equipment can be but not limited to liquid crystal display or electric ink display screen, the calculating
The input unit of machine equipment can be the touch layer covered on display screen, be also possible to be arranged on computer equipment shell by
Key, trace ball or Trackpad can also be external keyboard, Trackpad or mouse etc..
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memory
Computer program, the processor perform the steps of the node for obtaining that OpenStack is currently installed on when executing computer program
Type information;According to type information, the network information of node is obtained;It is corresponding that node is generated according to type information and the network information
First kind configuration file;According to the installation function of first kind configuration file and node, the corresponding network service installation of node is installed
Packet, generates and enables corresponding network plug-in.
It can also be realized in the various embodiments described above when processor executes computer program in one of the embodiments,
The step of node deployment method of OpenStack.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program performs the steps of the type information for obtaining the node that OpenStack is currently installed on when being executed by processor;According to class
Type information obtains the network information of node;The corresponding first kind configuration file of node is generated according to type information and the network information;
According to the installation function of first kind configuration file and node, the corresponding network of node is installed and services installation kit, generates and enables phase
The network plug-in answered.
It can also be realized in the various embodiments described above when computer program is executed by processor in one of the embodiments,
The step of node deployment method of OpenStack.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application
Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.