blob: bfdf74311a8216499dc0fe47d273daa3c05d6fd4 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<grammar xmlns:voltha="urn:opencord:params:xml:ns:voltha:voltha" xmlns="http://relaxng.org/ns/structure/1.0" xmlns:nma="urn:ietf:params:xml:ns:netmod:dsdl-annotations:1" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"><define name="voltha___ofp_oxm_ofb_field__rpc"><optional><element name="type"><ref name="voltha__oxm_ofb_field_types"/></element></optional><optional><element name="has_mask"><choice><value>true</value><value>false</value></choice></element></optional><optional><choice><group><element name="port"><data type="unsignedInt"/></element></group><group><element name="physical_port"><data type="unsignedInt"/></element></group><group><element name="table_metadata"><data type="unsignedLong"/></element></group><group><element name="eth_dst"><data type="base64Binary"/></element></group><group><element name="eth_src"><data type="base64Binary"/></element></group><group><element name="eth_type"><data type="unsignedInt"/></element></group><group><element name="vlan_vid"><data type="unsignedInt"/></element></group><group><element name="vlan_pcp"><data type="unsignedInt"/></element></group><group><element name="ip_dscp"><data type="unsignedInt"/></element></group><group><element name="ip_ecn"><data type="unsignedInt"/></element></group><group><element name="ip_proto"><data type="unsignedInt"/></element></group><group><element name="ipv4_src"><data type="unsignedInt"/></element></group><group><element name="ipv4_dst"><data type="unsignedInt"/></element></group><group><element name="tcp_src"><data type="unsignedInt"/></element></group><group><element name="tcp_dst"><data type="unsignedInt"/></element></group><group><element name="udp_src"><data type="unsignedInt"/></element></group><group><element name="udp_dst"><data type="unsignedInt"/></element></group><group><element name="sctp_src"><data type="unsignedInt"/></element></group><group><element name="sctp_dst"><data type="unsignedInt"/></element></group><group><element name="icmpv4_type"><data type="unsignedInt"/></element></group><group><element name="icmpv4_code"><data type="unsignedInt"/></element></group><group><element name="arp_op"><data type="unsignedInt"/></element></group><group><element name="arp_spa"><data type="unsignedInt"/></element></group><group><element name="arp_tpa"><data type="unsignedInt"/></element></group><group><element name="arp_sha"><data type="base64Binary"/></element></group><group><element name="arp_tha"><data type="base64Binary"/></element></group><group><element name="ipv6_src"><data type="base64Binary"/></element></group><group><element name="ipv6_dst"><data type="base64Binary"/></element></group><group><element name="ipv6_flabel"><data type="unsignedInt"/></element></group><group><element name="icmpv6_type"><data type="unsignedInt"/></element></group><group><element name="icmpv6_code"><data type="unsignedInt"/></element></group><group><element name="ipv6_nd_target"><data type="base64Binary"/></element></group><group><element name="ipv6_nd_ssl"><data type="base64Binary"/></element></group><group><element name="ipv6_nd_tll"><data type="base64Binary"/></element></group><group><element name="mpls_label"><data type="unsignedInt"/></element></group><group><element name="mpls_tc"><data type="unsignedInt"/></element></group><group><element name="mpls_bos"><data type="unsignedInt"/></element></group><group><element name="pbb_isid"><data type="unsignedInt"/></element></group><group><element name="tunnel_id"><data type="unsignedLong"/></element></group><group><element name="ipv6_exthdr"><data type="unsignedInt"/></element></group></choice></optional><optional><choice><group><element name="table_metadata_mask"><data type="unsignedLong"/></element></group><group><element name="eth_dst_mask"><data type="base64Binary"/></element></group><group><element name="eth_src_mask"><data type="base64Binary"/></element></group><group><element name="vlan_vid_mask"><data type="unsignedInt"/></element></group><group><element name="ipv4_src_mask"><data type="unsignedInt"/></element></group><group><element name="ipv4_dst_mask"><data type="unsignedInt"/></element></group><group><element name="arp_spa_mask"><data type="unsignedInt"/></element></group><group><element name="arp_tpa_mask"><data type="unsignedInt"/></element></group><group><element name="ipv6_src_mask"><data type="base64Binary"/></element></group><group><element name="ipv6_dst_mask"><data type="base64Binary"/></element></group><group><element name="ipv6_flabel_mask"><data type="unsignedInt"/></element></group><group><element name="pbb_isid_mask"><data type="unsignedInt"/></element></group><group><element name="tunnel_id_mask"><data type="unsignedLong"/></element></group><group><element name="ipv6_exthdr_mask"><data type="unsignedInt"/></element></group></choice></optional></define><define name="voltha__PortType"><choice><value>UNKNOWN</value><value>ETHERNET_NNI</value><value>ETHERNET_UNI</value><value>PON_OLT</value><value>PON_ONU</value></choice></define><define name="voltha___VolthaInstance_grouping__rpc"><optional><element name="instance_id"><data type="string"/></element></optional><optional><element name="version"><data type="string"/></element></optional><optional><element name="log_level"><ref name="voltha__LogLevel"/></element></optional><optional><element name="health"><ref name="voltha___HealthStatus__rpc"/></element></optional><zeroOrMore><element name="adapters"><element name="id"><data type="string"/></element><optional><element name="vendor"><data type="string"/></element></optional><optional><element name="version"><data type="string"/></element></optional><optional><element name="config"><ref name="voltha___AdapterConfig__rpc"/></element></optional><optional><element name="additional_description"><ref name="voltha___Any__rpc"/></element></optional><zeroOrMore><element name="logical_device_ids"><element name="logical_device_ids"><data type="string"/></element><empty/></element></zeroOrMore></element></zeroOrMore><zeroOrMore><element name="logical_devices"><element name="id"><data type="string"/></element><optional><element name="datapath_id"><data type="unsignedLong"/></element></optional><optional><element name="desc"><ref name="voltha___ofp_desc__rpc"/></element></optional><optional><element name="switch_features"><ref name="voltha___ofp_switch_features__rpc"/></element></optional><optional><element name="root_device_id"><data type="string"/></element></optional><zeroOrMore><element name="ports"><element name="id"><data type="string"/></element><optional><element name="ofp_port"><ref name="voltha___ofp_port__rpc"/></element></optional><optional><element name="device_id"><data type="string"/></element></optional><optional><element name="device_port_no"><data type="unsignedInt"/></element></optional><optional><element name="root_port"><choice><value>true</value><value>false</value></choice></element></optional></element></zeroOrMore><optional><element name="flows"><ref name="voltha___Flows__rpc"/></element></optional><optional><element name="flow_groups"><ref name="voltha___FlowGroups__rpc"/></element></optional></element></zeroOrMore><zeroOrMore><element name="devices"><element name="id"><data type="string"/></element><optional><element name="type"><data type="string"/></element></optional><optional><element name="root"><choice><value>true</value><value>false</value></choice></element></optional><optional><element name="parent_id"><data type="string"/></element></optional><optional><element name="parent_port_no"><data type="unsignedInt"/></element></optional><optional><element name="vendor"><data type="string"/></element></optional><optional><element name="model"><data type="string"/></element></optional><optional><element name="hardware_version"><data type="string"/></element></optional><optional><element name="firmware_version"><data type="string"/></element></optional><optional><element name="software_version"><data type="string"/></element></optional><optional><element name="serial_number"><data type="string"/></element></optional><optional><element name="adapter"><data type="string"/></element></optional><optional><element name="vlan"><data type="unsignedInt"/></element></optional><optional><element name="proxy_address"><ref name="voltha___ProxyAddress__rpc"/></element></optional><optional><element name="admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="reason"><data type="string"/></element></optional><optional><element name="connect_status"><ref name="voltha__ConnectStatus"/></element></optional><optional><element name="custom"><ref name="voltha___Any__rpc"/></element></optional><zeroOrMore><element name="ports"><element name="port_no"><data type="unsignedInt"/></element><optional><element name="label"><data type="string"/></element></optional><optional><element name="type"><ref name="voltha__PortType"/></element></optional><optional><element name="admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="device_id"><data type="string"/></element></optional><zeroOrMore><element name="peers"><element name="device_id"><data type="string"/></element><optional><element name="port_no"><data type="unsignedInt"/></element></optional></element></zeroOrMore></element></zeroOrMore><optional><element name="flows"><ref name="voltha___Flows__rpc"/></element></optional><optional><element name="flow_groups"><ref name="voltha___FlowGroups__rpc"/></element></optional><optional><element name="pm_configs"><ref name="voltha___PmConfigs__rpc"/></element></optional><optional><choice><group><element name="mac_address"><data type="string"/></element></group><group><element name="ipv4_address"><data type="string"/></element></group><group><element name="ipv6_address"><data type="string"/></element></group><group><element name="host_and_port"><data type="string"/></element></group></choice></optional></element></zeroOrMore><zeroOrMore><element name="device_types"><element name="id"><data type="string"/></element><optional><element name="adapter"><data type="string"/></element></optional><optional><element name="accepts_bulk_flow_update"><choice><value>true</value><value>false</value></choice></element></optional><optional><element name="accepts_add_remove_flow_updates"><choice><value>true</value><value>false</value></choice></element></optional></element></zeroOrMore><zeroOrMore><element name="device_groups"><element name="id"><data type="string"/></element><zeroOrMore><element name="logical_devices"><element name="id"><data type="string"/></element><optional><element name="datapath_id"><data type="unsignedLong"/></element></optional><optional><element name="desc"><ref name="voltha___ofp_desc__rpc"/></element></optional><optional><element name="switch_features"><ref name="voltha___ofp_switch_features__rpc"/></element></optional><optional><element name="root_device_id"><data type="string"/></element></optional><zeroOrMore><element name="ports"><element name="id"><data type="string"/></element><optional><element name="ofp_port"><ref name="voltha___ofp_port__rpc"/></element></optional><optional><element name="device_id"><data type="string"/></element></optional><optional><element name="device_port_no"><data type="unsignedInt"/></element></optional><optional><element name="root_port"><choice><value>true</value><value>false</value></choice></element></optional></element></zeroOrMore><optional><element name="flows"><ref name="voltha___Flows__rpc"/></element></optional><optional><element name="flow_groups"><ref name="voltha___FlowGroups__rpc"/></element></optional></element></zeroOrMore><zeroOrMore><element name="devices"><element name="id"><data type="string"/></element><optional><element name="type"><data type="string"/></element></optional><optional><element name="root"><choice><value>true</value><value>false</value></choice></element></optional><optional><element name="parent_id"><data type="string"/></element></optional><optional><element name="parent_port_no"><data type="unsignedInt"/></element></optional><optional><element name="vendor"><data type="string"/></element></optional><optional><element name="model"><data type="string"/></element></optional><optional><element name="hardware_version"><data type="string"/></element></optional><optional><element name="firmware_version"><data type="string"/></element></optional><optional><element name="software_version"><data type="string"/></element></optional><optional><element name="serial_number"><data type="string"/></element></optional><optional><element name="adapter"><data type="string"/></element></optional><optional><element name="vlan"><data type="unsignedInt"/></element></optional><optional><element name="proxy_address"><ref name="voltha___ProxyAddress__rpc"/></element></optional><optional><element name="admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="reason"><data type="string"/></element></optional><optional><element name="connect_status"><ref name="voltha__ConnectStatus"/></element></optional><optional><element name="custom"><ref name="voltha___Any__rpc"/></element></optional><zeroOrMore><element name="ports"><element name="port_no"><data type="unsignedInt"/></element><optional><element name="label"><data type="string"/></element></optional><optional><element name="type"><ref name="voltha__PortType"/></element></optional><optional><element name="admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="device_id"><data type="string"/></element></optional><zeroOrMore><element name="peers"><element name="device_id"><data type="string"/></element><optional><element name="port_no"><data type="unsignedInt"/></element></optional></element></zeroOrMore></element></zeroOrMore><optional><element name="flows"><ref name="voltha___Flows__rpc"/></element></optional><optional><element name="flow_groups"><ref name="voltha___FlowGroups__rpc"/></element></optional><optional><element name="pm_configs"><ref name="voltha___PmConfigs__rpc"/></element></optional><optional><choice><group><element name="mac_address"><data type="string"/></element></group><group><element name="ipv4_address"><data type="string"/></element></group><group><element name="ipv6_address"><data type="string"/></element></group><group><element name="host_and_port"><data type="string"/></element></group></choice></optional></element></zeroOrMore></element></zeroOrMore><zeroOrMore><element name="alarm_filters"><element name="id"><data type="string"/></element><zeroOrMore><element name="rules"><element name="key"><ref name="voltha__AlarmFilterRuleKey"/></element><optional><element name="value"><data type="string"/></element></optional></element></zeroOrMore></element></zeroOrMore></define><define name="voltha___HealthStatus__HealthState"><choice><value>HEALTHY</value><value>OVERLOADED</value><value>DYING</value></choice></define><define name="voltha___PacketIn__rpc"><optional><element name="id"><data type="string"/></element></optional><optional><element name="packet_in"><ref name="voltha___ofp_packet_in__rpc"/></element></optional></define><define name="voltha___ofp_table_feature_prop_oxm"><zeroOrMore><element name="oxm_ids"><element name="oxm_ids"><data type="unsignedInt"/></element><empty/></element></zeroOrMore></define><define name="voltha__ofp_action_type"><choice><value>OFPAT_OUTPUT</value><value>OFPAT_COPY_TTL_OUT</value><value>OFPAT_COPY_TTL_IN</value><value>OFPAT_SET_MPLS_TTL</value><value>OFPAT_DEC_MPLS_TTL</value><value>OFPAT_PUSH_VLAN</value><value>OFPAT_POP_VLAN</value><value>OFPAT_PUSH_MPLS</value><value>OFPAT_POP_MPLS</value><value>OFPAT_SET_QUEUE</value><value>OFPAT_GROUP</value><value>OFPAT_SET_NW_TTL</value><value>OFPAT_DEC_NW_TTL</value><value>OFPAT_SET_FIELD</value><value>OFPAT_PUSH_PBB</value><value>OFPAT_POP_PBB</value><value>OFPAT_EXPERIMENTER</value></choice></define><define name="voltha__AdminState"><choice><value>UNKNOWN</value><value>PREPROVISIONED</value><value>ENABLED</value><value>DISABLED</value></choice></define><define name="voltha___ofp_port__rpc"><optional><element name="port_no"><data type="unsignedInt"/></element></optional><zeroOrMore><element name="hw_addr"><element name="hw_addr"><data type="unsignedInt"/></element><empty/></element></zeroOrMore><optional><element name="name"><data type="string"/></element></optional><optional><element name="config"><data type="unsignedInt"/></element></optional><optional><element name="state"><data type="unsignedInt"/></element></optional><optional><element name="curr"><data type="unsignedInt"/></element></optional><optional><element name="advertised"><data type="unsignedInt"/></element></optional><optional><element name="supported"><data type="unsignedInt"/></element></optional><optional><element name="peer"><data type="unsignedInt"/></element></optional><optional><element name="curr_speed"><data type="unsignedInt"/></element></optional><optional><element name="max_speed"><data type="unsignedInt"/></element></optional></define><define name="voltha___LogicalPorts__rpc"><zeroOrMore><element name="items"><element name="id"><data type="string"/></element><optional><element name="ofp_port"><ref name="voltha___ofp_port__rpc"/></element></optional><optional><element name="device_id"><data type="string"/></element></optional><optional><element name="device_port_no"><data type="unsignedInt"/></element></optional><optional><element name="root_port"><choice><value>true</value><value>false</value></choice></element></optional></element></zeroOrMore></define><define name="voltha___PacketOut__rpc"><optional><element name="id"><data type="string"/></element></optional><optional><element name="packet_out"><ref name="voltha___ofp_packet_out__rpc"/></element></optional></define><define name="voltha__ofp_hello_elem_type"><choice><value>OFPHET_INVALID</value><value>OFPHET_VERSIONBITMAP</value></choice></define><define name="voltha__ofp_match_type"><choice><value>OFPMT_STANDARD</value><value>OFPMT_OXM</value></choice></define><define name="voltha__ofp_packet_in_reason"><choice><value>OFPR_NO_MATCH</value><value>OFPR_ACTION</value><value>OFPR_INVALID_TTL</value></choice></define><define name="voltha___ofp_instruction_experimenter"><interleave><optional><element name="experimenter"><data type="unsignedInt"/></element></optional><optional><element name="data"><data type="base64Binary"/></element></optional></interleave></define><define name="voltha___FlowGroupTableUpdate__rpc"><optional><element name="id"><data type="string"/></element></optional><optional><element name="group_mod"><ref name="voltha___ofp_group_mod__rpc"/></element></optional></define><define name="voltha___ofp_packet_in__rpc"><optional><element name="buffer_id"><data type="unsignedInt"/></element></optional><optional><element name="reason"><ref name="voltha__ofp_packet_in_reason"/></element></optional><optional><element name="table_id"><data type="unsignedInt"/></element></optional><optional><element name="cookie"><data type="unsignedLong"/></element></optional><optional><element name="match"><ref name="voltha___ofp_match__rpc"/></element></optional><optional><element name="data"><data type="base64Binary"/></element></optional></define><define name="voltha___ProxyAddress"><interleave><optional><element name="device_id"><data type="string"/></element></optional><optional><element name="channel_id"><data type="unsignedInt"/></element></optional><optional><element name="onu_id"><data type="unsignedInt"/></element></optional><optional><element name="onu_session_id"><data type="unsignedInt"/></element></optional></interleave></define><define name="voltha___ofp_action_mpls_ttl__rpc"><optional><element name="mpls_ttl"><data type="unsignedInt"/></element></optional></define><define name="voltha___ofp_instruction_write_metadata__rpc"><optional><element name="metadata"><data type="unsignedLong"/></element></optional><optional><element name="metadata_mask"><data type="unsignedLong"/></element></optional></define><define name="voltha___Any__rpc"><optional><element name="type_url"><data type="string"/></element></optional><optional><element name="value"><data type="base64Binary"/></element></optional></define><define name="voltha___ofp_group_stats"><interleave><optional><element name="group_id"><data type="unsignedInt"/></element></optional><optional><element name="ref_count"><data type="unsignedInt"/></element></optional><optional><element name="packet_count"><data type="unsignedLong"/></element></optional><optional><element name="byte_count"><data type="unsignedLong"/></element></optional><optional><element name="duration_sec"><data type="unsignedInt"/></element></optional><optional><element name="duration_nsec"><data type="unsignedInt"/></element></optional><zeroOrMore><element name="bucket_stats"><element name="packet_count"><data type="unsignedLong"/></element><optional><element name="byte_count"><data type="unsignedLong"/></element></optional></element></zeroOrMore></interleave></define><define name="voltha__ofp_port_reason"><choice><value>OFPPR_ADD</value><value>OFPPR_DELETE</value><value>OFPPR_MODIFY</value></choice></define><define name="voltha___ofp_action_group"><optional><element name="group_id"><data type="unsignedInt"/></element></optional></define><define name="voltha___VolthaInstances_grouping__rpc"><zeroOrMore><element name="items"><element name="items"><data type="string"/></element><empty/></element></zeroOrMore></define><define name="voltha___ofp_oxm_field__rpc"><optional><element name="oxm_class"><ref name="voltha__ofp_oxm_class"/></element></optional><optional><choice><group><element name="ofb_field"><ref name="voltha___ofp_oxm_ofb_field__rpc"/></element></group><group><element name="experimenter_field"><ref name="voltha___ofp_oxm_experimenter_field__rpc"/></element></group></choice></optional></define><define name="voltha___ofp_hello_elem_versionbitmap"><zeroOrMore><element name="bitmaps"><element name="bitmaps"><data type="unsignedInt"/></element><empty/></element></zeroOrMore></define><define name="voltha___ofp_action_push"><optional><element name="ethertype"><data type="unsignedInt"/></element></optional></define><define name="voltha__AlarmFilterRuleKey"><choice><value>id</value><value>type</value><value>severity</value><value>resource_id</value><value>category</value><value>device_id</value></choice></define><define name="voltha___ofp_desc"><interleave><optional><element name="mfr_desc"><data type="string"/></element></optional><optional><element name="hw_desc"><data type="string"/></element></optional><optional><element name="sw_desc"><data type="string"/></element></optional><optional><element name="serial_num"><data type="string"/></element></optional><optional><element name="dp_desc"><data type="string"/></element></optional></interleave></define><define name="voltha__ofp_group_type"><choice><value>OFPGT_ALL</value><value>OFPGT_SELECT</value><value>OFPGT_INDIRECT</value><value>OFPGT_FF</value></choice></define><define name="voltha___AdapterConfig"><interleave><optional><element name="log_level"><ref name="voltha__LogLevel"/></element></optional><optional><element name="additional_config"><ref name="voltha___Any"/></element></optional></interleave></define><define name="voltha___ChangeEvent__rpc"><optional><element name="id"><data type="string"/></element></optional><optional><choice><group><element name="port_status"><ref name="voltha___ofp_port_status__rpc"/></element></group></choice></optional></define><define name="voltha___ofp_action_output"><interleave><optional><element name="port"><data type="unsignedInt"/></element></optional><optional><element name="max_len"><data type="unsignedInt"/></element></optional></interleave></define><define name="voltha___ofp_group_stats__rpc"><optional><element name="group_id"><data type="unsignedInt"/></element></optional><optional><element name="ref_count"><data type="unsignedInt"/></element></optional><optional><element name="packet_count"><data type="unsignedLong"/></element></optional><optional><element name="byte_count"><data type="unsignedLong"/></element></optional><optional><element name="duration_sec"><data type="unsignedInt"/></element></optional><optional><element name="duration_nsec"><data type="unsignedInt"/></element></optional><zeroOrMore><element name="bucket_stats"><element name="packet_count"><data type="unsignedLong"/></element><optional><element name="byte_count"><data type="unsignedLong"/></element></optional></element></zeroOrMore></define><define name="voltha__ofp_flow_mod_command"><choice><value>OFPFC_ADD</value><value>OFPFC_MODIFY</value><value>OFPFC_MODIFY_STRICT</value><value>OFPFC_DELETE</value><value>OFPFC_DELETE_STRICT</value></choice></define><define name="voltha___ofp_desc__rpc"><optional><element name="mfr_desc"><data type="string"/></element></optional><optional><element name="hw_desc"><data type="string"/></element></optional><optional><element name="sw_desc"><data type="string"/></element></optional><optional><element name="serial_num"><data type="string"/></element></optional><optional><element name="dp_desc"><data type="string"/></element></optional></define><define name="voltha___Flows__rpc"><zeroOrMore><element name="items"><element name="id"><data type="unsignedLong"/></element><optional><element name="table_id"><data type="unsignedInt"/></element></optional><optional><element name="duration_sec"><data type="unsignedInt"/></element></optional><optional><element name="duration_nsec"><data type="unsignedInt"/></element></optional><optional><element name="priority"><data type="unsignedInt"/></element></optional><optional><element name="idle_timeout"><data type="unsignedInt"/></element></optional><optional><element name="hard_timeout"><data type="unsignedInt"/></element></optional><optional><element name="flags"><data type="unsignedInt"/></element></optional><optional><element name="cookie"><data type="unsignedLong"/></element></optional><optional><element name="packet_count"><data type="unsignedLong"/></element></optional><optional><element name="byte_count"><data type="unsignedLong"/></element></optional><optional><element name="match"><ref name="voltha___ofp_match__rpc"/></element></optional><zeroOrMore><element name="instructions"><element name="type"><data type="unsignedInt"/></element><optional><choice><group><element name="goto_table"><ref name="voltha___ofp_instruction_goto_table__rpc"/></element></group><group><element name="write_metadata"><ref name="voltha___ofp_instruction_write_metadata__rpc"/></element></group><group><element name="actions"><ref name="voltha___ofp_instruction_actions__rpc"/></element></group><group><element name="meter"><ref name="voltha___ofp_instruction_meter__rpc"/></element></group><group><element name="experimenter"><ref name="voltha___ofp_instruction_experimenter__rpc"/></element></group></choice></optional></element></zeroOrMore></element></zeroOrMore></define><define name="voltha___Any"><interleave><optional><element name="type_url"><data type="string"/></element></optional><optional><element name="value"><data type="base64Binary"/></element></optional></interleave></define><define name="voltha___Flows"><zeroOrMore><element name="items"><element name="id"><data type="unsignedLong"/></element><interleave><optional><element name="table_id"><data type="unsignedInt"/></element></optional><optional><element name="duration_sec"><data type="unsignedInt"/></element></optional><optional><element name="duration_nsec"><data type="unsignedInt"/></element></optional><optional><element name="priority"><data type="unsignedInt"/></element></optional><optional><element name="idle_timeout"><data type="unsignedInt"/></element></optional><optional><element name="hard_timeout"><data type="unsignedInt"/></element></optional><optional><element name="flags"><data type="unsignedInt"/></element></optional><optional><element name="cookie"><data type="unsignedLong"/></element></optional><optional><element name="packet_count"><data type="unsignedLong"/></element></optional><optional><element name="byte_count"><data type="unsignedLong"/></element></optional><optional><element name="match"><ref name="voltha___ofp_match"/></element></optional><zeroOrMore><element name="instructions"><element name="type"><data type="unsignedInt"/></element><optional><choice><group><element name="goto_table"><ref name="voltha___ofp_instruction_goto_table"/></element></group><group><element name="write_metadata"><ref name="voltha___ofp_instruction_write_metadata"/></element></group><group><element name="actions"><ref name="voltha___ofp_instruction_actions"/></element></group><group><element name="meter"><ref name="voltha___ofp_instruction_meter"/></element></group><group><element name="experimenter"><ref name="voltha___ofp_instruction_experimenter"/></element></group></choice></optional></element></zeroOrMore></interleave></element></zeroOrMore></define><define name="voltha___ofp_action_experimenter__rpc"><optional><element name="experimenter"><data type="unsignedInt"/></element></optional><optional><element name="data"><data type="base64Binary"/></element></optional></define><define name="voltha___ofp_action_nw_ttl__rpc"><optional><element name="nw_ttl"><data type="unsignedInt"/></element></optional></define><define name="voltha___ofp_match"><interleave><optional><element name="type"><ref name="voltha__ofp_match_type"/></element></optional><zeroOrMore><element name="oxm_fields"><element name="oxm_class"><ref name="voltha__ofp_oxm_class"/></element><optional><choice><group><element name="ofb_field"><ref name="voltha___ofp_oxm_ofb_field"/></element></group><group><element name="experimenter_field"><ref name="voltha___ofp_oxm_experimenter_field"/></element></group></choice></optional></element></zeroOrMore></interleave></define><define name="voltha___ofp_oxm_experimenter_field__rpc"><optional><element name="oxm_header"><data type="unsignedInt"/></element></optional><optional><element name="experimenter"><data type="unsignedInt"/></element></optional></define><define name="voltha__ofp_oxm_class"><choice><value>OFPXMC_NXM_0</value><value>OFPXMC_NXM_1</value><value>OFPXMC_OPENFLOW_BASIC</value><value>OFPXMC_EXPERIMENTER</value></choice></define><define name="voltha___ofp_table_feature_prop_actions"><zeroOrMore><element name="actions"><element name="type"><ref name="voltha__ofp_action_type"/></element><optional><choice><group><element name="output"><ref name="voltha___ofp_action_output"/></element></group><group><element name="mpls_ttl"><ref name="voltha___ofp_action_mpls_ttl"/></element></group><group><element name="push"><ref name="voltha___ofp_action_push"/></element></group><group><element name="pop_mpls"><ref name="voltha___ofp_action_pop_mpls"/></element></group><group><element name="group"><ref name="voltha___ofp_action_group"/></element></group><group><element name="nw_ttl"><ref name="voltha___ofp_action_nw_ttl"/></element></group><group><element name="set_field"><ref name="voltha___ofp_action_set_field"/></element></group><group><element name="experimenter"><ref name="voltha___ofp_action_experimenter"/></element></group></choice></optional></element></zeroOrMore></define><define name="voltha___ofp_group_mod__rpc"><optional><element name="command"><ref name="voltha__ofp_group_mod_command"/></element></optional><optional><element name="type"><ref name="voltha__ofp_group_type"/></element></optional><optional><element name="group_id"><data type="unsignedInt"/></element></optional><zeroOrMore><element name="buckets"><element name="weight"><data type="unsignedInt"/></element><optional><element name="watch_port"><data type="unsignedInt"/></element></optional><optional><element name="watch_group"><data type="unsignedInt"/></element></optional><zeroOrMore><element name="actions"><element name="type"><ref name="voltha__ofp_action_type"/></element><optional><choice><group><element name="output"><ref name="voltha___ofp_action_output__rpc"/></element></group><group><element name="mpls_ttl"><ref name="voltha___ofp_action_mpls_ttl__rpc"/></element></group><group><element name="push"><ref name="voltha___ofp_action_push__rpc"/></element></group><group><element name="pop_mpls"><ref name="voltha___ofp_action_pop_mpls__rpc"/></element></group><group><element name="group"><ref name="voltha___ofp_action_group__rpc"/></element></group><group><element name="nw_ttl"><ref name="voltha___ofp_action_nw_ttl__rpc"/></element></group><group><element name="set_field"><ref name="voltha___ofp_action_set_field__rpc"/></element></group><group><element name="experimenter"><ref name="voltha___ofp_action_experimenter__rpc"/></element></group></choice></optional></element></zeroOrMore></element></zeroOrMore></define><define name="voltha__LogLevel"><choice><value>DEBUG</value><value>INFO</value><value>WARNING</value><value>ERROR</value><value>CRITICAL</value></choice></define><define name="voltha___ofp_oxm_ofb_field"><interleave><optional><element name="type"><ref name="voltha__oxm_ofb_field_types"/></element></optional><optional><element name="has_mask"><choice><value>true</value><value>false</value></choice></element></optional><optional><choice><group><element name="port"><data type="unsignedInt"/></element></group><group><element name="physical_port"><data type="unsignedInt"/></element></group><group><element name="table_metadata"><data type="unsignedLong"/></element></group><group><element name="eth_dst"><data type="base64Binary"/></element></group><group><element name="eth_src"><data type="base64Binary"/></element></group><group><element name="eth_type"><data type="unsignedInt"/></element></group><group><element name="vlan_vid"><data type="unsignedInt"/></element></group><group><element name="vlan_pcp"><data type="unsignedInt"/></element></group><group><element name="ip_dscp"><data type="unsignedInt"/></element></group><group><element name="ip_ecn"><data type="unsignedInt"/></element></group><group><element name="ip_proto"><data type="unsignedInt"/></element></group><group><element name="ipv4_src"><data type="unsignedInt"/></element></group><group><element name="ipv4_dst"><data type="unsignedInt"/></element></group><group><element name="tcp_src"><data type="unsignedInt"/></element></group><group><element name="tcp_dst"><data type="unsignedInt"/></element></group><group><element name="udp_src"><data type="unsignedInt"/></element></group><group><element name="udp_dst"><data type="unsignedInt"/></element></group><group><element name="sctp_src"><data type="unsignedInt"/></element></group><group><element name="sctp_dst"><data type="unsignedInt"/></element></group><group><element name="icmpv4_type"><data type="unsignedInt"/></element></group><group><element name="icmpv4_code"><data type="unsignedInt"/></element></group><group><element name="arp_op"><data type="unsignedInt"/></element></group><group><element name="arp_spa"><data type="unsignedInt"/></element></group><group><element name="arp_tpa"><data type="unsignedInt"/></element></group><group><element name="arp_sha"><data type="base64Binary"/></element></group><group><element name="arp_tha"><data type="base64Binary"/></element></group><group><element name="ipv6_src"><data type="base64Binary"/></element></group><group><element name="ipv6_dst"><data type="base64Binary"/></element></group><group><element name="ipv6_flabel"><data type="unsignedInt"/></element></group><group><element name="icmpv6_type"><data type="unsignedInt"/></element></group><group><element name="icmpv6_code"><data type="unsignedInt"/></element></group><group><element name="ipv6_nd_target"><data type="base64Binary"/></element></group><group><element name="ipv6_nd_ssl"><data type="base64Binary"/></element></group><group><element name="ipv6_nd_tll"><data type="base64Binary"/></element></group><group><element name="mpls_label"><data type="unsignedInt"/></element></group><group><element name="mpls_tc"><data type="unsignedInt"/></element></group><group><element name="mpls_bos"><data type="unsignedInt"/></element></group><group><element name="pbb_isid"><data type="unsignedInt"/></element></group><group><element name="tunnel_id"><data type="unsignedLong"/></element></group><group><element name="ipv6_exthdr"><data type="unsignedInt"/></element></group></choice></optional><optional><choice><group><element name="table_metadata_mask"><data type="unsignedLong"/></element></group><group><element name="eth_dst_mask"><data type="base64Binary"/></element></group><group><element name="eth_src_mask"><data type="base64Binary"/></element></group><group><element name="vlan_vid_mask"><data type="unsignedInt"/></element></group><group><element name="ipv4_src_mask"><data type="unsignedInt"/></element></group><group><element name="ipv4_dst_mask"><data type="unsignedInt"/></element></group><group><element name="arp_spa_mask"><data type="unsignedInt"/></element></group><group><element name="arp_tpa_mask"><data type="unsignedInt"/></element></group><group><element name="ipv6_src_mask"><data type="base64Binary"/></element></group><group><element name="ipv6_dst_mask"><data type="base64Binary"/></element></group><group><element name="ipv6_flabel_mask"><data type="unsignedInt"/></element></group><group><element name="pbb_isid_mask"><data type="unsignedInt"/></element></group><group><element name="tunnel_id_mask"><data type="unsignedLong"/></element></group><group><element name="ipv6_exthdr_mask"><data type="unsignedInt"/></element></group></choice></optional></interleave></define><define name="voltha___ofp_action_experimenter"><interleave><optional><element name="experimenter"><data type="unsignedInt"/></element></optional><optional><element name="data"><data type="base64Binary"/></element></optional></interleave></define><define name="voltha___ofp_action_output__rpc"><optional><element name="port"><data type="unsignedInt"/></element></optional><optional><element name="max_len"><data type="unsignedInt"/></element></optional></define><define name="voltha___ofp_instruction_goto_table__rpc"><optional><element name="table_id"><data type="unsignedInt"/></element></optional></define><define name="voltha___ofp_oxm_field"><interleave><optional><element name="oxm_class"><ref name="voltha__ofp_oxm_class"/></element></optional><optional><choice><group><element name="ofb_field"><ref name="voltha___ofp_oxm_ofb_field"/></element></group><group><element name="experimenter_field"><ref name="voltha___ofp_oxm_experimenter_field"/></element></group></choice></optional></interleave></define><define name="voltha__ofp_multipart_type"><choice><value>OFPMP_DESC</value><value>OFPMP_FLOW</value><value>OFPMP_AGGREGATE</value><value>OFPMP_TABLE</value><value>OFPMP_PORT_STATS</value><value>OFPMP_QUEUE</value><value>OFPMP_GROUP</value><value>OFPMP_GROUP_DESC</value><value>OFPMP_GROUP_FEATURES</value><value>OFPMP_METER</value><value>OFPMP_METER_CONFIG</value><value>OFPMP_METER_FEATURES</value><value>OFPMP_TABLE_FEATURES</value><value>OFPMP_PORT_DESC</value><value>OFPMP_EXPERIMENTER</value></choice></define><define name="voltha___HealthStatus"><optional><element name="state"><ref name="voltha___HealthStatus__HealthState"/></element></optional></define><define name="voltha__ofp_flow_removed_reason"><choice><value>OFPRR_IDLE_TIMEOUT</value><value>OFPRR_HARD_TIMEOUT</value><value>OFPRR_DELETE</value><value>OFPRR_GROUP_DELETE</value><value>OFPRR_METER_DELETE</value></choice></define><define name="voltha___ID__rpc"><optional><element name="id"><data type="string"/></element></optional></define><define name="voltha___ofp_switch_features__rpc"><optional><element name="datapath_id"><data type="unsignedLong"/></element></optional><optional><element name="n_buffers"><data type="unsignedInt"/></element></optional><optional><element name="n_tables"><data type="unsignedInt"/></element></optional><optional><element name="auxiliary_id"><data type="unsignedInt"/></element></optional><optional><element name="capabilities"><data type="unsignedInt"/></element></optional></define><define name="voltha___ofp_action_group__rpc"><optional><element name="group_id"><data type="unsignedInt"/></element></optional></define><define name="voltha___ofp_switch_features"><interleave><optional><element name="datapath_id"><data type="unsignedLong"/></element></optional><optional><element name="n_buffers"><data type="unsignedInt"/></element></optional><optional><element name="n_tables"><data type="unsignedInt"/></element></optional><optional><element name="auxiliary_id"><data type="unsignedInt"/></element></optional><optional><element name="capabilities"><data type="unsignedInt"/></element></optional></interleave></define><define name="voltha__ofp_meter_band_type"><choice><value>OFPMBT_INVALID</value><value>OFPMBT_DROP</value><value>OFPMBT_DSCP_REMARK</value><value>OFPMBT_EXPERIMENTER</value></choice></define><define name="voltha___Empty__rpc"><empty/></define><define name="voltha___LogicalDevices__rpc"><zeroOrMore><element name="items"><element name="id"><data type="string"/></element><optional><element name="datapath_id"><data type="unsignedLong"/></element></optional><optional><element name="desc"><ref name="voltha___ofp_desc__rpc"/></element></optional><optional><element name="switch_features"><ref name="voltha___ofp_switch_features__rpc"/></element></optional><optional><element name="root_device_id"><data type="string"/></element></optional><zeroOrMore><element name="ports"><element name="id"><data type="string"/></element><optional><element name="ofp_port"><ref name="voltha___ofp_port__rpc"/></element></optional><optional><element name="device_id"><data type="string"/></element></optional><optional><element name="device_port_no"><data type="unsignedInt"/></element></optional><optional><element name="root_port"><choice><value>true</value><value>false</value></choice></element></optional></element></zeroOrMore><optional><element name="flows"><ref name="voltha___Flows__rpc"/></element></optional><optional><element name="flow_groups"><ref name="voltha___FlowGroups__rpc"/></element></optional></element></zeroOrMore></define><define name="voltha___AlarmFilter__rpc"><optional><element name="id"><data type="string"/></element></optional><zeroOrMore><element name="rules"><element name="key"><ref name="voltha__AlarmFilterRuleKey"/></element><optional><element name="value"><data type="string"/></element></optional></element></zeroOrMore></define><define name="voltha__ofp_table_feature_prop_type"><choice><value>OFPTFPT_INSTRUCTIONS</value><value>OFPTFPT_INSTRUCTIONS_MISS</value><value>OFPTFPT_NEXT_TABLES</value><value>OFPTFPT_NEXT_TABLES_MISS</value><value>OFPTFPT_WRITE_ACTIONS</value><value>OFPTFPT_WRITE_ACTIONS_MISS</value><value>OFPTFPT_APPLY_ACTIONS</value><value>OFPTFPT_APPLY_ACTIONS_MISS</value><value>OFPTFPT_MATCH</value><value>OFPTFPT_WILDCARDS</value><value>OFPTFPT_WRITE_SETFIELD</value><value>OFPTFPT_WRITE_SETFIELD_MISS</value><value>OFPTFPT_APPLY_SETFIELD</value><value>OFPTFPT_APPLY_SETFIELD_MISS</value><value>OFPTFPT_EXPERIMENTER</value><value>OFPTFPT_EXPERIMENTER_MISS</value></choice></define><define name="voltha___ofp_table_feature_prop_experimenter"><interleave><optional><element name="experimenter"><data type="unsignedInt"/></element></optional><optional><element name="exp_type"><data type="unsignedInt"/></element></optional><zeroOrMore><element name="experimenter_data"><element name="experimenter_data"><data type="unsignedInt"/></element><empty/></element></zeroOrMore></interleave></define><define name="voltha___PmConfig__PmType"><choice><value>COUNTER</value><value>GUAGE</value><value>STATE</value></choice></define><define name="voltha___ofp_action_push__rpc"><optional><element name="ethertype"><data type="unsignedInt"/></element></optional></define><define name="voltha__ofp_controller_role"><choice><value>OFPCR_ROLE_NOCHANGE</value><value>OFPCR_ROLE_EQUAL</value><value>OFPCR_ROLE_MASTER</value><value>OFPCR_ROLE_SLAVE</value></choice></define><define name="voltha___ofp_action_pop_mpls"><optional><element name="ethertype"><data type="unsignedInt"/></element></optional></define><define name="voltha___ofp_port_status__rpc"><optional><element name="reason"><ref name="voltha__ofp_port_reason"/></element></optional><optional><element name="desc"><ref name="voltha___ofp_port__rpc"/></element></optional></define><define name="voltha___ofp_flow_mod__rpc"><optional><element name="cookie"><data type="unsignedLong"/></element></optional><optional><element name="cookie_mask"><data type="unsignedLong"/></element></optional><optional><element name="table_id"><data type="unsignedInt"/></element></optional><optional><element name="command"><ref name="voltha__ofp_flow_mod_command"/></element></optional><optional><element name="idle_timeout"><data type="unsignedInt"/></element></optional><optional><element name="hard_timeout"><data type="unsignedInt"/></element></optional><optional><element name="priority"><data type="unsignedInt"/></element></optional><optional><element name="buffer_id"><data type="unsignedInt"/></element></optional><optional><element name="out_port"><data type="unsignedInt"/></element></optional><optional><element name="out_group"><data type="unsignedInt"/></element></optional><optional><element name="flags"><data type="unsignedInt"/></element></optional><optional><element name="match"><ref name="voltha___ofp_match__rpc"/></element></optional><zeroOrMore><element name="instructions"><element name="type"><data type="unsignedInt"/></element><optional><choice><group><element name="goto_table"><ref name="voltha___ofp_instruction_goto_table__rpc"/></element></group><group><element name="write_metadata"><ref name="voltha___ofp_instruction_write_metadata__rpc"/></element></group><group><element name="actions"><ref name="voltha___ofp_instruction_actions__rpc"/></element></group><group><element name="meter"><ref name="voltha___ofp_instruction_meter__rpc"/></element></group><group><element name="experimenter"><ref name="voltha___ofp_instruction_experimenter__rpc"/></element></group></choice></optional></element></zeroOrMore></define><define name="voltha___HealthStatus__rpc"><optional><element name="state"><ref name="voltha___HealthStatus__HealthState"/></element></optional></define><define name="voltha___ofp_packet_out__rpc"><optional><element name="buffer_id"><data type="unsignedInt"/></element></optional><optional><element name="in_port"><data type="unsignedInt"/></element></optional><zeroOrMore><element name="actions"><element name="type"><ref name="voltha__ofp_action_type"/></element><optional><choice><group><element name="output"><ref name="voltha___ofp_action_output__rpc"/></element></group><group><element name="mpls_ttl"><ref name="voltha___ofp_action_mpls_ttl__rpc"/></element></group><group><element name="push"><ref name="voltha___ofp_action_push__rpc"/></element></group><group><element name="pop_mpls"><ref name="voltha___ofp_action_pop_mpls__rpc"/></element></group><group><element name="group"><ref name="voltha___ofp_action_group__rpc"/></element></group><group><element name="nw_ttl"><ref name="voltha___ofp_action_nw_ttl__rpc"/></element></group><group><element name="set_field"><ref name="voltha___ofp_action_set_field__rpc"/></element></group><group><element name="experimenter"><ref name="voltha___ofp_action_experimenter__rpc"/></element></group></choice></optional></element></zeroOrMore><optional><element name="data"><data type="base64Binary"/></element></optional></define><define name="voltha___ofp_table_feature_prop_instructions"><zeroOrMore><element name="instructions"><element name="type"><data type="unsignedInt"/></element><optional><choice><group><element name="goto_table"><ref name="voltha___ofp_instruction_goto_table"/></element></group><group><element name="write_metadata"><ref name="voltha___ofp_instruction_write_metadata"/></element></group><group><element name="actions"><ref name="voltha___ofp_instruction_actions"/></element></group><group><element name="meter"><ref name="voltha___ofp_instruction_meter"/></element></group><group><element name="experimenter"><ref name="voltha___ofp_instruction_experimenter"/></element></group></choice></optional></element></zeroOrMore></define><define name="voltha___Adapters__rpc"><zeroOrMore><element name="items"><element name="id"><data type="string"/></element><optional><element name="vendor"><data type="string"/></element></optional><optional><element name="version"><data type="string"/></element></optional><optional><element name="config"><ref name="voltha___AdapterConfig__rpc"/></element></optional><optional><element name="additional_description"><ref name="voltha___Any__rpc"/></element></optional><zeroOrMore><element name="logical_device_ids"><element name="logical_device_ids"><data type="string"/></element><empty/></element></zeroOrMore></element></zeroOrMore></define><define name="voltha___ofp_instruction_meter"><optional><element name="meter_id"><data type="unsignedInt"/></element></optional></define><define name="voltha___Voltha_grouping__rpc"><optional><element name="version"><data type="string"/></element></optional><optional><element name="log_level"><ref name="voltha__LogLevel"/></element></optional><zeroOrMore><element name="instances"><element name="instance_id"><data type="string"/></element><optional><element name="version"><data type="string"/></element></optional><optional><element name="log_level"><ref name="voltha__LogLevel"/></element></optional><optional><element name="health"><ref name="voltha___HealthStatus__rpc"/></element></optional><zeroOrMore><element name="adapters"><element name="id"><data type="string"/></element><optional><element name="vendor"><data type="string"/></element></optional><optional><element name="version"><data type="string"/></element></optional><optional><element name="config"><ref name="voltha___AdapterConfig__rpc"/></element></optional><optional><element name="additional_description"><ref name="voltha___Any__rpc"/></element></optional><zeroOrMore><element name="logical_device_ids"><element name="logical_device_ids"><data type="string"/></element><empty/></element></zeroOrMore></element></zeroOrMore><zeroOrMore><element name="logical_devices"><element name="id"><data type="string"/></element><optional><element name="datapath_id"><data type="unsignedLong"/></element></optional><optional><element name="desc"><ref name="voltha___ofp_desc__rpc"/></element></optional><optional><element name="switch_features"><ref name="voltha___ofp_switch_features__rpc"/></element></optional><optional><element name="root_device_id"><data type="string"/></element></optional><zeroOrMore><element name="ports"><element name="id"><data type="string"/></element><optional><element name="ofp_port"><ref name="voltha___ofp_port__rpc"/></element></optional><optional><element name="device_id"><data type="string"/></element></optional><optional><element name="device_port_no"><data type="unsignedInt"/></element></optional><optional><element name="root_port"><choice><value>true</value><value>false</value></choice></element></optional></element></zeroOrMore><optional><element name="flows"><ref name="voltha___Flows__rpc"/></element></optional><optional><element name="flow_groups"><ref name="voltha___FlowGroups__rpc"/></element></optional></element></zeroOrMore><zeroOrMore><element name="devices"><element name="id"><data type="string"/></element><optional><element name="type"><data type="string"/></element></optional><optional><element name="root"><choice><value>true</value><value>false</value></choice></element></optional><optional><element name="parent_id"><data type="string"/></element></optional><optional><element name="parent_port_no"><data type="unsignedInt"/></element></optional><optional><element name="vendor"><data type="string"/></element></optional><optional><element name="model"><data type="string"/></element></optional><optional><element name="hardware_version"><data type="string"/></element></optional><optional><element name="firmware_version"><data type="string"/></element></optional><optional><element name="software_version"><data type="string"/></element></optional><optional><element name="serial_number"><data type="string"/></element></optional><optional><element name="adapter"><data type="string"/></element></optional><optional><element name="vlan"><data type="unsignedInt"/></element></optional><optional><element name="proxy_address"><ref name="voltha___ProxyAddress__rpc"/></element></optional><optional><element name="admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="reason"><data type="string"/></element></optional><optional><element name="connect_status"><ref name="voltha__ConnectStatus"/></element></optional><optional><element name="custom"><ref name="voltha___Any__rpc"/></element></optional><zeroOrMore><element name="ports"><element name="port_no"><data type="unsignedInt"/></element><optional><element name="label"><data type="string"/></element></optional><optional><element name="type"><ref name="voltha__PortType"/></element></optional><optional><element name="admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="device_id"><data type="string"/></element></optional><zeroOrMore><element name="peers"><element name="device_id"><data type="string"/></element><optional><element name="port_no"><data type="unsignedInt"/></element></optional></element></zeroOrMore></element></zeroOrMore><optional><element name="flows"><ref name="voltha___Flows__rpc"/></element></optional><optional><element name="flow_groups"><ref name="voltha___FlowGroups__rpc"/></element></optional><optional><element name="pm_configs"><ref name="voltha___PmConfigs__rpc"/></element></optional><optional><choice><group><element name="mac_address"><data type="string"/></element></group><group><element name="ipv4_address"><data type="string"/></element></group><group><element name="ipv6_address"><data type="string"/></element></group><group><element name="host_and_port"><data type="string"/></element></group></choice></optional></element></zeroOrMore><zeroOrMore><element name="device_types"><element name="id"><data type="string"/></element><optional><element name="adapter"><data type="string"/></element></optional><optional><element name="accepts_bulk_flow_update"><choice><value>true</value><value>false</value></choice></element></optional><optional><element name="accepts_add_remove_flow_updates"><choice><value>true</value><value>false</value></choice></element></optional></element></zeroOrMore><zeroOrMore><element name="device_groups"><element name="id"><data type="string"/></element><zeroOrMore><element name="logical_devices"><element name="id"><data type="string"/></element><optional><element name="datapath_id"><data type="unsignedLong"/></element></optional><optional><element name="desc"><ref name="voltha___ofp_desc__rpc"/></element></optional><optional><element name="switch_features"><ref name="voltha___ofp_switch_features__rpc"/></element></optional><optional><element name="root_device_id"><data type="string"/></element></optional><zeroOrMore><element name="ports"><element name="id"><data type="string"/></element><optional><element name="ofp_port"><ref name="voltha___ofp_port__rpc"/></element></optional><optional><element name="device_id"><data type="string"/></element></optional><optional><element name="device_port_no"><data type="unsignedInt"/></element></optional><optional><element name="root_port"><choice><value>true</value><value>false</value></choice></element></optional></element></zeroOrMore><optional><element name="flows"><ref name="voltha___Flows__rpc"/></element></optional><optional><element name="flow_groups"><ref name="voltha___FlowGroups__rpc"/></element></optional></element></zeroOrMore><zeroOrMore><element name="devices"><element name="id"><data type="string"/></element><optional><element name="type"><data type="string"/></element></optional><optional><element name="root"><choice><value>true</value><value>false</value></choice></element></optional><optional><element name="parent_id"><data type="string"/></element></optional><optional><element name="parent_port_no"><data type="unsignedInt"/></element></optional><optional><element name="vendor"><data type="string"/></element></optional><optional><element name="model"><data type="string"/></element></optional><optional><element name="hardware_version"><data type="string"/></element></optional><optional><element name="firmware_version"><data type="string"/></element></optional><optional><element name="software_version"><data type="string"/></element></optional><optional><element name="serial_number"><data type="string"/></element></optional><optional><element name="adapter"><data type="string"/></element></optional><optional><element name="vlan"><data type="unsignedInt"/></element></optional><optional><element name="proxy_address"><ref name="voltha___ProxyAddress__rpc"/></element></optional><optional><element name="admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="reason"><data type="string"/></element></optional><optional><element name="connect_status"><ref name="voltha__ConnectStatus"/></element></optional><optional><element name="custom"><ref name="voltha___Any__rpc"/></element></optional><zeroOrMore><element name="ports"><element name="port_no"><data type="unsignedInt"/></element><optional><element name="label"><data type="string"/></element></optional><optional><element name="type"><ref name="voltha__PortType"/></element></optional><optional><element name="admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="device_id"><data type="string"/></element></optional><zeroOrMore><element name="peers"><element name="device_id"><data type="string"/></element><optional><element name="port_no"><data type="unsignedInt"/></element></optional></element></zeroOrMore></element></zeroOrMore><optional><element name="flows"><ref name="voltha___Flows__rpc"/></element></optional><optional><element name="flow_groups"><ref name="voltha___FlowGroups__rpc"/></element></optional><optional><element name="pm_configs"><ref name="voltha___PmConfigs__rpc"/></element></optional><optional><choice><group><element name="mac_address"><data type="string"/></element></group><group><element name="ipv4_address"><data type="string"/></element></group><group><element name="ipv6_address"><data type="string"/></element></group><group><element name="host_and_port"><data type="string"/></element></group></choice></optional></element></zeroOrMore></element></zeroOrMore><zeroOrMore><element name="alarm_filters"><element name="id"><data type="string"/></element><zeroOrMore><element name="rules"><element name="key"><ref name="voltha__AlarmFilterRuleKey"/></element><optional><element name="value"><data type="string"/></element></optional></element></zeroOrMore></element></zeroOrMore></element></zeroOrMore><zeroOrMore><element name="adapters"><element name="id"><data type="string"/></element><optional><element name="vendor"><data type="string"/></element></optional><optional><element name="version"><data type="string"/></element></optional><optional><element name="config"><ref name="voltha___AdapterConfig__rpc"/></element></optional><optional><element name="additional_description"><ref name="voltha___Any__rpc"/></element></optional><zeroOrMore><element name="logical_device_ids"><element name="logical_device_ids"><data type="string"/></element><empty/></element></zeroOrMore></element></zeroOrMore><zeroOrMore><element name="logical_devices"><element name="id"><data type="string"/></element><optional><element name="datapath_id"><data type="unsignedLong"/></element></optional><optional><element name="desc"><ref name="voltha___ofp_desc__rpc"/></element></optional><optional><element name="switch_features"><ref name="voltha___ofp_switch_features__rpc"/></element></optional><optional><element name="root_device_id"><data type="string"/></element></optional><zeroOrMore><element name="ports"><element name="id"><data type="string"/></element><optional><element name="ofp_port"><ref name="voltha___ofp_port__rpc"/></element></optional><optional><element name="device_id"><data type="string"/></element></optional><optional><element name="device_port_no"><data type="unsignedInt"/></element></optional><optional><element name="root_port"><choice><value>true</value><value>false</value></choice></element></optional></element></zeroOrMore><optional><element name="flows"><ref name="voltha___Flows__rpc"/></element></optional><optional><element name="flow_groups"><ref name="voltha___FlowGroups__rpc"/></element></optional></element></zeroOrMore><zeroOrMore><element name="devices"><element name="id"><data type="string"/></element><optional><element name="type"><data type="string"/></element></optional><optional><element name="root"><choice><value>true</value><value>false</value></choice></element></optional><optional><element name="parent_id"><data type="string"/></element></optional><optional><element name="parent_port_no"><data type="unsignedInt"/></element></optional><optional><element name="vendor"><data type="string"/></element></optional><optional><element name="model"><data type="string"/></element></optional><optional><element name="hardware_version"><data type="string"/></element></optional><optional><element name="firmware_version"><data type="string"/></element></optional><optional><element name="software_version"><data type="string"/></element></optional><optional><element name="serial_number"><data type="string"/></element></optional><optional><element name="adapter"><data type="string"/></element></optional><optional><element name="vlan"><data type="unsignedInt"/></element></optional><optional><element name="proxy_address"><ref name="voltha___ProxyAddress__rpc"/></element></optional><optional><element name="admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="reason"><data type="string"/></element></optional><optional><element name="connect_status"><ref name="voltha__ConnectStatus"/></element></optional><optional><element name="custom"><ref name="voltha___Any__rpc"/></element></optional><zeroOrMore><element name="ports"><element name="port_no"><data type="unsignedInt"/></element><optional><element name="label"><data type="string"/></element></optional><optional><element name="type"><ref name="voltha__PortType"/></element></optional><optional><element name="admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="device_id"><data type="string"/></element></optional><zeroOrMore><element name="peers"><element name="device_id"><data type="string"/></element><optional><element name="port_no"><data type="unsignedInt"/></element></optional></element></zeroOrMore></element></zeroOrMore><optional><element name="flows"><ref name="voltha___Flows__rpc"/></element></optional><optional><element name="flow_groups"><ref name="voltha___FlowGroups__rpc"/></element></optional><optional><element name="pm_configs"><ref name="voltha___PmConfigs__rpc"/></element></optional><optional><choice><group><element name="mac_address"><data type="string"/></element></group><group><element name="ipv4_address"><data type="string"/></element></group><group><element name="ipv6_address"><data type="string"/></element></group><group><element name="host_and_port"><data type="string"/></element></group></choice></optional></element></zeroOrMore><zeroOrMore><element name="device_groups"><element name="id"><data type="string"/></element><zeroOrMore><element name="logical_devices"><element name="id"><data type="string"/></element><optional><element name="datapath_id"><data type="unsignedLong"/></element></optional><optional><element name="desc"><ref name="voltha___ofp_desc__rpc"/></element></optional><optional><element name="switch_features"><ref name="voltha___ofp_switch_features__rpc"/></element></optional><optional><element name="root_device_id"><data type="string"/></element></optional><zeroOrMore><element name="ports"><element name="id"><data type="string"/></element><optional><element name="ofp_port"><ref name="voltha___ofp_port__rpc"/></element></optional><optional><element name="device_id"><data type="string"/></element></optional><optional><element name="device_port_no"><data type="unsignedInt"/></element></optional><optional><element name="root_port"><choice><value>true</value><value>false</value></choice></element></optional></element></zeroOrMore><optional><element name="flows"><ref name="voltha___Flows__rpc"/></element></optional><optional><element name="flow_groups"><ref name="voltha___FlowGroups__rpc"/></element></optional></element></zeroOrMore><zeroOrMore><element name="devices"><element name="id"><data type="string"/></element><optional><element name="type"><data type="string"/></element></optional><optional><element name="root"><choice><value>true</value><value>false</value></choice></element></optional><optional><element name="parent_id"><data type="string"/></element></optional><optional><element name="parent_port_no"><data type="unsignedInt"/></element></optional><optional><element name="vendor"><data type="string"/></element></optional><optional><element name="model"><data type="string"/></element></optional><optional><element name="hardware_version"><data type="string"/></element></optional><optional><element name="firmware_version"><data type="string"/></element></optional><optional><element name="software_version"><data type="string"/></element></optional><optional><element name="serial_number"><data type="string"/></element></optional><optional><element name="adapter"><data type="string"/></element></optional><optional><element name="vlan"><data type="unsignedInt"/></element></optional><optional><element name="proxy_address"><ref name="voltha___ProxyAddress__rpc"/></element></optional><optional><element name="admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="reason"><data type="string"/></element></optional><optional><element name="connect_status"><ref name="voltha__ConnectStatus"/></element></optional><optional><element name="custom"><ref name="voltha___Any__rpc"/></element></optional><zeroOrMore><element name="ports"><element name="port_no"><data type="unsignedInt"/></element><optional><element name="label"><data type="string"/></element></optional><optional><element name="type"><ref name="voltha__PortType"/></element></optional><optional><element name="admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="device_id"><data type="string"/></element></optional><zeroOrMore><element name="peers"><element name="device_id"><data type="string"/></element><optional><element name="port_no"><data type="unsignedInt"/></element></optional></element></zeroOrMore></element></zeroOrMore><optional><element name="flows"><ref name="voltha___Flows__rpc"/></element></optional><optional><element name="flow_groups"><ref name="voltha___FlowGroups__rpc"/></element></optional><optional><element name="pm_configs"><ref name="voltha___PmConfigs__rpc"/></element></optional><optional><choice><group><element name="mac_address"><data type="string"/></element></group><group><element name="ipv4_address"><data type="string"/></element></group><group><element name="ipv6_address"><data type="string"/></element></group><group><element name="host_and_port"><data type="string"/></element></group></choice></optional></element></zeroOrMore></element></zeroOrMore></define><define name="voltha___Ports__rpc"><zeroOrMore><element name="items"><element name="port_no"><data type="unsignedInt"/></element><optional><element name="label"><data type="string"/></element></optional><optional><element name="type"><ref name="voltha__PortType"/></element></optional><optional><element name="admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="device_id"><data type="string"/></element></optional><zeroOrMore><element name="peers"><element name="device_id"><data type="string"/></element><optional><element name="port_no"><data type="unsignedInt"/></element></optional></element></zeroOrMore></element></zeroOrMore></define><define name="voltha___LogicalDevice__rpc"><optional><element name="id"><data type="string"/></element></optional><optional><element name="datapath_id"><data type="unsignedLong"/></element></optional><optional><element name="desc"><ref name="voltha___ofp_desc__rpc"/></element></optional><optional><element name="switch_features"><ref name="voltha___ofp_switch_features__rpc"/></element></optional><optional><element name="root_device_id"><data type="string"/></element></optional><zeroOrMore><element name="ports"><element name="id"><data type="string"/></element><optional><element name="ofp_port"><ref name="voltha___ofp_port__rpc"/></element></optional><optional><element name="device_id"><data type="string"/></element></optional><optional><element name="device_port_no"><data type="unsignedInt"/></element></optional><optional><element name="root_port"><choice><value>true</value><value>false</value></choice></element></optional></element></zeroOrMore><optional><element name="flows"><ref name="voltha___Flows__rpc"/></element></optional><optional><element name="flow_groups"><ref name="voltha___FlowGroups__rpc"/></element></optional></define><define name="voltha__OperStatus"><choice><value>UNKNOWN</value><value>DISCOVERED</value><value>ACTIVATING</value><value>TESTING</value><value>ACTIVE</value><value>FAILED</value></choice></define><define name="voltha___ofp_table_feature_prop_next_tables"><zeroOrMore><element name="next_table_ids"><element name="next_table_ids"><data type="unsignedInt"/></element><empty/></element></zeroOrMore></define><define name="voltha___AlarmFilters__rpc"><zeroOrMore><element name="filters"><element name="id"><data type="string"/></element><zeroOrMore><element name="rules"><element name="key"><ref name="voltha__AlarmFilterRuleKey"/></element><optional><element name="value"><data type="string"/></element></optional></element></zeroOrMore></element></zeroOrMore></define><define name="voltha___Device__rpc"><optional><element name="id"><data type="string"/></element></optional><optional><element name="type"><data type="string"/></element></optional><optional><element name="root"><choice><value>true</value><value>false</value></choice></element></optional><optional><element name="parent_id"><data type="string"/></element></optional><optional><element name="parent_port_no"><data type="unsignedInt"/></element></optional><optional><element name="vendor"><data type="string"/></element></optional><optional><element name="model"><data type="string"/></element></optional><optional><element name="hardware_version"><data type="string"/></element></optional><optional><element name="firmware_version"><data type="string"/></element></optional><optional><element name="software_version"><data type="string"/></element></optional><optional><element name="serial_number"><data type="string"/></element></optional><optional><element name="adapter"><data type="string"/></element></optional><optional><element name="vlan"><data type="unsignedInt"/></element></optional><optional><element name="proxy_address"><ref name="voltha___ProxyAddress__rpc"/></element></optional><optional><element name="admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="reason"><data type="string"/></element></optional><optional><element name="connect_status"><ref name="voltha__ConnectStatus"/></element></optional><optional><element name="custom"><ref name="voltha___Any__rpc"/></element></optional><zeroOrMore><element name="ports"><element name="port_no"><data type="unsignedInt"/></element><optional><element name="label"><data type="string"/></element></optional><optional><element name="type"><ref name="voltha__PortType"/></element></optional><optional><element name="admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="device_id"><data type="string"/></element></optional><zeroOrMore><element name="peers"><element name="device_id"><data type="string"/></element><optional><element name="port_no"><data type="unsignedInt"/></element></optional></element></zeroOrMore></element></zeroOrMore><optional><element name="flows"><ref name="voltha___Flows__rpc"/></element></optional><optional><element name="flow_groups"><ref name="voltha___FlowGroups__rpc"/></element></optional><optional><element name="pm_configs"><ref name="voltha___PmConfigs__rpc"/></element></optional><optional><choice><group><element name="mac_address"><data type="string"/></element></group><group><element name="ipv4_address"><data type="string"/></element></group><group><element name="ipv6_address"><data type="string"/></element></group><group><element name="host_and_port"><data type="string"/></element></group></choice></optional></define><define name="voltha___ofp_instruction_write_metadata"><interleave><optional><element name="metadata"><data type="unsignedLong"/></element></optional><optional><element name="metadata_mask"><data type="unsignedLong"/></element></optional></interleave></define><define name="voltha___FlowGroups"><zeroOrMore><element name="items"><element name="type"><ref name="voltha__ofp_group_type"/></element><interleave><optional><element name="group_id"><data type="unsignedInt"/></element></optional><zeroOrMore><element name="buckets"><element name="weight"><data type="unsignedInt"/></element><interleave><optional><element name="watch_port"><data type="unsignedInt"/></element></optional><optional><element name="watch_group"><data type="unsignedInt"/></element></optional><zeroOrMore><element name="actions"><element name="type"><ref name="voltha__ofp_action_type"/></element><optional><choice><group><element name="output"><ref name="voltha___ofp_action_output"/></element></group><group><element name="mpls_ttl"><ref name="voltha___ofp_action_mpls_ttl"/></element></group><group><element name="push"><ref name="voltha___ofp_action_push"/></element></group><group><element name="pop_mpls"><ref name="voltha___ofp_action_pop_mpls"/></element></group><group><element name="group"><ref name="voltha___ofp_action_group"/></element></group><group><element name="nw_ttl"><ref name="voltha___ofp_action_nw_ttl"/></element></group><group><element name="set_field"><ref name="voltha___ofp_action_set_field"/></element></group><group><element name="experimenter"><ref name="voltha___ofp_action_experimenter"/></element></group></choice></optional></element></zeroOrMore></interleave></element></zeroOrMore><optional><element name="stats"><ref name="voltha___ofp_group_stats"/></element></optional></interleave></element></zeroOrMore></define><define name="voltha___DeviceTypes__rpc"><zeroOrMore><element name="items"><element name="id"><data type="string"/></element><optional><element name="adapter"><data type="string"/></element></optional><optional><element name="accepts_bulk_flow_update"><choice><value>true</value><value>false</value></choice></element></optional><optional><element name="accepts_add_remove_flow_updates"><choice><value>true</value><value>false</value></choice></element></optional></element></zeroOrMore></define><define name="voltha___ofp_instruction_goto_table"><optional><element name="table_id"><data type="unsignedInt"/></element></optional></define><define name="voltha___DeviceGroup__rpc"><optional><element name="id"><data type="string"/></element></optional><zeroOrMore><element name="logical_devices"><element name="id"><data type="string"/></element><optional><element name="datapath_id"><data type="unsignedLong"/></element></optional><optional><element name="desc"><ref name="voltha___ofp_desc__rpc"/></element></optional><optional><element name="switch_features"><ref name="voltha___ofp_switch_features__rpc"/></element></optional><optional><element name="root_device_id"><data type="string"/></element></optional><zeroOrMore><element name="ports"><element name="id"><data type="string"/></element><optional><element name="ofp_port"><ref name="voltha___ofp_port__rpc"/></element></optional><optional><element name="device_id"><data type="string"/></element></optional><optional><element name="device_port_no"><data type="unsignedInt"/></element></optional><optional><element name="root_port"><choice><value>true</value><value>false</value></choice></element></optional></element></zeroOrMore><optional><element name="flows"><ref name="voltha___Flows__rpc"/></element></optional><optional><element name="flow_groups"><ref name="voltha___FlowGroups__rpc"/></element></optional></element></zeroOrMore><zeroOrMore><element name="devices"><element name="id"><data type="string"/></element><optional><element name="type"><data type="string"/></element></optional><optional><element name="root"><choice><value>true</value><value>false</value></choice></element></optional><optional><element name="parent_id"><data type="string"/></element></optional><optional><element name="parent_port_no"><data type="unsignedInt"/></element></optional><optional><element name="vendor"><data type="string"/></element></optional><optional><element name="model"><data type="string"/></element></optional><optional><element name="hardware_version"><data type="string"/></element></optional><optional><element name="firmware_version"><data type="string"/></element></optional><optional><element name="software_version"><data type="string"/></element></optional><optional><element name="serial_number"><data type="string"/></element></optional><optional><element name="adapter"><data type="string"/></element></optional><optional><element name="vlan"><data type="unsignedInt"/></element></optional><optional><element name="proxy_address"><ref name="voltha___ProxyAddress__rpc"/></element></optional><optional><element name="admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="reason"><data type="string"/></element></optional><optional><element name="connect_status"><ref name="voltha__ConnectStatus"/></element></optional><optional><element name="custom"><ref name="voltha___Any__rpc"/></element></optional><zeroOrMore><element name="ports"><element name="port_no"><data type="unsignedInt"/></element><optional><element name="label"><data type="string"/></element></optional><optional><element name="type"><ref name="voltha__PortType"/></element></optional><optional><element name="admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="device_id"><data type="string"/></element></optional><zeroOrMore><element name="peers"><element name="device_id"><data type="string"/></element><optional><element name="port_no"><data type="unsignedInt"/></element></optional></element></zeroOrMore></element></zeroOrMore><optional><element name="flows"><ref name="voltha___Flows__rpc"/></element></optional><optional><element name="flow_groups"><ref name="voltha___FlowGroups__rpc"/></element></optional><optional><element name="pm_configs"><ref name="voltha___PmConfigs__rpc"/></element></optional><optional><choice><group><element name="mac_address"><data type="string"/></element></group><group><element name="ipv4_address"><data type="string"/></element></group><group><element name="ipv6_address"><data type="string"/></element></group><group><element name="host_and_port"><data type="string"/></element></group></choice></optional></element></zeroOrMore></define><define name="voltha__ConnectStatus"><choice><value>UNKNOWN</value><value>UNREACHABLE</value><value>REACHABLE</value></choice></define><define name="voltha___AdapterConfig__rpc"><optional><element name="log_level"><ref name="voltha__LogLevel"/></element></optional><optional><element name="additional_config"><ref name="voltha___Any__rpc"/></element></optional></define><define name="voltha___ofp_instruction_actions__rpc"><zeroOrMore><element name="actions"><element name="type"><ref name="voltha__ofp_action_type"/></element><optional><choice><group><element name="output"><ref name="voltha___ofp_action_output__rpc"/></element></group><group><element name="mpls_ttl"><ref name="voltha___ofp_action_mpls_ttl__rpc"/></element></group><group><element name="push"><ref name="voltha___ofp_action_push__rpc"/></element></group><group><element name="pop_mpls"><ref name="voltha___ofp_action_pop_mpls__rpc"/></element></group><group><element name="group"><ref name="voltha___ofp_action_group__rpc"/></element></group><group><element name="nw_ttl"><ref name="voltha___ofp_action_nw_ttl__rpc"/></element></group><group><element name="set_field"><ref name="voltha___ofp_action_set_field__rpc"/></element></group><group><element name="experimenter"><ref name="voltha___ofp_action_experimenter__rpc"/></element></group></choice></optional></element></zeroOrMore></define><define name="voltha___ofp_queue_prop_header"><interleave><optional><element name="property"><data type="unsignedInt"/></element></optional><optional><element name="len"><data type="unsignedInt"/></element></optional></interleave></define><define name="voltha___PmConfigs"><interleave><optional><element name="id"><data type="string"/></element></optional><optional><element name="default_freq"><data type="unsignedInt"/></element></optional><optional><element name="grouped"><choice><value>true</value><value>false</value></choice></element></optional><optional><element name="freq_override"><choice><value>true</value><value>false</value></choice></element></optional><zeroOrMore><element name="groups"><element name="group_name"><data type="string"/></element><interleave><optional><element name="group_freq"><data type="unsignedInt"/></element></optional><optional><element name="enabled"><choice><value>true</value><value>false</value></choice></element></optional><zeroOrMore><element name="metrics"><element name="name"><data type="string"/></element><interleave><optional><element name="type"><ref name="voltha___PmConfig__PmType"/></element></optional><optional><element name="enabled"><choice><value>true</value><value>false</value></choice></element></optional><optional><element name="sample_freq"><data type="unsignedInt"/></element></optional></interleave></element></zeroOrMore></interleave></element></zeroOrMore><zeroOrMore><element name="metrics"><element name="name"><data type="string"/></element><interleave><optional><element name="type"><ref name="voltha___PmConfig__PmType"/></element></optional><optional><element name="enabled"><choice><value>true</value><value>false</value></choice></element></optional><optional><element name="sample_freq"><data type="unsignedInt"/></element></optional></interleave></element></zeroOrMore></interleave></define><define name="voltha___ofp_action_set_field__rpc"><optional><element name="field"><ref name="voltha___ofp_oxm_field__rpc"/></element></optional></define><define name="voltha__ofp_meter_mod_command"><choice><value>OFPMC_ADD</value><value>OFPMC_MODIFY</value><value>OFPMC_DELETE</value></choice></define><define name="voltha___ofp_action_nw_ttl"><optional><element name="nw_ttl"><data type="unsignedInt"/></element></optional></define><define name="voltha__ofp_group_mod_command"><choice><value>OFPGC_ADD</value><value>OFPGC_MODIFY</value><value>OFPGC_DELETE</value></choice></define><define name="voltha___FlowGroups__rpc"><zeroOrMore><element name="items"><element name="type"><ref name="voltha__ofp_group_type"/></element><optional><element name="group_id"><data type="unsignedInt"/></element></optional><zeroOrMore><element name="buckets"><element name="weight"><data type="unsignedInt"/></element><optional><element name="watch_port"><data type="unsignedInt"/></element></optional><optional><element name="watch_group"><data type="unsignedInt"/></element></optional><zeroOrMore><element name="actions"><element name="type"><ref name="voltha__ofp_action_type"/></element><optional><choice><group><element name="output"><ref name="voltha___ofp_action_output__rpc"/></element></group><group><element name="mpls_ttl"><ref name="voltha___ofp_action_mpls_ttl__rpc"/></element></group><group><element name="push"><ref name="voltha___ofp_action_push__rpc"/></element></group><group><element name="pop_mpls"><ref name="voltha___ofp_action_pop_mpls__rpc"/></element></group><group><element name="group"><ref name="voltha___ofp_action_group__rpc"/></element></group><group><element name="nw_ttl"><ref name="voltha___ofp_action_nw_ttl__rpc"/></element></group><group><element name="set_field"><ref name="voltha___ofp_action_set_field__rpc"/></element></group><group><element name="experimenter"><ref name="voltha___ofp_action_experimenter__rpc"/></element></group></choice></optional></element></zeroOrMore></element></zeroOrMore><optional><element name="stats"><ref name="voltha___ofp_group_stats__rpc"/></element></optional></element></zeroOrMore></define><define name="voltha___ofp_action_pop_mpls__rpc"><optional><element name="ethertype"><data type="unsignedInt"/></element></optional></define><define name="voltha___ProxyAddress__rpc"><optional><element name="device_id"><data type="string"/></element></optional><optional><element name="channel_id"><data type="unsignedInt"/></element></optional><optional><element name="onu_id"><data type="unsignedInt"/></element></optional><optional><element name="onu_session_id"><data type="unsignedInt"/></element></optional></define><define name="voltha___DeviceGroups__rpc"><zeroOrMore><element name="items"><element name="id"><data type="string"/></element><zeroOrMore><element name="logical_devices"><element name="id"><data type="string"/></element><optional><element name="datapath_id"><data type="unsignedLong"/></element></optional><optional><element name="desc"><ref name="voltha___ofp_desc__rpc"/></element></optional><optional><element name="switch_features"><ref name="voltha___ofp_switch_features__rpc"/></element></optional><optional><element name="root_device_id"><data type="string"/></element></optional><zeroOrMore><element name="ports"><element name="id"><data type="string"/></element><optional><element name="ofp_port"><ref name="voltha___ofp_port__rpc"/></element></optional><optional><element name="device_id"><data type="string"/></element></optional><optional><element name="device_port_no"><data type="unsignedInt"/></element></optional><optional><element name="root_port"><choice><value>true</value><value>false</value></choice></element></optional></element></zeroOrMore><optional><element name="flows"><ref name="voltha___Flows__rpc"/></element></optional><optional><element name="flow_groups"><ref name="voltha___FlowGroups__rpc"/></element></optional></element></zeroOrMore><zeroOrMore><element name="devices"><element name="id"><data type="string"/></element><optional><element name="type"><data type="string"/></element></optional><optional><element name="root"><choice><value>true</value><value>false</value></choice></element></optional><optional><element name="parent_id"><data type="string"/></element></optional><optional><element name="parent_port_no"><data type="unsignedInt"/></element></optional><optional><element name="vendor"><data type="string"/></element></optional><optional><element name="model"><data type="string"/></element></optional><optional><element name="hardware_version"><data type="string"/></element></optional><optional><element name="firmware_version"><data type="string"/></element></optional><optional><element name="software_version"><data type="string"/></element></optional><optional><element name="serial_number"><data type="string"/></element></optional><optional><element name="adapter"><data type="string"/></element></optional><optional><element name="vlan"><data type="unsignedInt"/></element></optional><optional><element name="proxy_address"><ref name="voltha___ProxyAddress__rpc"/></element></optional><optional><element name="admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="reason"><data type="string"/></element></optional><optional><element name="connect_status"><ref name="voltha__ConnectStatus"/></element></optional><optional><element name="custom"><ref name="voltha___Any__rpc"/></element></optional><zeroOrMore><element name="ports"><element name="port_no"><data type="unsignedInt"/></element><optional><element name="label"><data type="string"/></element></optional><optional><element name="type"><ref name="voltha__PortType"/></element></optional><optional><element name="admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="device_id"><data type="string"/></element></optional><zeroOrMore><element name="peers"><element name="device_id"><data type="string"/></element><optional><element name="port_no"><data type="unsignedInt"/></element></optional></element></zeroOrMore></element></zeroOrMore><optional><element name="flows"><ref name="voltha___Flows__rpc"/></element></optional><optional><element name="flow_groups"><ref name="voltha___FlowGroups__rpc"/></element></optional><optional><element name="pm_configs"><ref name="voltha___PmConfigs__rpc"/></element></optional><optional><choice><group><element name="mac_address"><data type="string"/></element></group><group><element name="ipv4_address"><data type="string"/></element></group><group><element name="ipv6_address"><data type="string"/></element></group><group><element name="host_and_port"><data type="string"/></element></group></choice></optional></element></zeroOrMore></element></zeroOrMore></define><define name="voltha___ofp_instruction_actions"><zeroOrMore><element name="actions"><element name="type"><ref name="voltha__ofp_action_type"/></element><optional><choice><group><element name="output"><ref name="voltha___ofp_action_output"/></element></group><group><element name="mpls_ttl"><ref name="voltha___ofp_action_mpls_ttl"/></element></group><group><element name="push"><ref name="voltha___ofp_action_push"/></element></group><group><element name="pop_mpls"><ref name="voltha___ofp_action_pop_mpls"/></element></group><group><element name="group"><ref name="voltha___ofp_action_group"/></element></group><group><element name="nw_ttl"><ref name="voltha___ofp_action_nw_ttl"/></element></group><group><element name="set_field"><ref name="voltha___ofp_action_set_field"/></element></group><group><element name="experimenter"><ref name="voltha___ofp_action_experimenter"/></element></group></choice></optional></element></zeroOrMore></define><define name="voltha___FlowTableUpdate__rpc"><optional><element name="id"><data type="string"/></element></optional><optional><element name="flow_mod"><ref name="voltha___ofp_flow_mod__rpc"/></element></optional></define><define name="voltha___ofp_instruction_experimenter__rpc"><optional><element name="experimenter"><data type="unsignedInt"/></element></optional><optional><element name="data"><data type="base64Binary"/></element></optional></define><define name="voltha__oxm_ofb_field_types"><choice><value>OFPXMT_OFB_IN_PORT</value><value>OFPXMT_OFB_IN_PHY_PORT</value><value>OFPXMT_OFB_METADATA</value><value>OFPXMT_OFB_ETH_DST</value><value>OFPXMT_OFB_ETH_SRC</value><value>OFPXMT_OFB_ETH_TYPE</value><value>OFPXMT_OFB_VLAN_VID</value><value>OFPXMT_OFB_VLAN_PCP</value><value>OFPXMT_OFB_IP_DSCP</value><value>OFPXMT_OFB_IP_ECN</value><value>OFPXMT_OFB_IP_PROTO</value><value>OFPXMT_OFB_IPV4_SRC</value><value>OFPXMT_OFB_IPV4_DST</value><value>OFPXMT_OFB_TCP_SRC</value><value>OFPXMT_OFB_TCP_DST</value><value>OFPXMT_OFB_UDP_SRC</value><value>OFPXMT_OFB_UDP_DST</value><value>OFPXMT_OFB_SCTP_SRC</value><value>OFPXMT_OFB_SCTP_DST</value><value>OFPXMT_OFB_ICMPV4_TYPE</value><value>OFPXMT_OFB_ICMPV4_CODE</value><value>OFPXMT_OFB_ARP_OP</value><value>OFPXMT_OFB_ARP_SPA</value><value>OFPXMT_OFB_ARP_TPA</value><value>OFPXMT_OFB_ARP_SHA</value><value>OFPXMT_OFB_ARP_THA</value><value>OFPXMT_OFB_IPV6_SRC</value><value>OFPXMT_OFB_IPV6_DST</value><value>OFPXMT_OFB_IPV6_FLABEL</value><value>OFPXMT_OFB_ICMPV6_TYPE</value><value>OFPXMT_OFB_ICMPV6_CODE</value><value>OFPXMT_OFB_IPV6_ND_TARGET</value><value>OFPXMT_OFB_IPV6_ND_SLL</value><value>OFPXMT_OFB_IPV6_ND_TLL</value><value>OFPXMT_OFB_MPLS_LABEL</value><value>OFPXMT_OFB_MPLS_TC</value><value>OFPXMT_OFB_MPLS_BOS</value><value>OFPXMT_OFB_PBB_ISID</value><value>OFPXMT_OFB_TUNNEL_ID</value><value>OFPXMT_OFB_IPV6_EXTHDR</value></choice></define><define name="voltha___DeviceType__rpc"><optional><element name="id"><data type="string"/></element></optional><optional><element name="adapter"><data type="string"/></element></optional><optional><element name="accepts_bulk_flow_update"><choice><value>true</value><value>false</value></choice></element></optional><optional><element name="accepts_add_remove_flow_updates"><choice><value>true</value><value>false</value></choice></element></optional></define><define name="voltha___ofp_match__rpc"><optional><element name="type"><ref name="voltha__ofp_match_type"/></element></optional><zeroOrMore><element name="oxm_fields"><element name="oxm_class"><ref name="voltha__ofp_oxm_class"/></element><optional><choice><group><element name="ofb_field"><ref name="voltha___ofp_oxm_ofb_field__rpc"/></element></group><group><element name="experimenter_field"><ref name="voltha___ofp_oxm_experimenter_field__rpc"/></element></group></choice></optional></element></zeroOrMore></define><define name="voltha___PmConfigs__rpc"><optional><element name="id"><data type="string"/></element></optional><optional><element name="default_freq"><data type="unsignedInt"/></element></optional><optional><element name="grouped"><choice><value>true</value><value>false</value></choice></element></optional><optional><element name="freq_override"><choice><value>true</value><value>false</value></choice></element></optional><zeroOrMore><element name="groups"><element name="group_name"><data type="string"/></element><optional><element name="group_freq"><data type="unsignedInt"/></element></optional><optional><element name="enabled"><choice><value>true</value><value>false</value></choice></element></optional><zeroOrMore><element name="metrics"><element name="name"><data type="string"/></element><optional><element name="type"><ref name="voltha___PmConfig__PmType"/></element></optional><optional><element name="enabled"><choice><value>true</value><value>false</value></choice></element></optional><optional><element name="sample_freq"><data type="unsignedInt"/></element></optional></element></zeroOrMore></element></zeroOrMore><zeroOrMore><element name="metrics"><element name="name"><data type="string"/></element><optional><element name="type"><ref name="voltha___PmConfig__PmType"/></element></optional><optional><element name="enabled"><choice><value>true</value><value>false</value></choice></element></optional><optional><element name="sample_freq"><data type="unsignedInt"/></element></optional></element></zeroOrMore></define><define name="voltha___ofp_port"><interleave><optional><element name="port_no"><data type="unsignedInt"/></element></optional><zeroOrMore><element name="hw_addr"><element name="hw_addr"><data type="unsignedInt"/></element><empty/></element></zeroOrMore><optional><element name="name"><data type="string"/></element></optional><optional><element name="config"><data type="unsignedInt"/></element></optional><optional><element name="state"><data type="unsignedInt"/></element></optional><optional><element name="curr"><data type="unsignedInt"/></element></optional><optional><element name="advertised"><data type="unsignedInt"/></element></optional><optional><element name="supported"><data type="unsignedInt"/></element></optional><optional><element name="peer"><data type="unsignedInt"/></element></optional><optional><element name="curr_speed"><data type="unsignedInt"/></element></optional><optional><element name="max_speed"><data type="unsignedInt"/></element></optional></interleave></define><define name="voltha__ofp_type"><choice><value>OFPT_HELLO</value><value>OFPT_ERROR</value><value>OFPT_ECHO_REQUEST</value><value>OFPT_ECHO_REPLY</value><value>OFPT_EXPERIMENTER</value><value>OFPT_FEATURES_REQUEST</value><value>OFPT_FEATURES_REPLY</value><value>OFPT_GET_CONFIG_REQUEST</value><value>OFPT_GET_CONFIG_REPLY</value><value>OFPT_SET_CONFIG</value><value>OFPT_PACKET_IN</value><value>OFPT_FLOW_REMOVED</value><value>OFPT_PORT_STATUS</value><value>OFPT_PACKET_OUT</value><value>OFPT_FLOW_MOD</value><value>OFPT_GROUP_MOD</value><value>OFPT_PORT_MOD</value><value>OFPT_TABLE_MOD</value><value>OFPT_MULTIPART_REQUEST</value><value>OFPT_MULTIPART_REPLY</value><value>OFPT_BARRIER_REQUEST</value><value>OFPT_BARRIER_REPLY</value><value>OFPT_QUEUE_GET_CONFIG_REQUEST</value><value>OFPT_QUEUE_GET_CONFIG_REPLY</value><value>OFPT_ROLE_REQUEST</value><value>OFPT_ROLE_REPLY</value><value>OFPT_GET_ASYNC_REQUEST</value><value>OFPT_GET_ASYNC_REPLY</value><value>OFPT_SET_ASYNC</value><value>OFPT_METER_MOD</value></choice></define><define name="voltha___ofp_instruction_meter__rpc"><optional><element name="meter_id"><data type="unsignedInt"/></element></optional></define><define name="voltha___ofp_oxm_experimenter_field"><interleave><optional><element name="oxm_header"><data type="unsignedInt"/></element></optional><optional><element name="experimenter"><data type="unsignedInt"/></element></optional></interleave></define><define name="voltha___Devices__rpc"><zeroOrMore><element name="items"><element name="id"><data type="string"/></element><optional><element name="type"><data type="string"/></element></optional><optional><element name="root"><choice><value>true</value><value>false</value></choice></element></optional><optional><element name="parent_id"><data type="string"/></element></optional><optional><element name="parent_port_no"><data type="unsignedInt"/></element></optional><optional><element name="vendor"><data type="string"/></element></optional><optional><element name="model"><data type="string"/></element></optional><optional><element name="hardware_version"><data type="string"/></element></optional><optional><element name="firmware_version"><data type="string"/></element></optional><optional><element name="software_version"><data type="string"/></element></optional><optional><element name="serial_number"><data type="string"/></element></optional><optional><element name="adapter"><data type="string"/></element></optional><optional><element name="vlan"><data type="unsignedInt"/></element></optional><optional><element name="proxy_address"><ref name="voltha___ProxyAddress__rpc"/></element></optional><optional><element name="admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="reason"><data type="string"/></element></optional><optional><element name="connect_status"><ref name="voltha__ConnectStatus"/></element></optional><optional><element name="custom"><ref name="voltha___Any__rpc"/></element></optional><zeroOrMore><element name="ports"><element name="port_no"><data type="unsignedInt"/></element><optional><element name="label"><data type="string"/></element></optional><optional><element name="type"><ref name="voltha__PortType"/></element></optional><optional><element name="admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="device_id"><data type="string"/></element></optional><zeroOrMore><element name="peers"><element name="device_id"><data type="string"/></element><optional><element name="port_no"><data type="unsignedInt"/></element></optional></element></zeroOrMore></element></zeroOrMore><optional><element name="flows"><ref name="voltha___Flows__rpc"/></element></optional><optional><element name="flow_groups"><ref name="voltha___FlowGroups__rpc"/></element></optional><optional><element name="pm_configs"><ref name="voltha___PmConfigs__rpc"/></element></optional><optional><choice><group><element name="mac_address"><data type="string"/></element></group><group><element name="ipv4_address"><data type="string"/></element></group><group><element name="ipv6_address"><data type="string"/></element></group><group><element name="host_and_port"><data type="string"/></element></group></choice></optional></element></zeroOrMore></define><define name="voltha___ofp_action_set_field"><optional><element name="field"><ref name="voltha___ofp_oxm_field"/></element></optional></define><define name="voltha___ofp_action_mpls_ttl"><optional><element name="mpls_ttl"><data type="unsignedInt"/></element></optional></define></grammar>