1. A method implemented in a computer having a processor and memory, the method comprising: 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.