Reversible yang-based translators
AssigneeJuniper Networks, Inc.
InventorsNirmal Anburose, Chandrasekhar A
Life of this patent
Estimating the term…
Abstract
In general, techniques are described for generating reversible mappings for management systems. The management system may include an interface and a processor. The interface may communicatively couple the management system to network devices. The processor may generate a data structure that represents each expression of a forward mapping as a separate node of the data structure. The processor may also translate one or more of the expressions represented as the separate nodes in the data structure to corresponding one or more negated expressions so as to form a reverse mapping. Further, the processor may apply the reverse mapping to the low-level configuration of the first network device to obtain the high-level configuration.
Claims20
A method performed by a network management system (NMS) device that manages a plurality of network devices, the method comprising:
- generating a data structure that represents each expression of a forward mapping as a separate node of the data structure, the forward mapping configured to translate a high-level configuration to a low-level configuration of a first network device of the plurality of network devices;
- translating one or more of the expressions represented as the separate nodes in the data structure to corresponding one or more negated expressions so as to form a reverse mapping, the reverse mapping configured to translate the low-level configuration of the first network device to the high-level configuration;
- and
- applying the reverse mapping to the low-level configuration of the first network device to obtain the high-level configuration.
A network management system (NMS) device that manages a plurality of network devices, the NMS device comprising:
- one or more interfaces to communicatively couple the NMS device to the plurality of network devices;
- and
- a processor, implemented using circuitry, configured to:
- generate a data structure that represents each expression of a forward mapping as a separate node of the data structure, the forward mapping configured to translate a high-level configuration to a low-level configuration of a first network device of the plurality of network devices;
- translate one or more of the expressions represented as the separate nodes in the data structure to corresponding one or more negated expressions so as to form a reverse mapping, the reverse mapping configured to translate the low-level configuration of the first network device to the high-level configuration;
- and
- apply the reverse mapping to the low-level configuration of the first network device to obtain the high-level configuration.
A non-transitory computer-readable medium having stored thereon instructions that, when executed, cause one or more processors to:
- generate a data structure that represents each expression of a forward mapping as a separate node of the data structure, the forward mapping configured to translate a high-level configuration to a low-level configuration of a first network device of the plurality of network devices;
- translate one or more of the expressions represented as the separate nodes in the data structure to corresponding one or more negated expressions so as to form a reverse mapping,
- the reverse mapping configured to translate the low-level configuration of the first network device to the high-level configuration;
- and
- apply the reverse mapping to the low-level configuration of the first network device to obtain the high-level configuration.
Dependencies are inferred from the claim text.