The invention relates to the technical field of
cloud computing, in particular to an Ironic-based
bare metal network automatic configuration method,
system equipment and medium, and the method comprises the following steps: in the process of completing
bare metal node
operating system deployment through Ironic, firstly querying an
MAC address of a node port and a network type and a VLAN ID of a user network; then, dynamically injecting a
network configuration script and a corresponding
system service into the to-be-deployed
operating system based on the queried information; and finally, when the
bare metal node is locally started for the first time, automatically executing the configuration script by the
system service, and configuring a corresponding VLAN sub-interface for the
physical network card according to the
MAC address and the VLAN ID, thereby automatically finishing switching from a deployment network to a user network. According to the invention, the network automatic configuration of the bare
metal service is realized without depending on an SDN controller or manually intervening a switch, so that the cost is remarkably saved, and the
delivery efficiency and reliability in a large-scale deployment scene are improved.