Package generated_from_links_yang {
    Type String
    Type TODO_RESOLVE_REFERENCED
    Use "links.yang" as SOURCE_MAPPING
    Structure config (
        config___link_collection links,
        config___queueDiscipline_collection queueDisciplines,
        config___linkLimitation_collection linkLimitations,
        config___defaultLink defaultLink
    )
    Structure config___link (
        string ^name,
        link___flags flags,
        mac_address addr,
        mac_address brd,
        mtu mtu
    )
    Type string
    Structure link___flags (
        empty UP,
        empty NOARP,
        empty BROADCAST,
        empty MULTICAST,
        empty LOOPBACK,
        empty NOTRAILERS
    )
    Type empty
    Type mac_address extends string
    Type mtu extends uint32
    Type uint32
    Collection config___link_collection of config___link
    Structure config___queueDiscipline (
        @LeafRefPath : "/config/links/link/name"
        leafref linkName,
        QueueDisciplineType ^type,
        uint32 length
    )
    Type leafref
    Annotation LeafRefPath
    Enumerated QueueDisciplineType {
        QueueDisciplineType pfifo_fast,
        QueueDisciplineType noqueue,
        QueueDisciplineType noop,
        QueueDisciplineType htb
    }
    Collection config___queueDiscipline_collection of config___queueDiscipline
    Structure config___linkLimitation (
        @LeafRefPath : "/config/links/link/name"
        leafref linkName,
        linkLimitation___limitations limitations
    )
    Structure linkLimitation___limitations (
        only10Mbps only10Mbps,
        onlyHalfDuplex onlyHalfDuplex
    )
    Type only10Mbps extends boolean
    Type boolean
    Type onlyHalfDuplex extends boolean
    Collection config___linkLimitation_collection of config___linkLimitation
    Structure config___defaultLink (
        @LeafRefPath : "/config/links/link/name"
        leafref linkName
    )
}