Mechanized modify/add/create/delete for network configuration
Techniques for mechanized modify/add/create/delete (MACD) for network configuration are provided. A method can include creating a data object from input data relating to a requested change to a target network configuration, the data object comprising a first parameter indicating a type of the requested change and a second parameter identifying the target network configuration; retrieving, from a repository according to a group of logical rules, executable instructions associated with the type of the requested change, as given by the first parameter of the data object, and the target network configuration, as given by the second parameter of the data object; and performing, further according to the group of logical rules, the requested change to the target network configuration, the performing of the requested change comprising executing the executable instructions retrieved from the repository.
1 . A method, comprising:
receiving, by a device comprising a processor, a requested change to a network configuration, wherein the requested change to the network configuration is of a first change type;
determining, by the device, that the first change type is absent from a list of supported change types maintained by the device, and responsive to the determining, facilitating generation of steering statements for the first change type, wherein the generation comprises automatically deriving the steering statements based on contextual relationships to existing change types or accepting manual input defining the steering statements;
adding, by the device to an application programming interface (API) repository and according to a group of logical rules, the steering statements for the first change type, the steering statements comprising query statements and change statements, wherein the steering statements define relationships between multiple tables of a network configuration repository, including relationships between devices, locations, and neighboring components, and wherein the group of logical rules comprises a static rule set that is common to all change request implementations;
executing, by the device, the query statements to locate records associated with the first change type; and
executing, by the device, the change statements to modify the records to change the network configuration.
2 . The method of claim 1 , wherein the adding of the steering statements comprises adding the steering statements based on the first change type.
3 . The method of claim 2 , wherein the first change type includes information selected from a group of change types comprising modification of existing data associated with the network configuration, addition of new data associated with the network configuration, creation of the network configuration, and deletion of the network configuration.
4 . The method of claim 1 , further comprising:
receiving, by the device, input data indicative of the requested change to the network configuration, wherein the adding of the steering statements comprises adding the steering statements based on the input data.
5 . The method of claim 4 , further comprising:
responsive to the determining that the first change type is a supported change type, generating, by the device, an input form that contains fields to be filled in with data to be changed, wherein the fields are based on specific properties associated with the requested change, and wherein the receiving of the input data comprises receiving the input data via the input form.
6 . The method of claim 1 , wherein the records are stored among tables in a second repository, and wherein the steering statements define relationships between respective ones of the tables.
7 . The method of claim 1 , wherein the steering statements further comprise a sequence in which to execute the query statements and the change statements.
8 . The method of claim 1 , wherein the requested change is a first requested change, wherein the network configuration is a first network configuration, wherein the steering statements are first steering statements, and wherein the method further comprises:
adding, by the device to the API repository, second steering statements associated with a second requested change to a second network configuration in response to the second steering statements being determined to be absent from the API repository.
9 . The method of claim 8 , wherein the adding of the second steering statements comprises adding the second steering statements to the API repository in further response to receiving a request for the second requested change to the second network configuration.
10 . A system, comprising:
a processor; and
a memory that stores first executable instructions that, when executed by the processor, facilitate performance of operations, comprising:
receiving a requested change to a network configuration, wherein the requested change to the network configuration is of a first change type;
determining that the first change type is absent from a list of supported change types maintained by the system, and responsive to the determining, facilitating generation of steering statements for the first change type, wherein the generation comprises automatically deriving the steering statements based on contextual relationships to existing change types or accepting manual input defining the steering statements;
adding, to an application programming interface (API) repository and according to logical rules, the steering statements for the first change type, wherein the steering statements comprise query statements and change statements, wherein the steering statements define relationships between multiple tables of a network configuration repository, including relationships between devices, locations, and neighboring components, and wherein the logical rules comprises a static rule set that is common to all change request implementations;
executing the query statements to locate the records associated with the first change type; and
executing the change statements to modify the records to change the network configuration.
11 . The system of claim 10 , wherein the adding of the steering statements comprises adding the steering statements based on the first change type.
12 . The system of claim 11 , wherein the first change type includes information selected from a group of types comprising modification of existing data associated with the network configuration, addition of new data associated with the network configuration, creation of the network configuration, and deletion of the network configuration.
13 . The system of claim 10 , wherein the operations further comprise:
receiving input data, the input data comprising a description of the requested change to the network configuration, wherein the adding of the steering statements is based on the input data.
14 . The system of claim 10 , wherein the records are stored among a group of tables in a second repository, and wherein the steering statements define relationships between respective ones of the group of tables.
15 . The system of claim 10 , wherein the steering statements further comprise a sequence in which to execute the query statements and the change statements.
16 . A non-transitory machine-readable medium, comprising first executable instructions that, when executed by a processor, facilitate performance of operations, comprising:
receiving a requested change to a target network configuration, wherein the requested change to the target network configuration is of a first change type;
determining that the first change type absent from a maintained list of supported change types, and responsive to the determining, facilitating generation of steering statements for the first change type, wherein the generation comprises automatically deriving the steering statements based on contextual relationships to existing change types or accepting manual input defining the steering statements;
adding to a code repository according to a group of logical rules, the steering statements for the first change type, and wherein the steering statements comprise query statements and change statements, wherein the steering statements define relationships between multiple tables of a network configuration repository, including relationships between devices, locations, and neighboring components, and wherein the group of logical rules comprises a static rule set that is common to all change request implementations;
executing the query statements associated with the first change type to locate records; and
executing the change statements to modify the records to change the target network configuration.
17 . The non-transitory machine-readable medium of claim 16 , wherein the adding of the steering statements comprises adding the steering statements based on the first change type.
18 . The non-transitory machine-readable medium of claim 17 , wherein the first change type includes information selected from a group of types comprising modification of existing data associated with the target network configuration, addition of new data associated with the target network configuration, creation of the target network configuration, and deletion of the target network configuration.
19 . The non-transitory machine-readable medium of claim 16 , wherein the records are stored among tables in a configuration repository, and wherein the steering statements define relationships between respective ones of the tables.
20 . The non-transitory machine-readable medium of claim 16 , wherein the steering statements further comprise a sequence in which to execute the query statements and the change statements.