US 12,224,907 B2
Translation of a source intent policy model to a target intent policy model
Chandrasekhar A, Bengaluru (IN); Jayanthi R, Bangalore (IN); and Premchandar N, Bangalore (IN)
Assigned to Juniper Networks, Inc., Sunnyvale, CA (US)
Filed by Juniper Networks, Inc., Sunnyvale, CA (US)
Filed on Dec. 22, 2022, as Appl. No. 18/087,574.
Claims priority of application No. 202241052945 (IN), filed on Sep. 16, 2022.
Prior Publication US 2024/0097983 A1, Mar. 21, 2024
Int. Cl. G06F 15/173 (2006.01); H04L 41/0894 (2022.01)
CPC H04L 41/0894 (2022.05) 20 Claims
OG exemplary drawing
 
1. A method, comprising:
identifying, by a system, a source intent policy model that is associated with a first graph having a plurality of source nodes connected by a plurality of source edges,
wherein the source intent policy model is associated with cloud services for one or more network devices;
identifying, by the system, a set of source nodes of the plurality of source nodes;
translating, by the system, the set of source nodes to generate a set of target nodes,
wherein translating the set of source nodes comprises:
recursively traversing the set of source nodes to generate the set of target nodes,
wherein each source node of the set of source nodes corresponds to at least one target node of the set of target nodes;
identifying, by the system, a subset of target nodes, of the set of target nodes, that are not included in a target intent policy model that is associated with a second graph having a plurality of target nodes connected by a plurality of target edges,
wherein the target intent policy model is associated with on-device services of a network device of the one or more network devices;
determining, by the system, a hierarchical order associated with the subset of target nodes and the plurality of target nodes;
identifying and resolving by the system:
one or more conflicts between the subset of target nodes and the plurality of target nodes, or
one or more redundancies between the subset of target nodes and the plurality of target nodes; and
causing, by the system, the target intent policy model to be updated to include the subset of target nodes and the plurality of target nodes based on identifying and resolving the one or more conflicts or the one or more redundancies, such that the second graph is ordered according to the hierarchical order.