Skip to content

Commit

Permalink
Update test files to match an updated template
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
  • Loading branch information
andriymoroz-mlnx committed Nov 6, 2017
1 parent e259457 commit 8759898
Show file tree
Hide file tree
Showing 5 changed files with 86 additions and 110 deletions.
32 changes: 12 additions & 20 deletions ansible/roles/test/files/buffer_profile/buffers0_exp.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
[
{
"BUFFER_POOL_TABLE:ingress_lossless_pool": {
"size": "3024486",
"type": "ingress",
"mode": "dynamic"
},
"OP": "SET"
},
{
"BUFFER_POOL_TABLE:ingress_lossy_pool": {
"size": "6422528",
Expand Down Expand Up @@ -297,7 +289,7 @@

{
"BUFFER_PROFILE_TABLE:pg_lossless_40G_5m_profile": {
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]",
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pool]",
"xon":"18432",
"xoff":"16384",
"size":"34816",
Expand All @@ -307,7 +299,7 @@
},
{
"BUFFER_PROFILE_TABLE:pg_lossless_10G_5m_profile": {
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]",
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pool]",
"xon":"18432",
"xoff":"16384",
"size":"34816",
Expand All @@ -317,7 +309,7 @@
},
{
"BUFFER_PROFILE_TABLE:pg_lossless_25G_5m_profile": {
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]",
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pool]",
"xon":"18432",
"xoff":"16384",
"size":"34816",
Expand All @@ -327,7 +319,7 @@
},
{
"BUFFER_PROFILE_TABLE:pg_lossless_40G_40m_profile": {
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]",
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pool]",
"xon":"18432",
"xoff":"23552",
"size":"41984",
Expand All @@ -337,7 +329,7 @@
},
{
"BUFFER_PROFILE_TABLE:pg_lossless_100G_5m_profile": {
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]",
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pool]",
"xon":"18432",
"xoff":"18432",
"size":"36864",
Expand All @@ -347,7 +339,7 @@
},
{
"BUFFER_PROFILE_TABLE:pg_lossless_50G_40m_profile": {
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]",
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pool]",
"xon":"18432",
"xoff":"23552",
"size":"41984",
Expand All @@ -357,7 +349,7 @@
},
{
"BUFFER_PROFILE_TABLE:pg_lossless_50G_5m_profile": {
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]",
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pool]",
"xon":"18432",
"xoff":"16384",
"size":"34816",
Expand All @@ -367,7 +359,7 @@
},
{
"BUFFER_PROFILE_TABLE:pg_lossless_100G_40m_profile": {
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]",
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pool]",
"xon":"18432",
"xoff":"35840",
"size":"54272",
Expand All @@ -377,7 +369,7 @@
},
{
"BUFFER_PROFILE_TABLE:pg_lossless_25G_40m_profile": {
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]",
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pool]",
"xon":"18432",
"xoff":"21504",
"size":"39936",
Expand All @@ -387,7 +379,7 @@
},
{
"BUFFER_PROFILE_TABLE:pg_lossless_10G_40m_profile": {
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]",
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pool]",
"xon":"18432",
"xoff":"18432",
"size":"36864",
Expand All @@ -396,8 +388,8 @@
"OP": "SET"
},
{
"BUFFER_POOL_TABLE:ingress_lossless_pg_pool": {
"size": "1321984",
"BUFFER_POOL_TABLE:ingress_lossless_pool": {
"size": "2188710",
"type": "ingress",
"mode": "dynamic"
},
Expand Down
22 changes: 7 additions & 15 deletions ansible/roles/test/files/buffer_profile/buffers1_exp.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
[
{
"BUFFER_POOL_TABLE:ingress_lossless_pool": {
"size": "3024486",
"type": "ingress",
"mode": "dynamic"
},
"OP": "SET"
},
{
"BUFFER_POOL_TABLE:ingress_lossy_pool": {
"size": "6422528",
Expand Down Expand Up @@ -297,7 +289,7 @@

{
"BUFFER_PROFILE_TABLE:pg_lossless_40G_300m_profile": {
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]",
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pool]",
"xon":"18432",
"xoff":"75776",
"size":"94208",
Expand All @@ -307,7 +299,7 @@
},
{
"BUFFER_PROFILE_TABLE:pg_lossless_10G_300m_profile": {
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]",
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pool]",
"xon":"18432",
"xoff":"30720",
"size":"49152",
Expand All @@ -317,7 +309,7 @@
},
{
"BUFFER_PROFILE_TABLE:pg_lossless_25G_300m_profile": {
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]",
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pool]",
"xon":"18432",
"xoff":"53248",
"size":"71680",
Expand All @@ -327,7 +319,7 @@
},
{
"BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile": {
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]",
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pool]",
"xon":"18432",
"xoff":"165888",
"size":"184320",
Expand All @@ -337,7 +329,7 @@
},
{
"BUFFER_PROFILE_TABLE:pg_lossless_50G_300m_profile": {
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]",
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pool]",
"xon":"18432",
"xoff":"75776",
"size":"94208",
Expand All @@ -346,8 +338,8 @@
"OP": "SET"
},
{
"BUFFER_POOL_TABLE:ingress_lossless_pg_pool": {
"size": "3127296",
"BUFFER_POOL_TABLE:ingress_lossless_pool": {
"size": "3994022",
"type": "ingress",
"mode": "dynamic"
},
Expand Down
14 changes: 3 additions & 11 deletions ansible/roles/test/files/buffer_profile/buffers2_exp.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
[
{
"BUFFER_POOL_TABLE:ingress_lossless_pool": {
"size": "3024486",
"type": "ingress",
"mode": "dynamic"
},
"OP": "SET"
},
{
"BUFFER_POOL_TABLE:ingress_lossy_pool": {
"size": "6422528",
Expand Down Expand Up @@ -297,7 +289,7 @@

{
"BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile": {
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]",
"pool":"[BUFFER_POOL_TABLE:ingress_lossless_pool]",
"xon":"18432",
"xoff":"165888",
"size":"184320",
Expand All @@ -306,8 +298,8 @@
"OP": "SET"
},
{
"BUFFER_POOL_TABLE:ingress_lossless_pg_pool": {
"size": "5898240",
"BUFFER_POOL_TABLE:ingress_lossless_pool": {
"size": "6764966",
"type": "ingress",
"mode": "dynamic"
},
Expand Down
Loading

0 comments on commit 8759898

Please sign in to comment.