26. An apparatus comprising: a processor; one or more stored sequences of instructions which, when executed by the processor, cause the processor 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.
28. The apparatus of claim 26 , wherein the one or more YANG data model statements includes one of: a YANG module statement, a YANG grouping statement, a YANG uses statement, a YANG leaf statement declared as a YANG sub-statement of a YANG grouping statement, a YANG list statement declared as a YANG sub-statement of a YANG grouping statement, a YANG rpc statement declared as a YANG sub-statement of a YANG grouping statement, a YANG notification statement, a YANG container statement, or a YANG leaflist statement declared as a YANG sub-statement of a YANG grouping statement.