CPC H04L 41/0809 (2013.01) [G06F 16/2379 (2019.01); H04L 41/20 (2013.01)] | 17 Claims |
1. A method comprising:
in response to receiving a request to initiate a function, determining whether the function is to be reused or replicated;
in response to determining that the function is to be reused, calling a container network interface (CNI) plugin comprising a set of operations for reusing and replicating network configurations, wherein the CNI plugin is called with a first operation of the set of operations to:
create a network configuration for the function; and
persist the network configuration in a database for reuse; and
in response to determining that the function is to be replicated, calling the CNI plugin with a second operation of the set of operations to:
create the network configuration for the function;
generate a template of the network configuration; and
store the template in the database, wherein the template comprises a predefined set of operations that are independent of a compute node on which the predefined set of operations are to execute, and wherein the predefined set of operations generate the network configuration in response to receiving as an input variable, the compute node on which the predefined set of operations are to execute.
|