• In the last lesson, you saw that a device API returns structured data.
    Your script and the router must agree on this structure.

    is a language that describes the data of a device.
    A data model gives the names, the types, and the structure of this data.

    The automation server and the router R1, which runs Cisco IOS XE, exchange data that follows the same YANG model on both sides

    Figure 1 - The Script and the Router Follow the Same Model

    Your script works with a data model, not with CLI commands.
    This is called model-driven programmability.

    In this lesson, you use the model ietf-interfaces.
    It describes the interfaces of a device.

    Answer the question below

    Which language describes the data of a device?