US 12,355,622 B2
Method, device, and computer program product for processing network configuration file
XiongGui Chen, Shanghai (CN); Chris Zhu, Shanghai (CN); Lijun Zhao, Shanghai (CN); and Jianfeng Ma, Shanghai (CN)
Assigned to DELL PRODUCTS L.P., Round Rock, TX (US)
Filed by Dell Products L.P., Round Rock, TX (US)
Filed on Nov. 30, 2023, as Appl. No. 18/525,709.
Claims priority of application No. 202311276859.0 (CN), filed on Sep. 28, 2023.
Prior Publication US 2025/0112886 A1, Apr. 3, 2025
Int. Cl. H04L 41/084 (2022.01); H04L 41/08 (2022.01); H04L 61/5007 (2022.01); H04L 101/668 (2022.01)
CPC H04L 41/0846 (2013.01) [H04L 41/0889 (2013.01); H04L 61/5007 (2022.05); H04L 2101/668 (2022.05)] 20 Claims
OG exemplary drawing
 
1. A method, comprising:
acquiring, by a system comprising at least one processor, a network configuration file of a first cluster system, the network configuration file comprising an original Internet protocol address;
acquiring, by the system, an address translation rule set by a user via a user interface, the address translation rule comprising a rule for translation of one address of an original network address and an original host address that form the original Internet protocol address;
acquiring, by the system, a target Internet protocol address by translating the one address in the original Internet protocol address based on the address translation rule, wherein acquiring the target Internet protocol address comprises:
determining that the address translation rule indicates translation of the original network address to a target network address;
determining a first length of the original network address and a second length of the target network address;
comparing the first length with the second length; and
replacing, in response to the first length being determined to be greater than or equal to the second length, a part of the original Internet protocol address corresponding to the second length with the target network address; and
storing, by the system, the network configuration file comprising the target Internet protocol address in a second cluster system.