Package generated_from_ieee802_dot1q_pb_yang {
    Type String
    Type TODO_RESOLVE_REFERENCED
    Use "ieee802-dot1q-pb.yang" as SOURCE_MAPPING
    Structure bridge (
        name_type ^name,
        mac_address address,
        identityref bridge_type,
        uint16 ports,
        up_time up_time,
        uint32 components,
        bridge___component_collection ^component
    )
    Type name_type { pattern } extends string
    Type string { pattern } extends string
    Constraint pattern
    Type mac_address { pattern : "[0-9a-fA-F]{2}(-[0-9a-fA-F]{2}){5}" } extends string
    Type identityref
    Type uint16 extends uint16
    Type up_time extends zero_based_counter32
    Type zero_based_counter32
    Type uint32
    Structure bridge___component (
        string ^name,
        uint32 id,
        identityref ^type,
        mac_address address,
        traffic_class_enabled traffic_class_enabled,
        uint16 ports,
        @LeafRefPath : "/if:interfaces/if:interface/if:name"
        interface_ref_collection bridge_port,
        component___capabilities capabilities,
        component___filtering_database filtering_database,
        component___permanent_database permanent_database,
        component___bridge_vlan bridge_vlan,
        component___bridge_mst bridge_mst
    )
    Type traffic_class_enabled extends boolean
    Type boolean
    Type interface_ref extends leafref
    Type leafref
    Collection interface_ref_collection of interface_ref
    Annotation LeafRefPath
    Structure component___capabilities (
        extended_filtering extended_filtering,
        traffic_classes traffic_classes,
        static_entry_individual_port static_entry_individual_port,
        ivl_capable ivl_capable,
        svl_capable svl_capable,
        hybrid_capable hybrid_capable,
        configurable_pvid_tagging configurable_pvid_tagging,
        local_vlan_capable local_vlan_capable
    )
    Type extended_filtering extends boolean
    Type traffic_classes extends boolean
    Type static_entry_individual_port extends boolean
    Type ivl_capable extends boolean
    Type svl_capable extends boolean
    Type hybrid_capable extends boolean
    Type configurable_pvid_tagging extends boolean
    Type local_vlan_capable extends boolean
    Structure component___filtering_database (
        aging_time aging_time,
        gauge32 ^size,
        gauge32 static_entries,
        gauge32 dynamic_entries,
        gauge32 static_vlan_registration_entries,
        gauge32 dynamic_vlan_registration_entries,
        gauge32 mac_address_registration_entries,
        filtering_database___filtering_entry_collection filtering_entry,
        filtering_database___vlan_registration_entry_collection vlan_registration_entry
    )
    Type aging_time extends uint32
    Type gauge32 extends uint32
    Structure filtering_database___filtering_entry (
        uint32 database_id,
        mac_address address,
        vid_range_type vids,
        filtering_entry___entry_type entry_type,
        filtering_entry___port_map_collection port_map,
        filtering_entry___status status
    )
    Type vid_range_type { pattern : "([1-9][0-9]{0,3}(-[1-9][0-9]{0,3})?(,[1-9][0-9]{0,3}(-[1-9][0-9]{0,3})?)*)" } extends string
    Enumerated filtering_entry___entry_type {
        filtering_entry___entry_type static,
        filtering_entry___entry_type dynamic
    }
    Structure filtering_entry___port_map (
        port_number_type port_ref,
        port_map___map_type map_type
    )
    Type port_number_type extends uint32
    Structure port_map___map_type (
        map_type___static_filtering_entries static_filtering_entries,
        map_type___static_vlan_registration_entries static_vlan_registration_entries,
        map_type___mac_address_registration_entries mac_address_registration_entries,
        map_type___dynamic_vlan_registration_entries dynamic_vlan_registration_entries,
        map_type___dynamic_reservation_entries dynamic_reservation_entries,
        map_type___dynamic_filtering_entries dynamic_filtering_entries
    )
    Structure map_type___static_filtering_entries (
        static_filtering_entries___static_filtering_entries static_filtering_entries
    )
    Structure static_filtering_entries___static_filtering_entries (
        enumeration control_element,
        port_number_type connection_identifier
    )
    Type enumeration
    Structure map_type___static_vlan_registration_entries (
        static_vlan_registration_entries___static_vlan_registration_entries static_vlan_registration_entries
    )
    Structure static_vlan_registration_entries___static_vlan_registration_entries (
        enumeration registrar_admin_control,
        enumeration vlan_transmitted
    )
    Structure map_type___mac_address_registration_entries (
        mac_address_registration_entries___mac_address_registration_entries mac_address_registration_entries
    )
    Structure mac_address_registration_entries___mac_address_registration_entries (
        enumeration control_element
    )
    Structure map_type___dynamic_vlan_registration_entries (
        dynamic_vlan_registration_entries___dynamic_vlan_registration_entries dynamic_vlan_registration_entries
    )
    Structure dynamic_vlan_registration_entries___dynamic_vlan_registration_entries (
        enumeration control_element
    )
    Structure map_type___dynamic_reservation_entries (
        dynamic_reservation_entries___dynamic_reservation_entries dynamic_reservation_entries
    )
    Structure dynamic_reservation_entries___dynamic_reservation_entries (
        enumeration control_element
    )
    Structure map_type___dynamic_filtering_entries (
        dynamic_filtering_entries___dynamic_filtering_entries dynamic_filtering_entries
    )
    Structure dynamic_filtering_entries___dynamic_filtering_entries (
        enumeration control_element
    )
    Collection filtering_entry___port_map_collection of filtering_entry___port_map
    Enumerated filtering_entry___status {
        filtering_entry___status other,
        filtering_entry___status invalid,
        filtering_entry___status learned,
        filtering_entry___status self,
        filtering_entry___status mgmt
    }
    Collection filtering_database___filtering_entry_collection of filtering_database___filtering_entry
    Structure filtering_database___vlan_registration_entry (
        uint32 database_id,
        vid_range_type vids,
        vlan_registration_entry___entry_type entry_type,
        vlan_registration_entry___port_map_collection port_map
    )
    Enumerated vlan_registration_entry___entry_type {
        vlan_registration_entry___entry_type static,
        vlan_registration_entry___entry_type dynamic
    }
    Structure vlan_registration_entry___port_map (
        port_number_type port_ref,
        port_map___map_type map_type
    )
    Collection vlan_registration_entry___port_map_collection of vlan_registration_entry___port_map
    Collection filtering_database___vlan_registration_entry_collection of filtering_database___vlan_registration_entry
    Structure component___permanent_database (
        gauge32 ^size,
        gauge32 static_entries,
        gauge32 static_vlan_registration_entries,
        permanent_database___filtering_entry_collection filtering_entry
    )
    Structure permanent_database___filtering_entry (
        uint32 database_id,
        mac_address address,
        vid_range_type vids,
        filtering_entry___status status,
        filtering_entry___port_map_collection port_map
    )
    Collection permanent_database___filtering_entry_collection of permanent_database___filtering_entry
    Structure component___bridge_vlan (
        uint16 version,
        uint16 max_vids,
        override_default_pvid override_default_pvid,
        protocol_frame_format_type protocol_template,
        uint16 max_msti,
        bridge_vlan___vlan_collection vlan,
        bridge_vlan___protocol_group_database_collection protocol_group_database,
        bridge_vlan___vid_to_fid_allocation_collection vid_to_fid_allocation,
        bridge_vlan___fid_to_vid_allocation_collection fid_to_vid_allocation,
        bridge_vlan___vid_to_fid_collection vid_to_fid
    )
    Type override_default_pvid extends boolean
    Enumerated protocol_frame_format_type {
        protocol_frame_format_type Ethernet,
        protocol_frame_format_type rfc1042,
        protocol_frame_format_type snap8021H,
        protocol_frame_format_type snapOther,
        protocol_frame_format_type llcOther
    }
    Structure bridge_vlan___vlan (
        vlan_index_type vid,
        name_type ^name,
        @LeafRefPath : "/if:interfaces/if:interface/if:name"
        interface_ref_collection untagged_ports,
        @LeafRefPath : "/if:interfaces/if:interface/if:name"
        interface_ref_collection egress_ports
    )
    Type vlan_index_type extends uint32
    Collection bridge_vlan___vlan_collection of bridge_vlan___vlan
    Structure bridge_vlan___protocol_group_database (
        uint16 db_index,
        protocol_frame_format_type frame_format_type,
        protocol_group_database___frame_format frame_format,
        uint32 group_id
    )
    Structure protocol_group_database___frame_format (
        frame_format___ethernet_rfc1042_snap8021H ethernet_rfc1042_snap8021H,
        frame_format___snap_other snap_other,
        frame_format___llc_other llc_other
    )
    Structure frame_format___ethernet_rfc1042_snap8021H (
        ethertype_type ethertype
    )
    Type ethertype_type { pattern : "[0-9a-fA-F]{2}-[0-9a-fA-F]{2}" } extends string
    Structure frame_format___snap_other (
        string protocol_id
    )
    Structure frame_format___llc_other (
        llc_other___dsap_ssap_pairs dsap_ssap_pairs
    )
    Structure llc_other___dsap_ssap_pairs (
        string llc_address
    )
    Collection bridge_vlan___protocol_group_database_collection of bridge_vlan___protocol_group_database
    Structure bridge_vlan___vid_to_fid_allocation (
        vid_range_type vids,
        uint32 fid,
        vid_to_fid_allocation___allocation_type allocation_type
    )
    Enumerated vid_to_fid_allocation___allocation_type {
        vid_to_fid_allocation___allocation_type undefined,
        vid_to_fid_allocation___allocation_type fixed,
        vid_to_fid_allocation___allocation_type dynamic
    }
    Collection bridge_vlan___vid_to_fid_allocation_collection of bridge_vlan___vid_to_fid_allocation
    Structure bridge_vlan___fid_to_vid_allocation (
        uint32 fid,
        fid_to_vid_allocation___allocation_type allocation_type,
        vlan_index_type_collection vid
    )
    Enumerated fid_to_vid_allocation___allocation_type {
        fid_to_vid_allocation___allocation_type undefined,
        fid_to_vid_allocation___allocation_type fixed,
        fid_to_vid_allocation___allocation_type dynamic
    }
    Collection vlan_index_type_collection of vlan_index_type
    Collection bridge_vlan___fid_to_vid_allocation_collection of bridge_vlan___fid_to_vid_allocation
    Structure bridge_vlan___vid_to_fid (
        vlan_index_type vid,
        uint32 fid
    )
    Collection bridge_vlan___vid_to_fid_collection of bridge_vlan___vid_to_fid
    Structure component___bridge_mst (
        mstid_type_collection mstid,
        bridge_mst___fid_to_mstid_collection fid_to_mstid,
        bridge_mst___fid_to_mstid_allocation_collection fid_to_mstid_allocation
    )
    Type mstid_type extends uint32
    Collection mstid_type_collection of mstid_type
    Structure bridge_mst___fid_to_mstid (
        uint32 fid,
        mstid_type mstid
    )
    Collection bridge_mst___fid_to_mstid_collection of bridge_mst___fid_to_mstid
    Structure bridge_mst___fid_to_mstid_allocation (
        vid_range_type fids,
        mstid_type mstid
    )
    Collection bridge_mst___fid_to_mstid_allocation_collection of bridge_mst___fid_to_mstid_allocation
    Collection bridge___component_collection of bridge___component
    Collection bridge_collection of bridge
    Structure interface (
        string ^name,
        string description,
        identityref ^type,
        enabled enabled,
        interface___link_up_down_trap_enable link_up_down_trap_enable,
        interface___admin_status admin_status,
        interface___oper_status oper_status,
        date_and_time last_change,
        int32 if_index,
        phys_address phys_address,
        @LeafRefPath : "/if:interfaces-state/if:interface/if:name"
        interface_state_ref_collection higher_layer_if,
        @LeafRefPath : "/if:interfaces-state/if:interface/if:name"
        interface_state_ref_collection lower_layer_if,
        speed speed,
        interface___statistics statistics,
        interface___bridge_port bridge_port
    )
    Type enabled extends boolean
    Enumerated interface___link_up_down_trap_enable {
        interface___link_up_down_trap_enable enabled,
        interface___link_up_down_trap_enable disabled
    }
    Enumerated interface___admin_status {
        interface___admin_status up,
        interface___admin_status down,
        interface___admin_status testing
    }
    Enumerated interface___oper_status {
        interface___oper_status up,
        interface___oper_status down,
        interface___oper_status testing,
        interface___oper_status unknown,
        interface___oper_status dormant,
        interface___oper_status not_present,
        interface___oper_status lower_layer_down
    }
    Type date_and_time { pattern : "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(Z|[\\+\\-]\\d{2}:\\d{2})" } extends string
    Type int32 extends int32
    Type phys_address { pattern : "([0-9a-fA-F]{2}(:[0-9a-fA-F]{2})*)?" } extends string
    Type speed extends gauge64
    Type gauge64
    Structure interface___statistics (
        date_and_time discontinuity_time,
        counter64 in_octets,
        counter64 in_unicast_pkts,
        counter64 in_broadcast_pkts,
        counter64 in_multicast_pkts,
        counter32 in_discards,
        counter32 in_errors,
        counter32 in_unknown_protos,
        counter64 out_octets,
        counter64 out_unicast_pkts,
        counter64 out_broadcast_pkts,
        counter64 out_multicast_pkts,
        counter32 out_discards,
        counter32 out_errors
    )
    Type counter64 extends uint64
    Type uint64
    Type counter32 extends uint32
    Structure interface___bridge_port (
        @LeafRefPath : "/dot1q:bridges/dot1q:bridge/dot1q:name"
        leafref bridge_name,
        @LeafRefPath : "/dot1q:bridges/dot1q:bridge[dot1q:name=current()/../bridge-name]/dot1q:component/dot1q:name"
        leafref component_name,
        identityref port_type,
        pvid pvid,
        default_priority default_priority,
        bridge_port___priority_regeneration priority_regeneration,
        pcp_selection pcp_selection,
        bridge_port___pcp_decoding_map_collection pcp_decoding_table,
        bridge_port___pcp_encoding_map_collection pcp_encoding_table,
        use_dei use_dei,
        drop_encoding drop_encoding,
        service_access_priority_selection service_access_priority_selection,
        bridge_port___service_access_priority service_access_priority,
        bridge_port___traffic_class_map_collection traffic_class,
        bridge_port___transmission_selection_algorithm_map_collection transmission_selection_algorithm_table,
        acceptable_frame acceptable_frame,
        enable_ingress_filtering enable_ingress_filtering,
        enable_restricted_vlan_registration enable_restricted_vlan_registration,
        enable_vid_translation_table enable_vid_translation_table,
        enable_egress_vid_translation_table enable_egress_vid_translation_table,
        bridge_port___protocol_group_vid_set_collection protocol_group_vid_set,
        bridge_port___admin_point_to_point admin_point_to_point,
        boolean protocol_based_vlan_classification,
        uint16 max_vid_set_entries,
        port_number_type port_number,
        mac_address address,
        bits capabilities,
        bits type_capabilties,
        boolean external,
        boolean oper_point_to_point,
        media_dependent_overhead media_dependent_overhead,
        bridge_port___statistics statistics,
        bridge_port___vid_translations_collection vid_translations,
        bridge_port___egress_vid_translations_collection egress_vid_translations,
        vlanid svid,
        bridge_port___cvid_registration_collection cvid_registration,
        bridge_port___service_priority_regeneration_collection service_priority_regeneration,
        bridge_port___rcap_internal_interface_collection rcap_internal_interface
    )
    Type pvid extends vlan_index_type
    Type default_priority extends priority_type
    Type priority_type
    Structure bridge_port___priority_regeneration (
        priority0 priority0,
        priority1 priority1,
        priority2 priority2,
        priority3 priority3,
        priority4 priority4,
        priority5 priority5,
        priority6 priority6,
        priority7 priority7
    )
    Type priority0
    Type priority1
    Type priority2
    Type priority3
    Type priority4
    Type priority5
    Type priority6
    Type priority7
    Enumerated pcp_selection {
        pcp_selection _1P0D,
        pcp_selection _1P1D,
        pcp_selection _1P2D,
        pcp_selection _1P3D
    }
    Structure bridge_port___pcp_decoding_map (
        pcp_selection_type pcp,
        pcp_decoding_map___priority_map_collection priority_map
    )
    Type pcp_selection_type
    Structure pcp_decoding_map___priority_map (
        priority_type priority_code_point,
        priority_type priority,
        boolean drop_eligible
    )
    Collection pcp_decoding_map___priority_map_collection of pcp_decoding_map___priority_map
    Collection bridge_port___pcp_decoding_map_collection of bridge_port___pcp_decoding_map
    Structure bridge_port___pcp_encoding_map (
        pcp_selection_type pcp,
        pcp_encoding_map___priority_map_collection priority_map
    )
    Structure pcp_encoding_map___priority_map (
        priority_type priority,
        boolean dei,
        priority_type priority_code_point
    )
    Collection pcp_encoding_map___priority_map_collection of pcp_encoding_map___priority_map
    Collection bridge_port___pcp_encoding_map_collection of bridge_port___pcp_encoding_map
    Type use_dei extends boolean
    Type drop_encoding extends boolean
    Type service_access_priority_selection extends boolean
    Structure bridge_port___service_access_priority (
        priority0 priority0,
        priority1 priority1,
        priority2 priority2,
        priority3 priority3,
        priority4 priority4,
        priority5 priority5,
        priority6 priority6,
        priority7 priority7
    )
    Structure bridge_port___traffic_class_map (
        priority_type priority,
        traffic_class_map___available_traffic_class_collection available_traffic_class
    )
    Structure traffic_class_map___available_traffic_class (
        uint8 num_traffic_class,
        traffic_class_type traffic_class
    )
    Type uint8
    Type traffic_class_type
    Collection traffic_class_map___available_traffic_class_collection of traffic_class_map___available_traffic_class
    Collection bridge_port___traffic_class_map_collection of bridge_port___traffic_class_map
    Structure bridge_port___transmission_selection_algorithm_map (
        traffic_class_type traffic_class,
        identityref transmission_selection_algorithm
    )
    Collection bridge_port___transmission_selection_algorithm_map_collection of bridge_port___transmission_selection_algorithm_map
    Enumerated acceptable_frame {
        acceptable_frame admit_only_VLAN_tagged_frames,
        acceptable_frame admit_only_untagged_and_priority_tagged,
        acceptable_frame admit_all_frames
    }
    Type enable_ingress_filtering extends boolean
    Type enable_restricted_vlan_registration extends boolean
    Type enable_vid_translation_table extends boolean
    Type enable_egress_vid_translation_table extends boolean
    Structure bridge_port___protocol_group_vid_set (
        uint32 group_id,
        vlanid_collection vid
    )
    Type vlanid extends uint16
    Collection vlanid_collection of vlanid
    Collection bridge_port___protocol_group_vid_set_collection of bridge_port___protocol_group_vid_set
    Enumerated bridge_port___admin_point_to_point {
        bridge_port___admin_point_to_point force_true,
        bridge_port___admin_point_to_point force_false,
        bridge_port___admin_point_to_point auto
    }
    Type bits
    Type media_dependent_overhead extends uint8
    Structure bridge_port___statistics (
        counter64 discard_on_ingress_filtering,
        counter64 delay_exceeded_discards,
        counter64 mtu_exceeded_discards,
        counter64 frame_rx,
        counter64 octets_rx,
        counter64 frame_tx,
        counter64 octets_tx,
        counter64 discard_inbound,
        counter64 forward_outbound,
        counter64 discard_lack_of_buffers,
        counter64 discard_transit_delay_exceeded,
        counter64 discard_on_error
    )
    Structure bridge_port___vid_translations (
        vlanid local_vid,
        vlanid relay_vid
    )
    Collection bridge_port___vid_translations_collection of bridge_port___vid_translations
    Structure bridge_port___egress_vid_translations (
        vlanid relay_vid,
        vlanid local_vid
    )
    Collection bridge_port___egress_vid_translations_collection of bridge_port___egress_vid_translations
    Structure bridge_port___cvid_registration (
        vlanid cvid,
        vlanid svid,
        untagged_pep untagged_pep,
        untagged_cep untagged_cep
    )
    Type untagged_pep extends boolean
    Type untagged_cep extends boolean
    Collection bridge_port___cvid_registration_collection of bridge_port___cvid_registration
    Structure bridge_port___service_priority_regeneration (
        vlanid svid,
        service_priority_regeneration___priority_regeneration priority_regeneration
    )
    Structure service_priority_regeneration___priority_regeneration (
        priority0 priority0,
        priority1 priority1,
        priority2 priority2,
        priority3 priority3,
        priority4 priority4,
        priority5 priority5,
        priority6 priority6,
        priority7 priority7
    )
    Collection bridge_port___service_priority_regeneration_collection of bridge_port___service_priority_regeneration
    Structure bridge_port___rcap_internal_interface (
        vlanid external_svid,
        port_number_type internal_port_number,
        vlanid internal_svid,
        rcap_internal_interface___internal_interface_type internal_interface_type
    )
    Enumerated rcap_internal_interface___internal_interface_type {
        rcap_internal_interface___internal_interface_type port_based_rcsi,
        rcap_internal_interface___internal_interface_type c_tagged_rcsi,
        rcap_internal_interface___internal_interface_type pnp,
        rcap_internal_interface___internal_interface_type discard
    }
    Collection bridge_port___rcap_internal_interface_collection of bridge_port___rcap_internal_interface
    Collection interface_collection of interface
    Type interface_state_ref extends leafref
    Collection interface_state_ref_collection of interface_state_ref
}