<?xml version="1.0" encoding="utf-8"?>
<config xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
  <bridge xmlns="urn:ietf:params:xml:ns:yang:ietf-network-bridge">
    <ports>
      <port>
        <name>p0</name>
        <index>0</index>
        <class
    xmlns="urn:ietf:params:xml:ns:yang:ietf-network-bridge-scheduler"
        xmlns:example="http://example.com/ns/example-bridge">
        example:default-port</class>
        <class-instance-index
    xmlns="urn:ietf:params:xml:ns:yang:ietf-network-bridge-scheduler">
        0</class-instance-index>
      </port>
      <port>
        <name>p1</name>
        <index>1</index>
        <class
    xmlns="urn:ietf:params:xml:ns:yang:ietf-network-bridge-scheduler"
        xmlns:example="http://example.com/ns/example-bridge">
        example:default-port</class>
        <class-instance-index
    xmlns="urn:ietf:params:xml:ns:yang:ietf-network-bridge-scheduler">
        1</class-instance-index>
      </port>
      <port>
        <name>p2</name>
        <index>2</index>
        <class
    xmlns="urn:ietf:params:xml:ns:yang:ietf-network-bridge-scheduler"
        xmlns:example="http://example.com/ns/example-bridge">
        example:default-port</class>
        <class-instance-index
    xmlns="urn:ietf:params:xml:ns:yang:ietf-network-bridge-scheduler">
        2</class-instance-index>
      </port>
    </ports>
    <default-traffic-class
    xmlns="urn:ietf:params:xml:ns:yang:ietf-network-bridge-scheduler"
    xmlns:example="http://example.com/ns/example-bridge">
    example:best-effort</default-traffic-class>
    <default-port-class
    xmlns="urn:ietf:params:xml:ns:yang:ietf-network-bridge-scheduler"
    xmlns:example="http://example.com/ns/example-bridge">
    example:best-effort</default-port-class>
    <traffic-classes
    xmlns="urn:ietf:params:xml:ns:yang:ietf-network-bridge-scheduler">

      <traffic-class
      xmlns:example="http://example.com/ns/example-bridge">
      example:best-effort</traffic-class>
      <traffic-class
      xmlns:example="http://example.com/ns/example-bridge">
      example:signaling</traffic-class>
      <traffic-class
      xmlns:example="http://example.com/ns/example-bridge">
      example:video0</traffic-class>
      <traffic-class
      xmlns:example="http://example.com/ns/example-bridge">
      example:video1</traffic-class>
    </traffic-classes>
    <port-classes
    xmlns="urn:ietf:params:xml:ns:yang:ietf-network-bridge-scheduler">

      <port-class xmlns:example="http://example.com/ns/example-bridge">
      example:default-port</port-class>
    </port-classes>
    <scheduler-classes
    xmlns="urn:ietf:params:xml:ns:yang:ietf-network-bridge-scheduler">

      <scheduler-class>
        <egress-port-class
        xmlns:example="http://example.com/ns/example-bridge">
        example:default-port</egress-port-class>
        <inputs>
          <input>
            <traffic-class
            xmlns:example="http://example.com/ns/example-bridge">
            example:best-effort</traffic-class>
            <ingress-port-class
            xmlns:example="http://example.com/ns/example-bridge">
            example:default-port</ingress-port-class>
            <gate-controller>p</gate-controller>
            <input-class
            xmlns:example="http://example.com/ns/example-bridge">
            example:pri2</input-class>
            <base-index>0</base-index>
          </input>
          <input>
            <traffic-class
            xmlns:example="http://example.com/ns/example-bridge">
            example:signaling</traffic-class>
            <ingress-port-class
            xmlns:example="http://example.com/ns/example-bridge">
            example:default-port</ingress-port-class>
            <gate-controller>r1</gate-controller>
            <input-class
            xmlns:example="http://example.com/ns/example-bridge">
            example:in</input-class>
            <base-index>0</base-index>
          </input>
          <input>
            <traffic-class
            xmlns:example="http://example.com/ns/example-bridge">
            example:video0</traffic-class>
            <ingress-port-class
            xmlns:example="http://example.com/ns/example-bridge">
            example:default-port</ingress-port-class>
            <gate-controller>t</gate-controller>
            <input-class
            xmlns:example="http://example.com/ns/example-bridge">
            example:timeslot0</input-class>
            <base-index>0</base-index>
          </input>
          <input>
            <traffic-class
            xmlns:example="http://example.com/ns/example-bridge">
            example:video1</traffic-class>
            <ingress-port-class
            xmlns:example="http://example.com/ns/example-bridge">
            example:default-port</ingress-port-class>
            <gate-controller>t</gate-controller>
            <input-class
            xmlns:example="http://example.com/ns/example-bridge">
            example:timeslot1</input-class>
            <base-index>0</base-index>
          </input>
        </inputs>
        <gate-controllers>
          <gate-controller>
            <id>a</id>
            <type
            xmlns:example="http://example.com/ns/example-bridge">
            example:strict-priority-aggregator</type>
            <inputs>
              <input>
                <class
                xmlns:example="http://example.com/ns/example-bridge">
                example:pri0</class>
                <instance-count>3</instance-count>
                <queue-len>2048</queue-len>
              </input>
            </inputs>
            <output>
              <gate-controller>r2</gate-controller>
              <input-class
              xmlns:example="http://example.com/ns/example-bridge">
              example:in</input-class>
              <index>0</index>
            </output>
          </gate-controller>
          <gate-controller>
            <id>p</id>
            <type xmlns:example="http://example.com/ns/example-bridge">
            example:strict-priority-aggregator</type>
            <inputs>
              <input>
                <class
                xmlns:example="http://example.com/ns/example-bridge">
                example:pri0</class>
                <instance-count>1</instance-count>
                <queue-len>2048</queue-len>
              </input>
              <input>
                <class
                xmlns:example="http://example.com/ns/example-bridge">
                example:pri1</class>
                <instance-count>1</instance-count>
                <queue-len>32768</queue-len>
              </input>
              <input>
                <class
                xmlns:example="http://example.com/ns/example-bridge">
                example:pri2</class>
                <instance-count>3</instance-count>
                <queue-len>1048576</queue-len>
              </input>
            </inputs>
          </gate-controller>
          <gate-controller>
            <id>r1</id>
            <type
            xmlns:example="http://example.com/ns/example-bridge">
            example:rate-limiter</type>
            <inputs>
              <input>
                <class
                xmlns:example="http://example.com/ns/example-bridge">
                example:in</class>
                <instance-count>3</instance-count>
              </input>
            </inputs>
            <output>
              <gate-controller>a</gate-controller>
              <input-class
              xmlns:example="http://example.com/ns/example-bridge">
              example:pri0</input-class>
              <index>0</index>
            </output>
            <interval xmlns="http://example.com/ns/example-bridge">
            10000000</interval>
            <limit xmlns="http://example.com/ns/example-bridge">
            12500</limit>
          </gate-controller>
          <gate-controller>
            <id>r2</id>
            <type xmlns:example="http://example.com/ns/example-bridge">
            example:rate-limiter</type>
            <inputs>
              <input>
                <class
                xmlns:example="http://example.com/ns/example-bridge">
                example:in</class>
                <instance-count>1</instance-count>
              </input>
            </inputs>
            <output>
              <gate-controller>p</gate-controller>
              <input-class
              xmlns:example="http://example.com/ns/example-bridge">
              example:pri0</input-class>
              <index>0</index>
            </output>
            <interval xmlns="http://example.com/ns/example-bridge">
            10000000</interval>
            <limit xmlns="http://example.com/ns/example-bridge">
            125000</limit>
          </gate-controller>
          <gate-controller>
            <id>t</id>
            <type xmlns:example="http://example.com/ns/example-bridge">
            example:cyclic-timeslot-schedule-aggregator</type>
            <inputs>
              <input>
                <class
                xmlns:example="http://example.com/ns/example-bridge">
                example:timeslot0</class>
                <instance-count>3</instance-count>
                <queue-len>1048576</queue-len>
              </input>
              <input>
                <class
                xmlns:example="http://example.com/ns/example-bridge">
                example:timeslot1</class>
                <instance-count>3</instance-count>
                <queue-len>1048576</queue-len>
              </input>
            </inputs>
            <output>
              <gate-controller>p</gate-controller>
              <input-class
              xmlns:example="http://example.com/ns/example-bridge">
              example:pri0</input-class>
              <index>2</index>
            </output>
            <period xmlns="http://example.com/ns/example-bridge">
            10000000</period>
            <time-slot0-interval
            xmlns="http://example.com/ns/example-bridge">
            5000000</time-slot0-interval>
            <time-slot1-interval
            xmlns="http://example.com/ns/example-bridge">
            5000000</time-slot1-interval>
          </gate-controller>
        </gate-controllers>
      </scheduler-class>
    </scheduler-classes>
  </bridge>
  <flows xmlns="urn:ietf:params:xml:ns:yang:ietf-network-bridge-flows">
    <flow>
      <id>best-effort-to-host0</id>
      <match>
        <ethernet-match>
          <ethernet-destination>
            <address>00:01:02:03:00:00</address>
          </ethernet-destination>
        </ethernet-match>
      </match>
      <actions>
        <action>
          <order>0</order>
          <output-action>
            <out-port>p0</out-port>
          </output-action>
        </action>
      </actions>
      <traffic-class
      xmlns="urn:ietf:params:xml:ns:yang:ietf-network-bridge-scheduler"
      xmlns:example="http://example.com/ns/example-bridge">
      example:best-effort</traffic-class>
    </flow>
    <flow>
      <id>best-effort-to-host1</id>
      <match>
        <ethernet-match>
          <ethernet-destination>
            <address>00:01:02:03:00:01</address>
          </ethernet-destination>
        </ethernet-match>
      </match>
      <actions>
        <action>
          <order>0</order>
          <output-action>
            <out-port>p1</out-port>
          </output-action>
        </action>
      </actions>
      <traffic-class
      xmlns="urn:ietf:params:xml:ns:yang:ietf-network-bridge-scheduler"
      xmlns:example="http://example.com/ns/example-bridge">
      example:best-effort</traffic-class>
    </flow>
    <flow>
      <id>best-effort-to-host2</id>
      <match>
        <ethernet-match>
          <ethernet-destination>
            <address>00:01:02:03:00:02</address>
          </ethernet-destination>
        </ethernet-match>
      </match>
      <actions>
        <action>
          <order>0</order>
          <output-action>
            <out-port>p2</out-port>
          </output-action>
        </action>
      </actions>
      <traffic-class
      xmlns="urn:ietf:params:xml:ns:yang:ietf-network-bridge-scheduler"
      xmlns:example="http://example.com/ns/example-bridge">
      example:best-effort</traffic-class>
    </flow>
    <flow>
      <id>ptp-to-host0</id>
      <match>
        <ethernet-match>
          <ethernet-destination>
            <address>00:01:02:03:00:00</address>
          </ethernet-destination>
        </ethernet-match>
      </match>
      <actions>
        <action>
          <order>0</order>
          <output-action>
            <out-port>p0</out-port>
          </output-action>
        </action>
      </actions>
      <traffic-class
      xmlns="urn:ietf:params:xml:ns:yang:ietf-network-bridge-scheduler"
      xmlns:example="http://example.com/ns/example-bridge">
      example:signaling</traffic-class>
    </flow>
    <flow>
      <id>ptp-to-host1</id>
      <match>
        <ethernet-match>
          <ethernet-destination>
            <address>00:01:02:03:00:01</address>
          </ethernet-destination>
        </ethernet-match>
      </match>
      <actions>
        <action>
          <order>0</order>
          <output-action>
            <out-port>p1</out-port>
          </output-action>
        </action>
      </actions>
      <traffic-class
      xmlns="urn:ietf:params:xml:ns:yang:ietf-network-bridge-scheduler"
      xmlns:example="http://example.com/ns/example-bridge">
      example:signaling</traffic-class>
    </flow>
    <flow>
      <id>ptp-to-host2</id>
      <match>
        <ethernet-match>
          <ethernet-destination>
            <address>00:01:02:03:00:02</address>
          </ethernet-destination>
        </ethernet-match>
      </match>
      <actions>
        <action>
          <order>0</order>
          <output-action>
            <out-port>p2</out-port>
          </output-action>
        </action>
      </actions>
      <traffic-class
      xmlns="urn:ietf:params:xml:ns:yang:ietf-network-bridge-scheduler"
      xmlns:example="http://example.com/ns/example-bridge">
      example:signaling</traffic-class>
    </flow>
    <flow>
      <id>video0</id>
      <match>
        <vlan-match>
          <vlan-id>
            <vlan-id>10</vlan-id>
          </vlan-id>
        </vlan-match>
      </match>
      <actions>
        <action>
          <order>0</order>
          <output-action>
            <out-port>p2</out-port>
          </output-action>
        </action>
      </actions>
      <traffic-class
      xmlns="urn:ietf:params:xml:ns:yang:ietf-network-bridge-scheduler"
      xmlns:example="http://example.com/ns/example-bridge">
      example:video0</traffic-class>
    </flow>
    <flow>
      <id>video1</id>
      <match>
        <vlan-match>
          <vlan-id>
            <vlan-id>11</vlan-id>
          </vlan-id>
        </vlan-match>
      </match>
      <actions>
        <action>
          <order>0</order>
          <output-action>
            <out-port>p2</out-port>
          </output-action>
        </action>
      </actions>
      <traffic-class
      xmlns="urn:ietf:params:xml:ns:yang:ietf-network-bridge-scheduler"
      xmlns:example="http://example.com/ns/example-bridge">
      example:video1</traffic-class>
    </flow>
  </flows>
  <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
    <interface>
      <name>if0</name>
      <type
      xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">
      ianaift:ethernetCsmacd</type>
      <port-name
      xmlns="urn:ietf:params:xml:ns:yang:ietf-network-bridge">
      p0</port-name>
    </interface>
    <interface>
      <name>if1</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">
      ianaift:ethernetCsmacd</type>
      <port-name
      xmlns="urn:ietf:params:xml:ns:yang:ietf-network-bridge">
      p1</port-name>
    </interface>
    <interface>
      <name>if2</name>
      <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">
      ianaift:ethernetCsmacd</type>
      <port-name
      xmlns="urn:ietf:params:xml:ns:yang:ietf-network-bridge">
      p2</port-name>
    </interface>
  </interfaces>
  <nacm xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-acm">
  </nacm>
</config>
