Commit bffa8c66 authored by Philip Makedonski's avatar Philip Makedonski
Browse files

+ updated and extended samples

parent c568bdfe
Loading
Loading
Loading
Loading
+467 −0
Original line number Diff line number Diff line
Package generated_from_ieee802_dot1q_bridge_yang {
    Type String
    Type TODO_RESOLVE_REFERENCED
    Use "ieee802-dot1q-bridge.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 extends string
    Type string extends string
    Type mac_address 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,
        enumeration entry_type,
        filtering_entry___port_map_collection port_map,
        enumeration status
    )
    Type vid_range_type extends string
    Type enumeration
    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
    )
    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
    Collection filtering_database___filtering_entry_collection of filtering_database___filtering_entry
    Structure filtering_database___vlan_registration_entry (
        uint32 database_id,
        vid_range_type vids,
        enumeration entry_type,
        vlan_registration_entry___port_map_collection port_map
    )
    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,
        enumeration 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,
        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 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,
        enumeration allocation_type
    )
    Collection bridge_vlan___vid_to_fid_allocation_collection of bridge_vlan___vid_to_fid_allocation
    Structure bridge_vlan___fid_to_vid_allocation (
        uint32 fid,
        enumeration allocation_type,
        vlan_index_type_collection vid
    )
    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,
        enumeration link_up_down_trap_enable,
        enumeration admin_status,
        enumeration 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
    Type date_and_time extends string
    Type int32 extends int32
    Type phys_address 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,
        enumeration 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
    )
    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
    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
    Collection interface_collection of interface
    Type interface_state_ref extends leafref
    Collection interface_state_ref_collection of interface_state_ref
}
 No newline at end of file
Loading