scott@evb:~/host/yltest$ yanglint > load iana-if-type > load ieee802-dot1q-bridge > load ieee802-dot1q-stream-filters-gates > load ieee802-dot1q-preemption > load ieee802-dot1q-psfp > load ieee802-dot1q-sched > feature ieee802-dot1q-bridge --enable * > feature ieee802-dot1q-stream-filters-gates --enable * > feature ieee802-dot1q-preemption --enable * > feature ieee802-dot1q-psfp --enable * > feature ieee802-dot1q-sched --enable * > data -t config -f json psfs.xml { "ieee802-dot1q-bridge:bridges": { "bridge": [ { "name": "bridge1", "address": "10-10-10-10-10-10", "bridge-type": "customer-vlan-bridge", "component": [ { "name": "cv1", "id": 1, "type": "c-vlan-component", "ieee802-dot1q-stream-filters-gates:stream-filters": { "stream-filter-instance-table": [ { "stream-filter-instance-id": 1, "wildcard": [null], "priority-spec": "three", "max-sdu-size": 0, "stream-blocked-due-to-oversize-frame-enabled": true, "stream-blocked-due-to-oversize-frame": true, "stream-gate-ref": 1, "ieee802-dot1q-psfp:flow-meter-instance-id": 1, "ieee802-dot1q-psfp:flow-meter-enable": true } ] }, "ieee802-dot1q-stream-filters-gates:stream-gates": { "stream-gate-instance-table": [ { "stream-gate-instance-id": 1, "gate-enable": true, "admin-gate-states": "open", "ieee802-dot1q-psfp:oper-ipv": "null", "ieee802-dot1q-psfp:admin-control-list": { "gate-control-entry": [ { "index": 1, "operation-name": "set-gate-and-ipv", "time-interval-value": 1000, "gate-state-value": "open", "ipv-spec": "null", "interval-octet-max": 1000 } ] }, "ieee802-dot1q-psfp:admin-cycle-time": { "numerator": 10, "denominator": 100 }, "ieee802-dot1q-psfp:admin-cycle-time-extension": 100, "ieee802-dot1q-psfp:admin-base-time": { "seconds": "1", "nanoseconds": 1000 }, "ieee802-dot1q-psfp:config-change": false, "ieee802-dot1q-psfp:gate-closed-due-to-invalid-rx-enable": true, "ieee802-dot1q-psfp:gate-closed-due-to-invalid-rx": false, "ieee802-dot1q-psfp:gate-closed-due-octets-exceeded-enable": false, "ieee802-dot1q-psfp:gate-closed-due-octets-exceeded": false } ], "ieee802-dot1q-psfp:supported-list-max": 100, "ieee802-dot1q-psfp:supported-cycle-max": { "numerator": 100, "denominator": 1000 }, "ieee802-dot1q-psfp:supported-interval-max": 1000 }, "ieee802-dot1q-psfp:flow-meters": { "flow-meter-instance-table": [ { "flow-meter-instance-id": 1, "committed-information-rate": "1000000000", "committed-burst-size": 10000, "excess-information-rate": "10000000", "excess-burst-size": 100000, "coupling-flag": "one", "color-mode": "color-aware", "drop-on-yellow": true, "mark-all-frames-red-enable": false, "mark-all-frames-red": false } ], "max-flow-meter-instances": 1000 } } ] } ] }, "ietf-interfaces:interfaces": { "interface": [ { "name": "eth0", "type": "iana-if-type:bridge", "ieee802-dot1q-bridge:bridge-port": { "bridge-name": "bridge1", "component-name": "cv1", "port-type": "c-vlan-bridge-port", "pvid": 1, "ieee802-dot1q-sched:gate-parameter-table": { "queue-max-sdu-table": [ { "traffic-class": 0, "queue-max-sdu": 100 } ], "gate-enabled": true, "admin-gate-states": 255, "admin-control-list": { "gate-control-entry": [ { "index": 1, "operation-name": "set-gate-states", "time-interval-value": 100, "gate-states-value": 255 } ] }, "admin-cycle-time": { "numerator": 10, "denominator": 1000 }, "admin-cycle-time-extension": 999, "admin-base-time": { "seconds": "1", "nanoseconds": 1000 }, "config-change": true, "supported-list-max": 100, "supported-cycle-max": { "numerator": 10, "denominator": 1000 }, "supported-interval-max": 100 } } }, { "name": "eth1", "type": "iana-if-type:ethernetCsmacd", "ieee802-dot1q-bridge:bridge-port": { "bridge-name": "bridge1", "component-name": "cv1", "port-type": "c-vlan-bridge-port", "pvid": 1, "ieee802-dot1q-sched:gate-parameter-table": { "queue-max-sdu-table": [ { "traffic-class": 0, "queue-max-sdu": 100 } ], "gate-enabled": true, "admin-gate-states": 255, "admin-control-list": { "gate-control-entry": [ { "index": 1, "operation-name": "set-gate-states", "time-interval-value": 100, "gate-states-value": 255 } ] }, "admin-cycle-time": { "numerator": 10, "denominator": 1000 }, "admin-cycle-time-extension": 999, "admin-base-time": { "seconds": "1", "nanoseconds": 1000 }, "config-change": true, "supported-list-max": 100, "supported-cycle-max": { "numerator": 10, "denominator": 1000 }, "supported-interval-max": 100 } } } ] } } >