14. A non-transitory computer-readable medium storing instructions, which, when executed by one or more processors, cause the one or more processors to perform: identifying first data representing an object-oriented data model, which comprises a plurality of object-oriented data model constructs for modeling object-oriented classes; wherein identifying the first data comprises identifying the first data amongst data representing an object-oriented data model; translating the first data to second data, which represents one or more YANG data model statements, but which is not extensible markup language data and which does not comprise constructs for modeling the object-oriented classes; wherein the one or more YANG data model statements capture relationships between the object-oriented data model constructs; wherein each YANG statement of the one or more YANG data model statements represented by the second data comprises a YANG keyword, which is followed by zero or more arguments, which is followed by either a semicolon or a block of YANG sub-statements enclosed within braces; and storing the second data in one or more non-transitory computer-readable media; wherein storing the second data comprises storing the second data as part of data representing a YANG data model.
14. A non-transitory computer-readable medium storing instructions, which, when executed by one or more processors, cause the one or more processors to perform: identifying first data representing an object-oriented data model, which comprises a plurality of object-oriented data model constructs for modeling object-oriented classes; wherein identifying the first data comprises identifying the first data amongst data representing an object-oriented data model; translating the first data to second data, which represents one or more YANG data model statements, but which is not extensible markup language data and which does not comprise constructs for modeling the object-oriented classes; wherein the one or more YANG data model statements capture relationships between the object-oriented data model constructs; wherein each YANG statement of the one or more YANG data model statements represented by the second data comprises a YANG keyword, which is followed by zero or more arguments, which is followed by either a semicolon or a block of YANG sub-statements enclosed within braces; and storing the second data in one or more non-transitory computer-readable media; wherein storing the second data comprises storing the second data as part of data representing a YANG data model. 15. The non-transitory computer-readable medium of claim 14 , wherein an object-oriented data model construct, from the plurality of object-oriented data model constructs, is one of: an object-oriented package definition, an object-oriented class definition, a definition of object-oriented inheritance between two object-oriented classes, a declaration of a primitive type object-oriented class instance variable of an object-oriented class, a declaration of a complex type object-oriented class instance variable of an object-oriented class, a declaration of an object-oriented class instance method of an object-oriented class, a definition of an event, or a definition of a containment relationship between two object-oriented classes.