| <?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" ns="urn:ietf:params:xml:ns:netconf:base:1.0"><include href="/usr/share/libnetconf/rnglib//relaxng-lib.rng"/><start><element name="config"><interleave><grammar ns="urn:opencord:params:xml:ns:voltha:voltha"><include href="./voltha-gdefs-config.rng"/><start><interleave><optional><element name="voltha:VolthaInstance"><interleave><optional><element name="voltha:instance_id"><data type="string"/></element></optional><optional><element name="voltha:version"><data type="string"/></element></optional><optional><element name="voltha:log_level"><ref name="voltha__LogLevel"/></element></optional><optional><element name="voltha:health"><ref name="voltha___HealthStatus"/></element></optional><zeroOrMore><element name="voltha:adapters"><element name="voltha:id"><data type="string"/></element><interleave><optional><element name="voltha:vendor"><data type="string"/></element></optional><optional><element name="voltha:version"><data type="string"/></element></optional><optional><element name="voltha:config"><ref name="voltha___AdapterConfig"/></element></optional><optional><element name="voltha:additional_description"><ref name="voltha___Any"/></element></optional><zeroOrMore><element name="voltha:logical_device_ids"><element name="voltha:logical_device_ids"><data type="string"/></element><empty/></element></zeroOrMore></interleave></element></zeroOrMore><zeroOrMore><element name="voltha:logical_devices"><element name="voltha:id"><data type="string"/></element><interleave><optional><element name="voltha:datapath_id"><data type="unsignedLong"/></element></optional><optional><element name="voltha:desc"><ref name="voltha___ofp_desc"/></element></optional><optional><element name="voltha:switch_features"><ref name="voltha___ofp_switch_features"/></element></optional><optional><element name="voltha:root_device_id"><data type="string"/></element></optional><zeroOrMore><element name="voltha:ports"><element name="voltha:id"><data type="string"/></element><interleave><optional><element name="voltha:ofp_port"><ref name="voltha___ofp_port"/></element></optional><optional><element name="voltha:device_id"><data type="string"/></element></optional><optional><element name="voltha:device_port_no"><data type="unsignedInt"/></element></optional><optional><element name="voltha:root_port"><choice><value>true</value><value>false</value></choice></element></optional></interleave></element></zeroOrMore><optional><element name="voltha:flows"><ref name="voltha___Flows"/></element></optional><optional><element name="voltha:flow_groups"><ref name="voltha___FlowGroups"/></element></optional></interleave></element></zeroOrMore><zeroOrMore><element name="voltha:devices"><element name="voltha:id"><data type="string"/></element><interleave><optional><element name="voltha:type"><data type="string"/></element></optional><optional><element name="voltha:root"><choice><value>true</value><value>false</value></choice></element></optional><optional><element name="voltha:parent_id"><data type="string"/></element></optional><optional><element name="voltha:parent_port_no"><data type="unsignedInt"/></element></optional><optional><element name="voltha:vendor"><data type="string"/></element></optional><optional><element name="voltha:model"><data type="string"/></element></optional><optional><element name="voltha:hardware_version"><data type="string"/></element></optional><optional><element name="voltha:firmware_version"><data type="string"/></element></optional><optional><element name="voltha:software_version"><data type="string"/></element></optional><optional><element name="voltha:serial_number"><data type="string"/></element></optional><optional><element name="voltha:adapter"><data type="string"/></element></optional><optional><element name="voltha:vlan"><data type="unsignedInt"/></element></optional><optional><element name="voltha:proxy_address"><ref name="voltha___ProxyAddress"/></element></optional><optional><element name="voltha:admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="voltha:oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="voltha:reason"><data type="string"/></element></optional><optional><element name="voltha:connect_status"><ref name="voltha__ConnectStatus"/></element></optional><optional><element name="voltha:custom"><ref name="voltha___Any"/></element></optional><zeroOrMore><element name="voltha:ports"><element name="voltha:port_no"><data type="unsignedInt"/></element><interleave><optional><element name="voltha:label"><data type="string"/></element></optional><optional><element name="voltha:type"><ref name="voltha__PortType"/></element></optional><optional><element name="voltha:admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="voltha:oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="voltha:device_id"><data type="string"/></element></optional><zeroOrMore><element name="voltha:peers"><element name="voltha:device_id"><data type="string"/></element><optional><element name="voltha:port_no"><data type="unsignedInt"/></element></optional></element></zeroOrMore></interleave></element></zeroOrMore><optional><element name="voltha:flows"><ref name="voltha___Flows"/></element></optional><optional><element name="voltha:flow_groups"><ref name="voltha___FlowGroups"/></element></optional><optional><element name="voltha:pm_configs"><ref name="voltha___PmConfigs"/></element></optional><optional><choice><group><element name="voltha:mac_address"><data type="string"/></element></group><group><element name="voltha:ipv4_address"><data type="string"/></element></group><group><element name="voltha:ipv6_address"><data type="string"/></element></group><group><element name="voltha:host_and_port"><data type="string"/></element></group></choice></optional></interleave></element></zeroOrMore><zeroOrMore><element name="voltha:device_types"><element name="voltha:id"><data type="string"/></element><interleave><optional><element name="voltha:adapter"><data type="string"/></element></optional><optional><element name="voltha:accepts_bulk_flow_update"><choice><value>true</value><value>false</value></choice></element></optional><optional><element name="voltha:accepts_add_remove_flow_updates"><choice><value>true</value><value>false</value></choice></element></optional></interleave></element></zeroOrMore><zeroOrMore><element name="voltha:device_groups"><element name="voltha:id"><data type="string"/></element><interleave><zeroOrMore><element name="voltha:logical_devices"><element name="voltha:id"><data type="string"/></element><interleave><optional><element name="voltha:datapath_id"><data type="unsignedLong"/></element></optional><optional><element name="voltha:desc"><ref name="voltha___ofp_desc"/></element></optional><optional><element name="voltha:switch_features"><ref name="voltha___ofp_switch_features"/></element></optional><optional><element name="voltha:root_device_id"><data type="string"/></element></optional><zeroOrMore><element name="voltha:ports"><element name="voltha:id"><data type="string"/></element><interleave><optional><element name="voltha:ofp_port"><ref name="voltha___ofp_port"/></element></optional><optional><element name="voltha:device_id"><data type="string"/></element></optional><optional><element name="voltha:device_port_no"><data type="unsignedInt"/></element></optional><optional><element name="voltha:root_port"><choice><value>true</value><value>false</value></choice></element></optional></interleave></element></zeroOrMore><optional><element name="voltha:flows"><ref name="voltha___Flows"/></element></optional><optional><element name="voltha:flow_groups"><ref name="voltha___FlowGroups"/></element></optional></interleave></element></zeroOrMore><zeroOrMore><element name="voltha:devices"><element name="voltha:id"><data type="string"/></element><interleave><optional><element name="voltha:type"><data type="string"/></element></optional><optional><element name="voltha:root"><choice><value>true</value><value>false</value></choice></element></optional><optional><element name="voltha:parent_id"><data type="string"/></element></optional><optional><element name="voltha:parent_port_no"><data type="unsignedInt"/></element></optional><optional><element name="voltha:vendor"><data type="string"/></element></optional><optional><element name="voltha:model"><data type="string"/></element></optional><optional><element name="voltha:hardware_version"><data type="string"/></element></optional><optional><element name="voltha:firmware_version"><data type="string"/></element></optional><optional><element name="voltha:software_version"><data type="string"/></element></optional><optional><element name="voltha:serial_number"><data type="string"/></element></optional><optional><element name="voltha:adapter"><data type="string"/></element></optional><optional><element name="voltha:vlan"><data type="unsignedInt"/></element></optional><optional><element name="voltha:proxy_address"><ref name="voltha___ProxyAddress"/></element></optional><optional><element name="voltha:admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="voltha:oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="voltha:reason"><data type="string"/></element></optional><optional><element name="voltha:connect_status"><ref name="voltha__ConnectStatus"/></element></optional><optional><element name="voltha:custom"><ref name="voltha___Any"/></element></optional><zeroOrMore><element name="voltha:ports"><element name="voltha:port_no"><data type="unsignedInt"/></element><interleave><optional><element name="voltha:label"><data type="string"/></element></optional><optional><element name="voltha:type"><ref name="voltha__PortType"/></element></optional><optional><element name="voltha:admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="voltha:oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="voltha:device_id"><data type="string"/></element></optional><zeroOrMore><element name="voltha:peers"><element name="voltha:device_id"><data type="string"/></element><optional><element name="voltha:port_no"><data type="unsignedInt"/></element></optional></element></zeroOrMore></interleave></element></zeroOrMore><optional><element name="voltha:flows"><ref name="voltha___Flows"/></element></optional><optional><element name="voltha:flow_groups"><ref name="voltha___FlowGroups"/></element></optional><optional><element name="voltha:pm_configs"><ref name="voltha___PmConfigs"/></element></optional><optional><choice><group><element name="voltha:mac_address"><data type="string"/></element></group><group><element name="voltha:ipv4_address"><data type="string"/></element></group><group><element name="voltha:ipv6_address"><data type="string"/></element></group><group><element name="voltha:host_and_port"><data type="string"/></element></group></choice></optional></interleave></element></zeroOrMore></interleave></element></zeroOrMore><zeroOrMore><element name="voltha:alarm_filters"><element name="voltha:id"><data type="string"/></element><zeroOrMore><element name="voltha:rules"><element name="voltha:key"><ref name="voltha__AlarmFilterRuleKey"/></element><optional><element name="voltha:value"><data type="string"/></element></optional></element></zeroOrMore></element></zeroOrMore></interleave></element></optional><optional><element name="voltha:VolthaInstances"><zeroOrMore><element name="voltha:items"><element name="voltha:items"><data type="string"/></element><empty/></element></zeroOrMore></element></optional><optional><element name="voltha:Voltha"><interleave><optional><element name="voltha:version"><data type="string"/></element></optional><optional><element name="voltha:log_level"><ref name="voltha__LogLevel"/></element></optional><zeroOrMore><element name="voltha:instances"><element name="voltha:instance_id"><data type="string"/></element><interleave><optional><element name="voltha:version"><data type="string"/></element></optional><optional><element name="voltha:log_level"><ref name="voltha__LogLevel"/></element></optional><optional><element name="voltha:health"><ref name="voltha___HealthStatus"/></element></optional><zeroOrMore><element name="voltha:adapters"><element name="voltha:id"><data type="string"/></element><interleave><optional><element name="voltha:vendor"><data type="string"/></element></optional><optional><element name="voltha:version"><data type="string"/></element></optional><optional><element name="voltha:config"><ref name="voltha___AdapterConfig"/></element></optional><optional><element name="voltha:additional_description"><ref name="voltha___Any"/></element></optional><zeroOrMore><element name="voltha:logical_device_ids"><element name="voltha:logical_device_ids"><data type="string"/></element><empty/></element></zeroOrMore></interleave></element></zeroOrMore><zeroOrMore><element name="voltha:logical_devices"><element name="voltha:id"><data type="string"/></element><interleave><optional><element name="voltha:datapath_id"><data type="unsignedLong"/></element></optional><optional><element name="voltha:desc"><ref name="voltha___ofp_desc"/></element></optional><optional><element name="voltha:switch_features"><ref name="voltha___ofp_switch_features"/></element></optional><optional><element name="voltha:root_device_id"><data type="string"/></element></optional><zeroOrMore><element name="voltha:ports"><element name="voltha:id"><data type="string"/></element><interleave><optional><element name="voltha:ofp_port"><ref name="voltha___ofp_port"/></element></optional><optional><element name="voltha:device_id"><data type="string"/></element></optional><optional><element name="voltha:device_port_no"><data type="unsignedInt"/></element></optional><optional><element name="voltha:root_port"><choice><value>true</value><value>false</value></choice></element></optional></interleave></element></zeroOrMore><optional><element name="voltha:flows"><ref name="voltha___Flows"/></element></optional><optional><element name="voltha:flow_groups"><ref name="voltha___FlowGroups"/></element></optional></interleave></element></zeroOrMore><zeroOrMore><element name="voltha:devices"><element name="voltha:id"><data type="string"/></element><interleave><optional><element name="voltha:type"><data type="string"/></element></optional><optional><element name="voltha:root"><choice><value>true</value><value>false</value></choice></element></optional><optional><element name="voltha:parent_id"><data type="string"/></element></optional><optional><element name="voltha:parent_port_no"><data type="unsignedInt"/></element></optional><optional><element name="voltha:vendor"><data type="string"/></element></optional><optional><element name="voltha:model"><data type="string"/></element></optional><optional><element name="voltha:hardware_version"><data type="string"/></element></optional><optional><element name="voltha:firmware_version"><data type="string"/></element></optional><optional><element name="voltha:software_version"><data type="string"/></element></optional><optional><element name="voltha:serial_number"><data type="string"/></element></optional><optional><element name="voltha:adapter"><data type="string"/></element></optional><optional><element name="voltha:vlan"><data type="unsignedInt"/></element></optional><optional><element name="voltha:proxy_address"><ref name="voltha___ProxyAddress"/></element></optional><optional><element name="voltha:admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="voltha:oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="voltha:reason"><data type="string"/></element></optional><optional><element name="voltha:connect_status"><ref name="voltha__ConnectStatus"/></element></optional><optional><element name="voltha:custom"><ref name="voltha___Any"/></element></optional><zeroOrMore><element name="voltha:ports"><element name="voltha:port_no"><data type="unsignedInt"/></element><interleave><optional><element name="voltha:label"><data type="string"/></element></optional><optional><element name="voltha:type"><ref name="voltha__PortType"/></element></optional><optional><element name="voltha:admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="voltha:oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="voltha:device_id"><data type="string"/></element></optional><zeroOrMore><element name="voltha:peers"><element name="voltha:device_id"><data type="string"/></element><optional><element name="voltha:port_no"><data type="unsignedInt"/></element></optional></element></zeroOrMore></interleave></element></zeroOrMore><optional><element name="voltha:flows"><ref name="voltha___Flows"/></element></optional><optional><element name="voltha:flow_groups"><ref name="voltha___FlowGroups"/></element></optional><optional><element name="voltha:pm_configs"><ref name="voltha___PmConfigs"/></element></optional><optional><choice><group><element name="voltha:mac_address"><data type="string"/></element></group><group><element name="voltha:ipv4_address"><data type="string"/></element></group><group><element name="voltha:ipv6_address"><data type="string"/></element></group><group><element name="voltha:host_and_port"><data type="string"/></element></group></choice></optional></interleave></element></zeroOrMore><zeroOrMore><element name="voltha:device_types"><element name="voltha:id"><data type="string"/></element><interleave><optional><element name="voltha:adapter"><data type="string"/></element></optional><optional><element name="voltha:accepts_bulk_flow_update"><choice><value>true</value><value>false</value></choice></element></optional><optional><element name="voltha:accepts_add_remove_flow_updates"><choice><value>true</value><value>false</value></choice></element></optional></interleave></element></zeroOrMore><zeroOrMore><element name="voltha:device_groups"><element name="voltha:id"><data type="string"/></element><interleave><zeroOrMore><element name="voltha:logical_devices"><element name="voltha:id"><data type="string"/></element><interleave><optional><element name="voltha:datapath_id"><data type="unsignedLong"/></element></optional><optional><element name="voltha:desc"><ref name="voltha___ofp_desc"/></element></optional><optional><element name="voltha:switch_features"><ref name="voltha___ofp_switch_features"/></element></optional><optional><element name="voltha:root_device_id"><data type="string"/></element></optional><zeroOrMore><element name="voltha:ports"><element name="voltha:id"><data type="string"/></element><interleave><optional><element name="voltha:ofp_port"><ref name="voltha___ofp_port"/></element></optional><optional><element name="voltha:device_id"><data type="string"/></element></optional><optional><element name="voltha:device_port_no"><data type="unsignedInt"/></element></optional><optional><element name="voltha:root_port"><choice><value>true</value><value>false</value></choice></element></optional></interleave></element></zeroOrMore><optional><element name="voltha:flows"><ref name="voltha___Flows"/></element></optional><optional><element name="voltha:flow_groups"><ref name="voltha___FlowGroups"/></element></optional></interleave></element></zeroOrMore><zeroOrMore><element name="voltha:devices"><element name="voltha:id"><data type="string"/></element><interleave><optional><element name="voltha:type"><data type="string"/></element></optional><optional><element name="voltha:root"><choice><value>true</value><value>false</value></choice></element></optional><optional><element name="voltha:parent_id"><data type="string"/></element></optional><optional><element name="voltha:parent_port_no"><data type="unsignedInt"/></element></optional><optional><element name="voltha:vendor"><data type="string"/></element></optional><optional><element name="voltha:model"><data type="string"/></element></optional><optional><element name="voltha:hardware_version"><data type="string"/></element></optional><optional><element name="voltha:firmware_version"><data type="string"/></element></optional><optional><element name="voltha:software_version"><data type="string"/></element></optional><optional><element name="voltha:serial_number"><data type="string"/></element></optional><optional><element name="voltha:adapter"><data type="string"/></element></optional><optional><element name="voltha:vlan"><data type="unsignedInt"/></element></optional><optional><element name="voltha:proxy_address"><ref name="voltha___ProxyAddress"/></element></optional><optional><element name="voltha:admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="voltha:oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="voltha:reason"><data type="string"/></element></optional><optional><element name="voltha:connect_status"><ref name="voltha__ConnectStatus"/></element></optional><optional><element name="voltha:custom"><ref name="voltha___Any"/></element></optional><zeroOrMore><element name="voltha:ports"><element name="voltha:port_no"><data type="unsignedInt"/></element><interleave><optional><element name="voltha:label"><data type="string"/></element></optional><optional><element name="voltha:type"><ref name="voltha__PortType"/></element></optional><optional><element name="voltha:admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="voltha:oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="voltha:device_id"><data type="string"/></element></optional><zeroOrMore><element name="voltha:peers"><element name="voltha:device_id"><data type="string"/></element><optional><element name="voltha:port_no"><data type="unsignedInt"/></element></optional></element></zeroOrMore></interleave></element></zeroOrMore><optional><element name="voltha:flows"><ref name="voltha___Flows"/></element></optional><optional><element name="voltha:flow_groups"><ref name="voltha___FlowGroups"/></element></optional><optional><element name="voltha:pm_configs"><ref name="voltha___PmConfigs"/></element></optional><optional><choice><group><element name="voltha:mac_address"><data type="string"/></element></group><group><element name="voltha:ipv4_address"><data type="string"/></element></group><group><element name="voltha:ipv6_address"><data type="string"/></element></group><group><element name="voltha:host_and_port"><data type="string"/></element></group></choice></optional></interleave></element></zeroOrMore></interleave></element></zeroOrMore><zeroOrMore><element name="voltha:alarm_filters"><element name="voltha:id"><data type="string"/></element><zeroOrMore><element name="voltha:rules"><element name="voltha:key"><ref name="voltha__AlarmFilterRuleKey"/></element><optional><element name="voltha:value"><data type="string"/></element></optional></element></zeroOrMore></element></zeroOrMore></interleave></element></zeroOrMore><zeroOrMore><element name="voltha:adapters"><element name="voltha:id"><data type="string"/></element><interleave><optional><element name="voltha:vendor"><data type="string"/></element></optional><optional><element name="voltha:version"><data type="string"/></element></optional><optional><element name="voltha:config"><ref name="voltha___AdapterConfig"/></element></optional><optional><element name="voltha:additional_description"><ref name="voltha___Any"/></element></optional><zeroOrMore><element name="voltha:logical_device_ids"><element name="voltha:logical_device_ids"><data type="string"/></element><empty/></element></zeroOrMore></interleave></element></zeroOrMore><zeroOrMore><element name="voltha:logical_devices"><element name="voltha:id"><data type="string"/></element><interleave><optional><element name="voltha:datapath_id"><data type="unsignedLong"/></element></optional><optional><element name="voltha:desc"><ref name="voltha___ofp_desc"/></element></optional><optional><element name="voltha:switch_features"><ref name="voltha___ofp_switch_features"/></element></optional><optional><element name="voltha:root_device_id"><data type="string"/></element></optional><zeroOrMore><element name="voltha:ports"><element name="voltha:id"><data type="string"/></element><interleave><optional><element name="voltha:ofp_port"><ref name="voltha___ofp_port"/></element></optional><optional><element name="voltha:device_id"><data type="string"/></element></optional><optional><element name="voltha:device_port_no"><data type="unsignedInt"/></element></optional><optional><element name="voltha:root_port"><choice><value>true</value><value>false</value></choice></element></optional></interleave></element></zeroOrMore><optional><element name="voltha:flows"><ref name="voltha___Flows"/></element></optional><optional><element name="voltha:flow_groups"><ref name="voltha___FlowGroups"/></element></optional></interleave></element></zeroOrMore><zeroOrMore><element name="voltha:devices"><element name="voltha:id"><data type="string"/></element><interleave><optional><element name="voltha:type"><data type="string"/></element></optional><optional><element name="voltha:root"><choice><value>true</value><value>false</value></choice></element></optional><optional><element name="voltha:parent_id"><data type="string"/></element></optional><optional><element name="voltha:parent_port_no"><data type="unsignedInt"/></element></optional><optional><element name="voltha:vendor"><data type="string"/></element></optional><optional><element name="voltha:model"><data type="string"/></element></optional><optional><element name="voltha:hardware_version"><data type="string"/></element></optional><optional><element name="voltha:firmware_version"><data type="string"/></element></optional><optional><element name="voltha:software_version"><data type="string"/></element></optional><optional><element name="voltha:serial_number"><data type="string"/></element></optional><optional><element name="voltha:adapter"><data type="string"/></element></optional><optional><element name="voltha:vlan"><data type="unsignedInt"/></element></optional><optional><element name="voltha:proxy_address"><ref name="voltha___ProxyAddress"/></element></optional><optional><element name="voltha:admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="voltha:oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="voltha:reason"><data type="string"/></element></optional><optional><element name="voltha:connect_status"><ref name="voltha__ConnectStatus"/></element></optional><optional><element name="voltha:custom"><ref name="voltha___Any"/></element></optional><zeroOrMore><element name="voltha:ports"><element name="voltha:port_no"><data type="unsignedInt"/></element><interleave><optional><element name="voltha:label"><data type="string"/></element></optional><optional><element name="voltha:type"><ref name="voltha__PortType"/></element></optional><optional><element name="voltha:admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="voltha:oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="voltha:device_id"><data type="string"/></element></optional><zeroOrMore><element name="voltha:peers"><element name="voltha:device_id"><data type="string"/></element><optional><element name="voltha:port_no"><data type="unsignedInt"/></element></optional></element></zeroOrMore></interleave></element></zeroOrMore><optional><element name="voltha:flows"><ref name="voltha___Flows"/></element></optional><optional><element name="voltha:flow_groups"><ref name="voltha___FlowGroups"/></element></optional><optional><element name="voltha:pm_configs"><ref name="voltha___PmConfigs"/></element></optional><optional><choice><group><element name="voltha:mac_address"><data type="string"/></element></group><group><element name="voltha:ipv4_address"><data type="string"/></element></group><group><element name="voltha:ipv6_address"><data type="string"/></element></group><group><element name="voltha:host_and_port"><data type="string"/></element></group></choice></optional></interleave></element></zeroOrMore><zeroOrMore><element name="voltha:device_groups"><element name="voltha:id"><data type="string"/></element><interleave><zeroOrMore><element name="voltha:logical_devices"><element name="voltha:id"><data type="string"/></element><interleave><optional><element name="voltha:datapath_id"><data type="unsignedLong"/></element></optional><optional><element name="voltha:desc"><ref name="voltha___ofp_desc"/></element></optional><optional><element name="voltha:switch_features"><ref name="voltha___ofp_switch_features"/></element></optional><optional><element name="voltha:root_device_id"><data type="string"/></element></optional><zeroOrMore><element name="voltha:ports"><element name="voltha:id"><data type="string"/></element><interleave><optional><element name="voltha:ofp_port"><ref name="voltha___ofp_port"/></element></optional><optional><element name="voltha:device_id"><data type="string"/></element></optional><optional><element name="voltha:device_port_no"><data type="unsignedInt"/></element></optional><optional><element name="voltha:root_port"><choice><value>true</value><value>false</value></choice></element></optional></interleave></element></zeroOrMore><optional><element name="voltha:flows"><ref name="voltha___Flows"/></element></optional><optional><element name="voltha:flow_groups"><ref name="voltha___FlowGroups"/></element></optional></interleave></element></zeroOrMore><zeroOrMore><element name="voltha:devices"><element name="voltha:id"><data type="string"/></element><interleave><optional><element name="voltha:type"><data type="string"/></element></optional><optional><element name="voltha:root"><choice><value>true</value><value>false</value></choice></element></optional><optional><element name="voltha:parent_id"><data type="string"/></element></optional><optional><element name="voltha:parent_port_no"><data type="unsignedInt"/></element></optional><optional><element name="voltha:vendor"><data type="string"/></element></optional><optional><element name="voltha:model"><data type="string"/></element></optional><optional><element name="voltha:hardware_version"><data type="string"/></element></optional><optional><element name="voltha:firmware_version"><data type="string"/></element></optional><optional><element name="voltha:software_version"><data type="string"/></element></optional><optional><element name="voltha:serial_number"><data type="string"/></element></optional><optional><element name="voltha:adapter"><data type="string"/></element></optional><optional><element name="voltha:vlan"><data type="unsignedInt"/></element></optional><optional><element name="voltha:proxy_address"><ref name="voltha___ProxyAddress"/></element></optional><optional><element name="voltha:admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="voltha:oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="voltha:reason"><data type="string"/></element></optional><optional><element name="voltha:connect_status"><ref name="voltha__ConnectStatus"/></element></optional><optional><element name="voltha:custom"><ref name="voltha___Any"/></element></optional><zeroOrMore><element name="voltha:ports"><element name="voltha:port_no"><data type="unsignedInt"/></element><interleave><optional><element name="voltha:label"><data type="string"/></element></optional><optional><element name="voltha:type"><ref name="voltha__PortType"/></element></optional><optional><element name="voltha:admin_state"><ref name="voltha__AdminState"/></element></optional><optional><element name="voltha:oper_status"><ref name="voltha__OperStatus"/></element></optional><optional><element name="voltha:device_id"><data type="string"/></element></optional><zeroOrMore><element name="voltha:peers"><element name="voltha:device_id"><data type="string"/></element><optional><element name="voltha:port_no"><data type="unsignedInt"/></element></optional></element></zeroOrMore></interleave></element></zeroOrMore><optional><element name="voltha:flows"><ref name="voltha___Flows"/></element></optional><optional><element name="voltha:flow_groups"><ref name="voltha___FlowGroups"/></element></optional><optional><element name="voltha:pm_configs"><ref name="voltha___PmConfigs"/></element></optional><optional><choice><group><element name="voltha:mac_address"><data type="string"/></element></group><group><element name="voltha:ipv4_address"><data type="string"/></element></group><group><element name="voltha:ipv6_address"><data type="string"/></element></group><group><element name="voltha:host_and_port"><data type="string"/></element></group></choice></optional></interleave></element></zeroOrMore></interleave></element></zeroOrMore></interleave></element></optional><optional><element name="voltha:ChildNode"><optional><element name="voltha:key"><data type="string"/></element></optional></element></optional><optional><element name="voltha:ofp_header"><interleave><optional><element name="voltha:version"><data type="unsignedInt"/></element></optional><optional><element name="voltha:type"><ref name="voltha__ofp_type"/></element></optional><optional><element name="voltha:xid"><data type="unsignedInt"/></element></optional></interleave></element></optional><optional><element name="voltha:ofp_hello"><zeroOrMore><element name="voltha:elements"><element name="voltha:type"><ref name="voltha__ofp_hello_elem_type"/></element><optional><choice><group><element name="voltha:versionbitmap"><ref name="voltha___ofp_hello_elem_versionbitmap"/></element></group></choice></optional></element></zeroOrMore></element></optional><optional><element name="voltha:ofp_switch_config"><interleave><optional><element name="voltha:flags"><data type="unsignedInt"/></element></optional><optional><element name="voltha:miss_send_len"><data type="unsignedInt"/></element></optional></interleave></element></optional><optional><element name="voltha:ofp_table_mod"><interleave><optional><element name="voltha:table_id"><data type="unsignedInt"/></element></optional><optional><element name="voltha:config"><data type="unsignedInt"/></element></optional></interleave></element></optional><optional><element name="voltha:ofp_port_mod"><interleave><optional><element name="voltha:port_no"><data type="unsignedInt"/></element></optional><zeroOrMore><element name="voltha:hw_addr"><element name="voltha:hw_addr"><data type="unsignedInt"/></element><empty/></element></zeroOrMore><optional><element name="voltha:config"><data type="unsignedInt"/></element></optional><optional><element name="voltha:mask"><data type="unsignedInt"/></element></optional><optional><element name="voltha:advertise"><data type="unsignedInt"/></element></optional></interleave></element></optional><optional><element name="voltha:ofp_flow_removed"><interleave><optional><element name="voltha:cookie"><data type="unsignedLong"/></element></optional><optional><element name="voltha:priority"><data type="unsignedInt"/></element></optional><optional><element name="voltha:reason"><ref name="voltha__ofp_flow_removed_reason"/></element></optional><optional><element name="voltha:table_id"><data type="unsignedInt"/></element></optional><optional><element name="voltha:duration_sec"><data type="unsignedInt"/></element></optional><optional><element name="voltha:duration_nsec"><data type="unsignedInt"/></element></optional><optional><element name="voltha:idle_timeout"><data type="unsignedInt"/></element></optional><optional><element name="voltha:hard_timeout"><data type="unsignedInt"/></element></optional><optional><element name="voltha:packet_count"><data type="unsignedLong"/></element></optional><optional><element name="voltha:byte_count"><data type="unsignedLong"/></element></optional><optional><element name="voltha:match"><ref name="voltha___ofp_match"/></element></optional></interleave></element></optional><optional><element name="voltha:ofp_meter_band_drop"><interleave><optional><element name="voltha:type"><data type="unsignedInt"/></element></optional><optional><element name="voltha:len"><data type="unsignedInt"/></element></optional><optional><element name="voltha:rate"><data type="unsignedInt"/></element></optional><optional><element name="voltha:burst_size"><data type="unsignedInt"/></element></optional></interleave></element></optional><optional><element name="voltha:ofp_meter_band_dscp_remark"><interleave><optional><element name="voltha:type"><data type="unsignedInt"/></element></optional><optional><element name="voltha:len"><data type="unsignedInt"/></element></optional><optional><element name="voltha:rate"><data type="unsignedInt"/></element></optional><optional><element name="voltha:burst_size"><data type="unsignedInt"/></element></optional><optional><element name="voltha:prec_level"><data type="unsignedInt"/></element></optional></interleave></element></optional><optional><element name="voltha:ofp_meter_band_experimenter"><interleave><optional><element name="voltha:type"><ref name="voltha__ofp_meter_band_type"/></element></optional><optional><element name="voltha:len"><data type="unsignedInt"/></element></optional><optional><element name="voltha:rate"><data type="unsignedInt"/></element></optional><optional><element name="voltha:burst_size"><data type="unsignedInt"/></element></optional><optional><element name="voltha:experimenter"><data type="unsignedInt"/></element></optional></interleave></element></optional><optional><element name="voltha:ofp_meter_mod"><interleave><optional><element name="voltha:command"><ref name="voltha__ofp_meter_mod_command"/></element></optional><optional><element name="voltha:flags"><data type="unsignedInt"/></element></optional><optional><element name="voltha:meter_id"><data type="unsignedInt"/></element></optional><zeroOrMore><element name="voltha:bands"><element name="voltha:type"><ref name="voltha__ofp_meter_band_type"/></element><interleave><optional><element name="voltha:len"><data type="unsignedInt"/></element></optional><optional><element name="voltha:rate"><data type="unsignedInt"/></element></optional><optional><element name="voltha:burst_size"><data type="unsignedInt"/></element></optional></interleave></element></zeroOrMore></interleave></element></optional><optional><element name="voltha:ofp_error_msg"><interleave><optional><element name="voltha:type"><data type="unsignedInt"/></element></optional><optional><element name="voltha:code"><data type="unsignedInt"/></element></optional><optional><element name="voltha:data"><data type="base64Binary"/></element></optional></interleave></element></optional><optional><element name="voltha:ofp_error_experimenter_msg"><interleave><optional><element name="voltha:type"><data type="unsignedInt"/></element></optional><optional><element name="voltha:exp_type"><data type="unsignedInt"/></element></optional><optional><element name="voltha:experimenter"><data type="unsignedInt"/></element></optional><optional><element name="voltha:data"><data type="base64Binary"/></element></optional></interleave></element></optional><optional><element name="voltha:ofp_multipart_request"><interleave><optional><element name="voltha:type"><ref name="voltha__ofp_multipart_type"/></element></optional><optional><element name="voltha:flags"><data type="unsignedInt"/></element></optional><optional><element name="voltha:body"><data type="base64Binary"/></element></optional></interleave></element></optional><optional><element name="voltha:ofp_multipart_reply"><interleave><optional><element name="voltha:type"><ref name="voltha__ofp_multipart_type"/></element></optional><optional><element name="voltha:flags"><data type="unsignedInt"/></element></optional><optional><element name="voltha:body"><data type="base64Binary"/></element></optional></interleave></element></optional><optional><element name="voltha:ofp_flow_stats_request"><interleave><optional><element name="voltha:table_id"><data type="unsignedInt"/></element></optional><optional><element name="voltha:out_port"><data type="unsignedInt"/></element></optional><optional><element name="voltha:out_group"><data type="unsignedInt"/></element></optional><optional><element name="voltha:cookie"><data type="unsignedLong"/></element></optional><optional><element name="voltha:cookie_mask"><data type="unsignedLong"/></element></optional><optional><element name="voltha:match"><ref name="voltha___ofp_match"/></element></optional></interleave></element></optional><optional><element name="voltha:ofp_aggregate_stats_request"><interleave><optional><element name="voltha:table_id"><data type="unsignedInt"/></element></optional><optional><element name="voltha:out_port"><data type="unsignedInt"/></element></optional><optional><element name="voltha:out_group"><data type="unsignedInt"/></element></optional><optional><element name="voltha:cookie"><data type="unsignedLong"/></element></optional><optional><element name="voltha:cookie_mask"><data type="unsignedLong"/></element></optional><optional><element name="voltha:match"><ref name="voltha___ofp_match"/></element></optional></interleave></element></optional><optional><element name="voltha:ofp_aggregate_stats_reply"><interleave><optional><element name="voltha:packet_count"><data type="unsignedLong"/></element></optional><optional><element name="voltha:byte_count"><data type="unsignedLong"/></element></optional><optional><element name="voltha:flow_count"><data type="unsignedInt"/></element></optional></interleave></element></optional><optional><element name="voltha:ofp_table_features"><interleave><optional><element name="voltha:table_id"><data type="unsignedInt"/></element></optional><optional><element name="voltha:name"><data type="string"/></element></optional><optional><element name="voltha:metadata_match"><data type="unsignedLong"/></element></optional><optional><element name="voltha:metadata_write"><data type="unsignedLong"/></element></optional><optional><element name="voltha:config"><data type="unsignedInt"/></element></optional><optional><element name="voltha:max_entries"><data type="unsignedInt"/></element></optional><zeroOrMore><element name="voltha:properties"><element name="voltha:type"><ref name="voltha__ofp_table_feature_prop_type"/></element><optional><choice><group><element name="voltha:instructions"><ref name="voltha___ofp_table_feature_prop_instructions"/></element></group><group><element name="voltha:next_tables"><ref name="voltha___ofp_table_feature_prop_next_tables"/></element></group><group><element name="voltha:actions"><ref name="voltha___ofp_table_feature_prop_actions"/></element></group><group><element name="voltha:oxm"><ref name="voltha___ofp_table_feature_prop_oxm"/></element></group><group><element name="voltha:experimenter"><ref name="voltha___ofp_table_feature_prop_experimenter"/></element></group></choice></optional></element></zeroOrMore></interleave></element></optional><optional><element name="voltha:ofp_table_stats"><interleave><optional><element name="voltha:table_id"><data type="unsignedInt"/></element></optional><optional><element name="voltha:active_count"><data type="unsignedInt"/></element></optional><optional><element name="voltha:lookup_count"><data type="unsignedLong"/></element></optional><optional><element name="voltha:matched_count"><data type="unsignedLong"/></element></optional></interleave></element></optional><optional><element name="voltha:ofp_port_stats_request"><optional><element name="voltha:port_no"><data type="unsignedInt"/></element></optional></element></optional><optional><element name="voltha:ofp_port_stats"><interleave><optional><element name="voltha:port_no"><data type="unsignedInt"/></element></optional><optional><element name="voltha:rx_packets"><data type="unsignedLong"/></element></optional><optional><element name="voltha:tx_packets"><data type="unsignedLong"/></element></optional><optional><element name="voltha:rx_bytes"><data type="unsignedLong"/></element></optional><optional><element name="voltha:tx_bytes"><data type="unsignedLong"/></element></optional><optional><element name="voltha:rx_dropped"><data type="unsignedLong"/></element></optional><optional><element name="voltha:tx_dropped"><data type="unsignedLong"/></element></optional><optional><element name="voltha:rx_errors"><data type="unsignedLong"/></element></optional><optional><element name="voltha:tx_errors"><data type="unsignedLong"/></element></optional><optional><element name="voltha:rx_frame_err"><data type="unsignedLong"/></element></optional><optional><element name="voltha:rx_over_err"><data type="unsignedLong"/></element></optional><optional><element name="voltha:rx_crc_err"><data type="unsignedLong"/></element></optional><optional><element name="voltha:collisions"><data type="unsignedLong"/></element></optional><optional><element name="voltha:duration_sec"><data type="unsignedInt"/></element></optional><optional><element name="voltha:duration_nsec"><data type="unsignedInt"/></element></optional></interleave></element></optional><optional><element name="voltha:ofp_group_stats_request"><optional><element name="voltha:group_id"><data type="unsignedInt"/></element></optional></element></optional><optional><element name="voltha:ofp_group_features"><interleave><optional><element name="voltha:types"><data type="unsignedInt"/></element></optional><optional><element name="voltha:capabilities"><data type="unsignedInt"/></element></optional><zeroOrMore><element name="voltha:max_groups"><element name="voltha:max_groups"><data type="unsignedInt"/></element><empty/></element></zeroOrMore><zeroOrMore><element name="voltha:actions"><element name="voltha:actions"><data type="unsignedInt"/></element><empty/></element></zeroOrMore></interleave></element></optional><optional><element name="voltha:ofp_meter_multipart_request"><optional><element name="voltha:meter_id"><data type="unsignedInt"/></element></optional></element></optional><optional><element name="voltha:ofp_meter_stats"><interleave><optional><element name="voltha:meter_id"><data type="unsignedInt"/></element></optional><optional><element name="voltha:flow_count"><data type="unsignedInt"/></element></optional><optional><element name="voltha:packet_in_count"><data type="unsignedLong"/></element></optional><optional><element name="voltha:byte_in_count"><data type="unsignedLong"/></element></optional><optional><element name="voltha:duration_sec"><data type="unsignedInt"/></element></optional><optional><element name="voltha:duration_nsec"><data type="unsignedInt"/></element></optional><zeroOrMore><element name="voltha:band_stats"><element name="voltha:packet_band_count"><data type="unsignedLong"/></element><optional><element name="voltha:byte_band_count"><data type="unsignedLong"/></element></optional></element></zeroOrMore></interleave></element></optional><optional><element name="voltha:ofp_meter_config"><interleave><optional><element name="voltha:flags"><data type="unsignedInt"/></element></optional><optional><element name="voltha:meter_id"><data type="unsignedInt"/></element></optional><zeroOrMore><element name="voltha:bands"><element name="voltha:type"><ref name="voltha__ofp_meter_band_type"/></element><interleave><optional><element name="voltha:len"><data type="unsignedInt"/></element></optional><optional><element name="voltha:rate"><data type="unsignedInt"/></element></optional><optional><element name="voltha:burst_size"><data type="unsignedInt"/></element></optional></interleave></element></zeroOrMore></interleave></element></optional><optional><element name="voltha:ofp_meter_features"><interleave><optional><element name="voltha:max_meter"><data type="unsignedInt"/></element></optional><optional><element name="voltha:band_types"><data type="unsignedInt"/></element></optional><optional><element name="voltha:capabilities"><data type="unsignedInt"/></element></optional><optional><element name="voltha:max_bands"><data type="unsignedInt"/></element></optional><optional><element name="voltha:max_color"><data type="unsignedInt"/></element></optional></interleave></element></optional><optional><element name="voltha:ofp_experimenter_multipart_header"><interleave><optional><element name="voltha:experimenter"><data type="unsignedInt"/></element></optional><optional><element name="voltha:exp_type"><data type="unsignedInt"/></element></optional><optional><element name="voltha:data"><data type="base64Binary"/></element></optional></interleave></element></optional><optional><element name="voltha:ofp_experimenter_header"><interleave><optional><element name="voltha:experimenter"><data type="unsignedInt"/></element></optional><optional><element name="voltha:exp_type"><data type="unsignedInt"/></element></optional><optional><element name="voltha:data"><data type="base64Binary"/></element></optional></interleave></element></optional><optional><element name="voltha:ofp_queue_prop_min_rate"><interleave><optional><element name="voltha:prop_header"><ref name="voltha___ofp_queue_prop_header"/></element></optional><optional><element name="voltha:rate"><data type="unsignedInt"/></element></optional></interleave></element></optional><optional><element name="voltha:ofp_queue_prop_max_rate"><interleave><optional><element name="voltha:prop_header"><ref name="voltha___ofp_queue_prop_header"/></element></optional><optional><element name="voltha:rate"><data type="unsignedInt"/></element></optional></interleave></element></optional><optional><element name="voltha:ofp_queue_prop_experimenter"><interleave><optional><element name="voltha:prop_header"><ref name="voltha___ofp_queue_prop_header"/></element></optional><optional><element name="voltha:experimenter"><data type="unsignedInt"/></element></optional><optional><element name="voltha:data"><data type="base64Binary"/></element></optional></interleave></element></optional><optional><element name="voltha:ofp_queue_get_config_request"><optional><element name="voltha:port"><data type="unsignedInt"/></element></optional></element></optional><optional><element name="voltha:ofp_queue_get_config_reply"><interleave><optional><element name="voltha:port"><data type="unsignedInt"/></element></optional><zeroOrMore><element name="voltha:queues"><element name="voltha:queue_id"><data type="unsignedInt"/></element><interleave><optional><element name="voltha:port"><data type="unsignedInt"/></element></optional><zeroOrMore><element name="voltha:properties"><element name="voltha:property"><data type="unsignedInt"/></element><optional><element name="voltha:len"><data type="unsignedInt"/></element></optional></element></zeroOrMore></interleave></element></zeroOrMore></interleave></element></optional><optional><element name="voltha:ofp_action_set_queue"><interleave><optional><element name="voltha:type"><data type="unsignedInt"/></element></optional><optional><element name="voltha:queue_id"><data type="unsignedInt"/></element></optional></interleave></element></optional><optional><element name="voltha:ofp_queue_stats_request"><interleave><optional><element name="voltha:port_no"><data type="unsignedInt"/></element></optional><optional><element name="voltha:queue_id"><data type="unsignedInt"/></element></optional></interleave></element></optional><optional><element name="voltha:ofp_queue_stats"><interleave><optional><element name="voltha:port_no"><data type="unsignedInt"/></element></optional><optional><element name="voltha:queue_id"><data type="unsignedInt"/></element></optional><optional><element name="voltha:tx_bytes"><data type="unsignedLong"/></element></optional><optional><element name="voltha:tx_packets"><data type="unsignedLong"/></element></optional><optional><element name="voltha:tx_errors"><data type="unsignedLong"/></element></optional><optional><element name="voltha:duration_sec"><data type="unsignedInt"/></element></optional><optional><element name="voltha:duration_nsec"><data type="unsignedInt"/></element></optional></interleave></element></optional><optional><element name="voltha:ofp_role_request"><interleave><optional><element name="voltha:role"><ref name="voltha__ofp_controller_role"/></element></optional><optional><element name="voltha:generation_id"><data type="unsignedLong"/></element></optional></interleave></element></optional><optional><element name="voltha:ofp_async_config"><interleave><zeroOrMore><element name="voltha:packet_in_mask"><element name="voltha:packet_in_mask"><data type="unsignedInt"/></element><empty/></element></zeroOrMore><zeroOrMore><element name="voltha:port_status_mask"><element name="voltha:port_status_mask"><data type="unsignedInt"/></element><empty/></element></zeroOrMore><zeroOrMore><element name="voltha:flow_removed_mask"><element name="voltha:flow_removed_mask"><data type="unsignedInt"/></element><empty/></element></zeroOrMore></interleave></element></optional></interleave></start></grammar></interleave></element></start></grammar> |