Skip to content

Commit

Permalink
Revert "[Yang model] SONiC QOS Scheduler, WRED, Queue Yangs (sonic-ne…
Browse files Browse the repository at this point in the history
…t#7281)"

This reverts commit a99d78d.
  • Loading branch information
dgsudharsan committed Oct 20, 2021
1 parent 9c172a5 commit f0b2122
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 1,028 deletions.
3 changes: 0 additions & 3 deletions src/sonic-yang-models/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@
'./yang-models/sonic-vrf.yang',
'./yang-models/sonic-warm-restart.yang',
'./yang-models/sonic-lldp.yang',
'./yang-models/sonic-scheduler.yang',
'./yang-models/sonic-wred-profile.yang',
'./yang-models/sonic-queue.yang',
'./yang-models/sonic_yang_tree']),
],
zip_safe=False,
Expand Down
51 changes: 1 addition & 50 deletions src/sonic-yang-models/tests/files/sample_config_db.json
Original file line number Diff line number Diff line change
Expand Up @@ -1138,56 +1138,6 @@
"high_mem_alert": "disabled",
"state": "enabled"
}
},

"SCHEDULER": {
"TEST@0": {
"cbs": "256",
"cir": "1250000",
"meter_type": "bytes",
"pbs": "1024",
"pir": "25000000",
"type": "DWRR",
"weight": "20"
},

"TEST@1": {
"cbs": "1024",
"cir": "1280000",
"meter_type": "bytes",
"pbs": "2048",
"pir": "2560000",
"type": "STRICT"
}
},

"WRED_PROFILE": {
"Wred1": {
"ecn": "ecn_all",
"green_drop_probability": "50",
"green_max_threshold": "2048000",
"green_min_threshold": "1024000",
"wred_green_enable": "true",
"yellow_drop_probability": "50",
"yellow_max_threshold": "2048000",
"yellow_min_threshold": "1024000",
"wred_yellow_enable": "true",
"red_drop_probability": "50",
"red_max_threshold": "2048000",
"red_min_threshold": "1024000",
"wred_red_enable": "true"
}
},

"QUEUE": {
"Ethernet0|0": {
"scheduler": "TEST@0",
"wred_profile": "Wred1"
},
"Ethernet0|1": {
"scheduler": "TEST@1",
"wred_profile": "Wred1"
}
}
},

Expand All @@ -1196,4 +1146,5 @@
"Error": "This Table is for testing, This Table does not have YANG models."
}
}

}
85 changes: 0 additions & 85 deletions src/sonic-yang-models/tests/yang_model_tests/tests/qos.json

This file was deleted.

Loading

0 comments on commit f0b2122

Please sign in to comment.