From e2594577a82d9f88ff4e88156181862869cd18db Mon Sep 17 00:00:00 2001 From: Andriy Moroz Date: Mon, 28 Aug 2017 16:58:09 +0300 Subject: [PATCH 1/2] Add buffer profile test (initial config test) --- .../files/buffer_profile/buffers0_exp.json | 439 ++++ .../files/buffer_profile/buffers1_exp.json | 389 +++ .../files/buffer_profile/buffers2_exp.json | 349 +++ .../test/files/buffer_profile/minigraph0.xml | 2232 +++++++++++++++++ .../test/files/buffer_profile/minigraph1.xml | 2232 +++++++++++++++++ .../test/files/buffer_profile/minigraph2.xml | 1375 ++++++++++ ansible/roles/test/tasks/buffer_profile.yml | 30 + ansible/roles/test/tasks/sonic.yml | 4 + 8 files changed, 7050 insertions(+) create mode 100644 ansible/roles/test/files/buffer_profile/buffers0_exp.json create mode 100644 ansible/roles/test/files/buffer_profile/buffers1_exp.json create mode 100644 ansible/roles/test/files/buffer_profile/buffers2_exp.json create mode 100644 ansible/roles/test/files/buffer_profile/minigraph0.xml create mode 100644 ansible/roles/test/files/buffer_profile/minigraph1.xml create mode 100644 ansible/roles/test/files/buffer_profile/minigraph2.xml create mode 100644 ansible/roles/test/tasks/buffer_profile.yml diff --git a/ansible/roles/test/files/buffer_profile/buffers0_exp.json b/ansible/roles/test/files/buffer_profile/buffers0_exp.json new file mode 100644 index 00000000000..cefcda1d2f5 --- /dev/null +++ b/ansible/roles/test/files/buffer_profile/buffers0_exp.json @@ -0,0 +1,439 @@ +[ + { + "BUFFER_POOL_TABLE:ingress_lossless_pool": { + "size": "3024486", + "type": "ingress", + "mode": "dynamic" + }, + "OP": "SET" + }, + { + "BUFFER_POOL_TABLE:ingress_lossy_pool": { + "size": "6422528", + "type": "ingress", + "mode": "dynamic" + }, + "OP": "SET" + }, + { + "BUFFER_POOL_TABLE:egress_lossless_pool": { + "size": "7291456", + "type": "egress", + "mode": "dynamic" + }, + "OP": "SET" + }, + { + "BUFFER_POOL_TABLE:egress_lossy_pool": { + "size": "8254464", + "type": "egress", + "mode": "dynamic" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:ingress_lossless_profile": { + "pool":"[BUFFER_POOL_TABLE:ingress_lossless_pool]", + "size":"0", + "dynamic_th":"7" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:ingress_lossy_profile": { + "pool":"[BUFFER_POOL_TABLE:ingress_lossy_pool]", + "size":"0", + "dynamic_th":"7" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:egress_lossless_profile": { + "pool":"[BUFFER_POOL_TABLE:egress_lossless_pool]", + "size":"1518", + "dynamic_th":"7" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:egress_lossy_profile": { + "pool":"[BUFFER_POOL_TABLE:egress_lossy_pool]", + "size":"4096", + "dynamic_th":"7" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:pg_lossy_profile": { + "pool":"[BUFFER_POOL_TABLE:ingress_lossy_pool]", + "size":"0", + "dynamic_th":"3" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:q_lossless_profile": { + "pool":"[BUFFER_POOL_TABLE:egress_lossless_pool]", + "size":"0", + "dynamic_th":"7" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:q_lossy_profile": { + "pool":"[BUFFER_POOL_TABLE:egress_lossy_pool]", + "size":"0", + "dynamic_th":"1" + }, + "OP": "SET" + }, + { + "BUFFER_PORT_INGRESS_PROFILE_LIST:Ethernet8,Ethernet0,Ethernet4,Ethernet108,Ethernet100,Ethernet104,Ethernet68,Ethernet96,Ethernet124,Ethernet92,Ethernet120,Ethernet52,Ethernet56,Ethernet76,Ethernet72,Ethernet64,Ethernet32,Ethernet16,Ethernet36,Ethernet12,Ethernet88,Ethernet116,Ethernet80,Ethernet112,Ethernet84,Ethernet48,Ethernet44,Ethernet40,Ethernet28,Ethernet60,Ethernet20,Ethernet24": { + "profile_list" : "[BUFFER_PROFILE_TABLE:ingress_lossless_profile],[BUFFER_PROFILE_TABLE:ingress_lossy_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PORT_EGRESS_PROFILE_LIST:Ethernet8,Ethernet0,Ethernet4,Ethernet108,Ethernet100,Ethernet104,Ethernet68,Ethernet96,Ethernet124,Ethernet92,Ethernet120,Ethernet52,Ethernet56,Ethernet76,Ethernet72,Ethernet64,Ethernet32,Ethernet16,Ethernet36,Ethernet12,Ethernet88,Ethernet116,Ethernet80,Ethernet112,Ethernet84,Ethernet48,Ethernet44,Ethernet40,Ethernet28,Ethernet60,Ethernet20,Ethernet24": { + "profile_list" : "[BUFFER_PROFILE_TABLE:egress_lossless_profile],[BUFFER_PROFILE_TABLE:egress_lossy_profile]" + }, + "OP": "SET" + }, + + + + { + "BUFFER_PG_TABLE:Ethernet8:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_5m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet0:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_10G_5m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet4:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_25G_5m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet108:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_40m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet100:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_40m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet104:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_40m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet68:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_40m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet96:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_40m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet124:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_40m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet92:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_40m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet120:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_40m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet52:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_40m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet56:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_40m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet76:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_40m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet72:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_40m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet64:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_40m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet32:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_40m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet16:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_5m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet36:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_50G_40m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet12:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_50G_5m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet88:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_40m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet116:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_40m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet80:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_40m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet112:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_40m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet84:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_40m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet48:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_40m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet44:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_40m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet40:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_40m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet28:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_25G_40m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet60:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_40m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet20:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_5m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet24:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_10G_40m_profile]" + }, + "OP": "SET" + }, + + { + "BUFFER_PROFILE_TABLE:pg_lossless_40G_5m_profile": { + "pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]", + "xon":"18432", + "xoff":"16384", + "size":"34816", + "dynamic_th":"1" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:pg_lossless_10G_5m_profile": { + "pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]", + "xon":"18432", + "xoff":"16384", + "size":"34816", + "dynamic_th":"1" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:pg_lossless_25G_5m_profile": { + "pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]", + "xon":"18432", + "xoff":"16384", + "size":"34816", + "dynamic_th":"1" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:pg_lossless_40G_40m_profile": { + "pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]", + "xon":"18432", + "xoff":"23552", + "size":"41984", + "dynamic_th":"1" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:pg_lossless_100G_5m_profile": { + "pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]", + "xon":"18432", + "xoff":"18432", + "size":"36864", + "dynamic_th":"1" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:pg_lossless_50G_40m_profile": { + "pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]", + "xon":"18432", + "xoff":"23552", + "size":"41984", + "dynamic_th":"1" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:pg_lossless_50G_5m_profile": { + "pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]", + "xon":"18432", + "xoff":"16384", + "size":"34816", + "dynamic_th":"1" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:pg_lossless_100G_40m_profile": { + "pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]", + "xon":"18432", + "xoff":"35840", + "size":"54272", + "dynamic_th":"1" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:pg_lossless_25G_40m_profile": { + "pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]", + "xon":"18432", + "xoff":"21504", + "size":"39936", + "dynamic_th":"1" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:pg_lossless_10G_40m_profile": { + "pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]", + "xon":"18432", + "xoff":"18432", + "size":"36864", + "dynamic_th":"1" + }, + "OP": "SET" + }, + { + "BUFFER_POOL_TABLE:ingress_lossless_pg_pool": { + "size": "1321984", + "type": "ingress", + "mode": "dynamic" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet8,Ethernet0,Ethernet4,Ethernet108,Ethernet100,Ethernet104,Ethernet68,Ethernet96,Ethernet124,Ethernet92,Ethernet120,Ethernet52,Ethernet56,Ethernet76,Ethernet72,Ethernet64,Ethernet32,Ethernet16,Ethernet36,Ethernet12,Ethernet88,Ethernet116,Ethernet80,Ethernet112,Ethernet84,Ethernet48,Ethernet44,Ethernet40,Ethernet28,Ethernet60,Ethernet20,Ethernet24:0-1": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossy_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_QUEUE_TABLE:Ethernet8,Ethernet0,Ethernet4,Ethernet108,Ethernet100,Ethernet104,Ethernet68,Ethernet96,Ethernet124,Ethernet92,Ethernet120,Ethernet52,Ethernet56,Ethernet76,Ethernet72,Ethernet64,Ethernet32,Ethernet16,Ethernet36,Ethernet12,Ethernet88,Ethernet116,Ethernet80,Ethernet112,Ethernet84,Ethernet48,Ethernet44,Ethernet40,Ethernet28,Ethernet60,Ethernet20,Ethernet24:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:q_lossless_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_QUEUE_TABLE:Ethernet8,Ethernet0,Ethernet4,Ethernet108,Ethernet100,Ethernet104,Ethernet68,Ethernet96,Ethernet124,Ethernet92,Ethernet120,Ethernet52,Ethernet56,Ethernet76,Ethernet72,Ethernet64,Ethernet32,Ethernet16,Ethernet36,Ethernet12,Ethernet88,Ethernet116,Ethernet80,Ethernet112,Ethernet84,Ethernet48,Ethernet44,Ethernet40,Ethernet28,Ethernet60,Ethernet20,Ethernet24:0-1": { + "profile" : "[BUFFER_PROFILE_TABLE:q_lossy_profile]" + }, + "OP": "SET" + }, + { + "PFC_PRIORITY_TO_PRIORITY_GROUP_MAP_TABLE:AZURE": { + "0": "0", + "1": "1", + "3": "3", + "4": "4" + }, + "OP": "SET" + }, + { + "PORT_QOS_MAP_TABLE:Ethernet8,Ethernet0,Ethernet4,Ethernet108,Ethernet100,Ethernet104,Ethernet68,Ethernet96,Ethernet124,Ethernet92,Ethernet120,Ethernet52,Ethernet56,Ethernet76,Ethernet72,Ethernet64,Ethernet32,Ethernet16,Ethernet36,Ethernet12,Ethernet88,Ethernet116,Ethernet80,Ethernet112,Ethernet84,Ethernet48,Ethernet44,Ethernet40,Ethernet28,Ethernet60,Ethernet20,Ethernet24": { + "pfc_to_pg_map" : "[PFC_PRIORITY_TO_PRIORITY_GROUP_MAP_TABLE:AZURE]" + }, + "OP": "SET" + } +] diff --git a/ansible/roles/test/files/buffer_profile/buffers1_exp.json b/ansible/roles/test/files/buffer_profile/buffers1_exp.json new file mode 100644 index 00000000000..865cc5be501 --- /dev/null +++ b/ansible/roles/test/files/buffer_profile/buffers1_exp.json @@ -0,0 +1,389 @@ +[ + { + "BUFFER_POOL_TABLE:ingress_lossless_pool": { + "size": "3024486", + "type": "ingress", + "mode": "dynamic" + }, + "OP": "SET" + }, + { + "BUFFER_POOL_TABLE:ingress_lossy_pool": { + "size": "6422528", + "type": "ingress", + "mode": "dynamic" + }, + "OP": "SET" + }, + { + "BUFFER_POOL_TABLE:egress_lossless_pool": { + "size": "7291456", + "type": "egress", + "mode": "dynamic" + }, + "OP": "SET" + }, + { + "BUFFER_POOL_TABLE:egress_lossy_pool": { + "size": "8254464", + "type": "egress", + "mode": "dynamic" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:ingress_lossless_profile": { + "pool":"[BUFFER_POOL_TABLE:ingress_lossless_pool]", + "size":"0", + "dynamic_th":"7" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:ingress_lossy_profile": { + "pool":"[BUFFER_POOL_TABLE:ingress_lossy_pool]", + "size":"0", + "dynamic_th":"7" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:egress_lossless_profile": { + "pool":"[BUFFER_POOL_TABLE:egress_lossless_pool]", + "size":"1518", + "dynamic_th":"7" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:egress_lossy_profile": { + "pool":"[BUFFER_POOL_TABLE:egress_lossy_pool]", + "size":"4096", + "dynamic_th":"7" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:pg_lossy_profile": { + "pool":"[BUFFER_POOL_TABLE:ingress_lossy_pool]", + "size":"0", + "dynamic_th":"3" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:q_lossless_profile": { + "pool":"[BUFFER_POOL_TABLE:egress_lossless_pool]", + "size":"0", + "dynamic_th":"7" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:q_lossy_profile": { + "pool":"[BUFFER_POOL_TABLE:egress_lossy_pool]", + "size":"0", + "dynamic_th":"1" + }, + "OP": "SET" + }, + { + "BUFFER_PORT_INGRESS_PROFILE_LIST:Ethernet8,Ethernet0,Ethernet4,Ethernet108,Ethernet100,Ethernet104,Ethernet68,Ethernet96,Ethernet124,Ethernet92,Ethernet120,Ethernet52,Ethernet56,Ethernet76,Ethernet72,Ethernet64,Ethernet32,Ethernet16,Ethernet36,Ethernet12,Ethernet88,Ethernet116,Ethernet80,Ethernet112,Ethernet84,Ethernet48,Ethernet44,Ethernet40,Ethernet28,Ethernet60,Ethernet20,Ethernet24": { + "profile_list" : "[BUFFER_PROFILE_TABLE:ingress_lossless_profile],[BUFFER_PROFILE_TABLE:ingress_lossy_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PORT_EGRESS_PROFILE_LIST:Ethernet8,Ethernet0,Ethernet4,Ethernet108,Ethernet100,Ethernet104,Ethernet68,Ethernet96,Ethernet124,Ethernet92,Ethernet120,Ethernet52,Ethernet56,Ethernet76,Ethernet72,Ethernet64,Ethernet32,Ethernet16,Ethernet36,Ethernet12,Ethernet88,Ethernet116,Ethernet80,Ethernet112,Ethernet84,Ethernet48,Ethernet44,Ethernet40,Ethernet28,Ethernet60,Ethernet20,Ethernet24": { + "profile_list" : "[BUFFER_PROFILE_TABLE:egress_lossless_profile],[BUFFER_PROFILE_TABLE:egress_lossy_profile]" + }, + "OP": "SET" + }, + + + + { + "BUFFER_PG_TABLE:Ethernet8:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet0:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_10G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet4:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_25G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet108:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet100:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet104:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet68:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet96:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet124:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet92:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet120:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet52:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet56:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet76:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet72:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet64:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet32:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet16:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet36:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet12:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_50G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet88:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet116:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet80:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet112:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet84:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet48:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet44:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet40:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet28:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet60:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet20:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet24:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_40G_300m_profile]" + }, + "OP": "SET" + }, + + { + "BUFFER_PROFILE_TABLE:pg_lossless_40G_300m_profile": { + "pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]", + "xon":"18432", + "xoff":"75776", + "size":"94208", + "dynamic_th":"1" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:pg_lossless_10G_300m_profile": { + "pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]", + "xon":"18432", + "xoff":"30720", + "size":"49152", + "dynamic_th":"1" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:pg_lossless_25G_300m_profile": { + "pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]", + "xon":"18432", + "xoff":"53248", + "size":"71680", + "dynamic_th":"1" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile": { + "pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]", + "xon":"18432", + "xoff":"165888", + "size":"184320", + "dynamic_th":"1" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:pg_lossless_50G_300m_profile": { + "pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]", + "xon":"18432", + "xoff":"75776", + "size":"94208", + "dynamic_th":"1" + }, + "OP": "SET" + }, + { + "BUFFER_POOL_TABLE:ingress_lossless_pg_pool": { + "size": "3127296", + "type": "ingress", + "mode": "dynamic" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet8,Ethernet0,Ethernet4,Ethernet108,Ethernet100,Ethernet104,Ethernet68,Ethernet96,Ethernet124,Ethernet92,Ethernet120,Ethernet52,Ethernet56,Ethernet76,Ethernet72,Ethernet64,Ethernet32,Ethernet16,Ethernet36,Ethernet12,Ethernet88,Ethernet116,Ethernet80,Ethernet112,Ethernet84,Ethernet48,Ethernet44,Ethernet40,Ethernet28,Ethernet60,Ethernet20,Ethernet24:0-1": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossy_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_QUEUE_TABLE:Ethernet8,Ethernet0,Ethernet4,Ethernet108,Ethernet100,Ethernet104,Ethernet68,Ethernet96,Ethernet124,Ethernet92,Ethernet120,Ethernet52,Ethernet56,Ethernet76,Ethernet72,Ethernet64,Ethernet32,Ethernet16,Ethernet36,Ethernet12,Ethernet88,Ethernet116,Ethernet80,Ethernet112,Ethernet84,Ethernet48,Ethernet44,Ethernet40,Ethernet28,Ethernet60,Ethernet20,Ethernet24:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:q_lossless_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_QUEUE_TABLE:Ethernet8,Ethernet0,Ethernet4,Ethernet108,Ethernet100,Ethernet104,Ethernet68,Ethernet96,Ethernet124,Ethernet92,Ethernet120,Ethernet52,Ethernet56,Ethernet76,Ethernet72,Ethernet64,Ethernet32,Ethernet16,Ethernet36,Ethernet12,Ethernet88,Ethernet116,Ethernet80,Ethernet112,Ethernet84,Ethernet48,Ethernet44,Ethernet40,Ethernet28,Ethernet60,Ethernet20,Ethernet24:0-1": { + "profile" : "[BUFFER_PROFILE_TABLE:q_lossy_profile]" + }, + "OP": "SET" + }, + { + "PFC_PRIORITY_TO_PRIORITY_GROUP_MAP_TABLE:AZURE": { + "0": "0", + "1": "1", + "3": "3", + "4": "4" + }, + "OP": "SET" + }, + { + "PORT_QOS_MAP_TABLE:Ethernet8,Ethernet0,Ethernet4,Ethernet108,Ethernet100,Ethernet104,Ethernet68,Ethernet96,Ethernet124,Ethernet92,Ethernet120,Ethernet52,Ethernet56,Ethernet76,Ethernet72,Ethernet64,Ethernet32,Ethernet16,Ethernet36,Ethernet12,Ethernet88,Ethernet116,Ethernet80,Ethernet112,Ethernet84,Ethernet48,Ethernet44,Ethernet40,Ethernet28,Ethernet60,Ethernet20,Ethernet24": { + "pfc_to_pg_map" : "[PFC_PRIORITY_TO_PRIORITY_GROUP_MAP_TABLE:AZURE]" + }, + "OP": "SET" + } +] diff --git a/ansible/roles/test/files/buffer_profile/buffers2_exp.json b/ansible/roles/test/files/buffer_profile/buffers2_exp.json new file mode 100644 index 00000000000..a69d66a9d8d --- /dev/null +++ b/ansible/roles/test/files/buffer_profile/buffers2_exp.json @@ -0,0 +1,349 @@ +[ + { + "BUFFER_POOL_TABLE:ingress_lossless_pool": { + "size": "3024486", + "type": "ingress", + "mode": "dynamic" + }, + "OP": "SET" + }, + { + "BUFFER_POOL_TABLE:ingress_lossy_pool": { + "size": "6422528", + "type": "ingress", + "mode": "dynamic" + }, + "OP": "SET" + }, + { + "BUFFER_POOL_TABLE:egress_lossless_pool": { + "size": "7291456", + "type": "egress", + "mode": "dynamic" + }, + "OP": "SET" + }, + { + "BUFFER_POOL_TABLE:egress_lossy_pool": { + "size": "8254464", + "type": "egress", + "mode": "dynamic" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:ingress_lossless_profile": { + "pool":"[BUFFER_POOL_TABLE:ingress_lossless_pool]", + "size":"0", + "dynamic_th":"7" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:ingress_lossy_profile": { + "pool":"[BUFFER_POOL_TABLE:ingress_lossy_pool]", + "size":"0", + "dynamic_th":"7" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:egress_lossless_profile": { + "pool":"[BUFFER_POOL_TABLE:egress_lossless_pool]", + "size":"1518", + "dynamic_th":"7" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:egress_lossy_profile": { + "pool":"[BUFFER_POOL_TABLE:egress_lossy_pool]", + "size":"4096", + "dynamic_th":"7" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:pg_lossy_profile": { + "pool":"[BUFFER_POOL_TABLE:ingress_lossy_pool]", + "size":"0", + "dynamic_th":"3" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:q_lossless_profile": { + "pool":"[BUFFER_POOL_TABLE:egress_lossless_pool]", + "size":"0", + "dynamic_th":"7" + }, + "OP": "SET" + }, + { + "BUFFER_PROFILE_TABLE:q_lossy_profile": { + "pool":"[BUFFER_POOL_TABLE:egress_lossy_pool]", + "size":"0", + "dynamic_th":"1" + }, + "OP": "SET" + }, + { + "BUFFER_PORT_INGRESS_PROFILE_LIST:Ethernet8,Ethernet0,Ethernet4,Ethernet108,Ethernet100,Ethernet104,Ethernet68,Ethernet96,Ethernet124,Ethernet92,Ethernet120,Ethernet52,Ethernet56,Ethernet76,Ethernet72,Ethernet64,Ethernet32,Ethernet16,Ethernet36,Ethernet12,Ethernet88,Ethernet116,Ethernet80,Ethernet112,Ethernet84,Ethernet48,Ethernet44,Ethernet40,Ethernet28,Ethernet60,Ethernet20,Ethernet24": { + "profile_list" : "[BUFFER_PROFILE_TABLE:ingress_lossless_profile],[BUFFER_PROFILE_TABLE:ingress_lossy_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PORT_EGRESS_PROFILE_LIST:Ethernet8,Ethernet0,Ethernet4,Ethernet108,Ethernet100,Ethernet104,Ethernet68,Ethernet96,Ethernet124,Ethernet92,Ethernet120,Ethernet52,Ethernet56,Ethernet76,Ethernet72,Ethernet64,Ethernet32,Ethernet16,Ethernet36,Ethernet12,Ethernet88,Ethernet116,Ethernet80,Ethernet112,Ethernet84,Ethernet48,Ethernet44,Ethernet40,Ethernet28,Ethernet60,Ethernet20,Ethernet24": { + "profile_list" : "[BUFFER_PROFILE_TABLE:egress_lossless_profile],[BUFFER_PROFILE_TABLE:egress_lossy_profile]" + }, + "OP": "SET" + }, + + + + { + "BUFFER_PG_TABLE:Ethernet8:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet0:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet4:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet108:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet100:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet104:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet68:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet96:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet124:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet92:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet120:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet52:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet56:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet76:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet72:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet64:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet32:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet16:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet36:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet12:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet88:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet116:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet80:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet112:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet84:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet48:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet44:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet40:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet28:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet60:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet20:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet24:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile]" + }, + "OP": "SET" + }, + + { + "BUFFER_PROFILE_TABLE:pg_lossless_100G_300m_profile": { + "pool":"[BUFFER_POOL_TABLE:ingress_lossless_pg_pool]", + "xon":"18432", + "xoff":"165888", + "size":"184320", + "dynamic_th":"1" + }, + "OP": "SET" + }, + { + "BUFFER_POOL_TABLE:ingress_lossless_pg_pool": { + "size": "5898240", + "type": "ingress", + "mode": "dynamic" + }, + "OP": "SET" + }, + { + "BUFFER_PG_TABLE:Ethernet8,Ethernet0,Ethernet4,Ethernet108,Ethernet100,Ethernet104,Ethernet68,Ethernet96,Ethernet124,Ethernet92,Ethernet120,Ethernet52,Ethernet56,Ethernet76,Ethernet72,Ethernet64,Ethernet32,Ethernet16,Ethernet36,Ethernet12,Ethernet88,Ethernet116,Ethernet80,Ethernet112,Ethernet84,Ethernet48,Ethernet44,Ethernet40,Ethernet28,Ethernet60,Ethernet20,Ethernet24:0-1": { + "profile" : "[BUFFER_PROFILE_TABLE:pg_lossy_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_QUEUE_TABLE:Ethernet8,Ethernet0,Ethernet4,Ethernet108,Ethernet100,Ethernet104,Ethernet68,Ethernet96,Ethernet124,Ethernet92,Ethernet120,Ethernet52,Ethernet56,Ethernet76,Ethernet72,Ethernet64,Ethernet32,Ethernet16,Ethernet36,Ethernet12,Ethernet88,Ethernet116,Ethernet80,Ethernet112,Ethernet84,Ethernet48,Ethernet44,Ethernet40,Ethernet28,Ethernet60,Ethernet20,Ethernet24:3-4": { + "profile" : "[BUFFER_PROFILE_TABLE:q_lossless_profile]" + }, + "OP": "SET" + }, + { + "BUFFER_QUEUE_TABLE:Ethernet8,Ethernet0,Ethernet4,Ethernet108,Ethernet100,Ethernet104,Ethernet68,Ethernet96,Ethernet124,Ethernet92,Ethernet120,Ethernet52,Ethernet56,Ethernet76,Ethernet72,Ethernet64,Ethernet32,Ethernet16,Ethernet36,Ethernet12,Ethernet88,Ethernet116,Ethernet80,Ethernet112,Ethernet84,Ethernet48,Ethernet44,Ethernet40,Ethernet28,Ethernet60,Ethernet20,Ethernet24:0-1": { + "profile" : "[BUFFER_PROFILE_TABLE:q_lossy_profile]" + }, + "OP": "SET" + }, + { + "PFC_PRIORITY_TO_PRIORITY_GROUP_MAP_TABLE:AZURE": { + "0": "0", + "1": "1", + "3": "3", + "4": "4" + }, + "OP": "SET" + }, + { + "PORT_QOS_MAP_TABLE:Ethernet8,Ethernet0,Ethernet4,Ethernet108,Ethernet100,Ethernet104,Ethernet68,Ethernet96,Ethernet124,Ethernet92,Ethernet120,Ethernet52,Ethernet56,Ethernet76,Ethernet72,Ethernet64,Ethernet32,Ethernet16,Ethernet36,Ethernet12,Ethernet88,Ethernet116,Ethernet80,Ethernet112,Ethernet84,Ethernet48,Ethernet44,Ethernet40,Ethernet28,Ethernet60,Ethernet20,Ethernet24": { + "pfc_to_pg_map" : "[PFC_PRIORITY_TO_PRIORITY_GROUP_MAP_TABLE:AZURE]" + }, + "OP": "SET" + } +] diff --git a/ansible/roles/test/files/buffer_profile/minigraph0.xml b/ansible/roles/test/files/buffer_profile/minigraph0.xml new file mode 100644 index 00000000000..df997a63701 --- /dev/null +++ b/ansible/roles/test/files/buffer_profile/minigraph0.xml @@ -0,0 +1,2232 @@ + + + + + + ARISTA01T0 + 10.0.0.33 + str-msn2700-04 + 10.0.0.32 + 1 + 10 + 3 + + + ARISTA01T0 + FC00::42 + str-msn2700-04 + FC00::41 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.0 + ARISTA01T2 + 10.0.0.1 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::1 + ARISTA01T2 + FC00::2 + 1 + 10 + 3 + + + ARISTA02T0 + 10.0.0.35 + str-msn2700-04 + 10.0.0.34 + 1 + 10 + 3 + + + ARISTA02T0 + FC00::46 + str-msn2700-04 + FC00::45 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.2 + ARISTA02T2 + 10.0.0.3 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::5 + ARISTA02T2 + FC00::6 + 1 + 10 + 3 + + + ARISTA03T0 + 10.0.0.37 + str-msn2700-04 + 10.0.0.36 + 1 + 10 + 3 + + + ARISTA03T0 + FC00::4A + str-msn2700-04 + FC00::49 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.4 + ARISTA03T2 + 10.0.0.5 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::9 + ARISTA03T2 + FC00::A + 1 + 10 + 3 + + + ARISTA04T0 + 10.0.0.39 + str-msn2700-04 + 10.0.0.38 + 1 + 10 + 3 + + + ARISTA04T0 + FC00::4E + str-msn2700-04 + FC00::4D + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.6 + ARISTA04T2 + 10.0.0.7 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::D + ARISTA04T2 + FC00::E + 1 + 10 + 3 + + + ARISTA05T0 + 10.0.0.41 + str-msn2700-04 + 10.0.0.40 + 1 + 10 + 3 + + + ARISTA05T0 + FC00::52 + str-msn2700-04 + FC00::51 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.8 + ARISTA05T2 + 10.0.0.9 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::11 + ARISTA05T2 + FC00::12 + 1 + 10 + 3 + + + ARISTA06T0 + 10.0.0.43 + str-msn2700-04 + 10.0.0.42 + 1 + 10 + 3 + + + ARISTA06T0 + FC00::56 + str-msn2700-04 + FC00::55 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.10 + ARISTA06T2 + 10.0.0.11 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::15 + ARISTA06T2 + FC00::16 + 1 + 10 + 3 + + + ARISTA07T0 + 10.0.0.45 + str-msn2700-04 + 10.0.0.44 + 1 + 10 + 3 + + + ARISTA07T0 + FC00::5A + str-msn2700-04 + FC00::59 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.12 + ARISTA07T2 + 10.0.0.13 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::19 + ARISTA07T2 + FC00::1A + 1 + 10 + 3 + + + ARISTA08T0 + 10.0.0.47 + str-msn2700-04 + 10.0.0.46 + 1 + 10 + 3 + + + ARISTA08T0 + FC00::5E + str-msn2700-04 + FC00::5D + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.14 + ARISTA08T2 + 10.0.0.15 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::1D + ARISTA08T2 + FC00::1E + 1 + 10 + 3 + + + ARISTA09T0 + 10.0.0.49 + str-msn2700-04 + 10.0.0.48 + 1 + 10 + 3 + + + ARISTA09T0 + FC00::62 + str-msn2700-04 + FC00::61 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.16 + ARISTA09T2 + 10.0.0.17 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::21 + ARISTA09T2 + FC00::22 + 1 + 10 + 3 + + + ARISTA10T0 + 10.0.0.51 + str-msn2700-04 + 10.0.0.50 + 1 + 10 + 3 + + + ARISTA10T0 + FC00::66 + str-msn2700-04 + FC00::65 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.18 + ARISTA10T2 + 10.0.0.19 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::25 + ARISTA10T2 + FC00::26 + 1 + 10 + 3 + + + ARISTA11T0 + 10.0.0.53 + str-msn2700-04 + 10.0.0.52 + 1 + 10 + 3 + + + ARISTA11T0 + FC00::6A + str-msn2700-04 + FC00::69 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.20 + ARISTA11T2 + 10.0.0.21 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::29 + ARISTA11T2 + FC00::2A + 1 + 10 + 3 + + + ARISTA12T0 + 10.0.0.55 + str-msn2700-04 + 10.0.0.54 + 1 + 10 + 3 + + + ARISTA12T0 + FC00::6E + str-msn2700-04 + FC00::6D + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.22 + ARISTA12T2 + 10.0.0.23 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::2D + ARISTA12T2 + FC00::2E + 1 + 10 + 3 + + + ARISTA13T0 + 10.0.0.57 + str-msn2700-04 + 10.0.0.56 + 1 + 10 + 3 + + + ARISTA13T0 + FC00::72 + str-msn2700-04 + FC00::71 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.24 + ARISTA13T2 + 10.0.0.25 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::31 + ARISTA13T2 + FC00::32 + 1 + 10 + 3 + + + ARISTA14T0 + 10.0.0.59 + str-msn2700-04 + 10.0.0.58 + 1 + 10 + 3 + + + ARISTA14T0 + FC00::76 + str-msn2700-04 + FC00::75 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.26 + ARISTA14T2 + 10.0.0.27 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::35 + ARISTA14T2 + FC00::36 + 1 + 10 + 3 + + + ARISTA15T0 + 10.0.0.61 + str-msn2700-04 + 10.0.0.60 + 1 + 10 + 3 + + + ARISTA15T0 + FC00::7A + str-msn2700-04 + FC00::79 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.28 + ARISTA15T2 + 10.0.0.29 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::39 + ARISTA15T2 + FC00::3A + 1 + 10 + 3 + + + ARISTA16T0 + 10.0.0.63 + str-msn2700-04 + 10.0.0.62 + 1 + 10 + 3 + + + ARISTA16T0 + FC00::7E + str-msn2700-04 + FC00::7D + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.30 + ARISTA16T2 + 10.0.0.31 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::3D + ARISTA16T2 + FC00::3E + 1 + 10 + 3 + + + + + 65100 + str-msn2700-04 + + +
10.0.0.33
+ + +
+ +
10.0.0.1
+ + +
+ +
10.0.0.35
+ + +
+ +
10.0.0.3
+ + +
+ +
10.0.0.37
+ + +
+ +
10.0.0.5
+ + +
+ +
10.0.0.39
+ + +
+ +
10.0.0.7
+ + +
+ +
10.0.0.41
+ + +
+ +
10.0.0.9
+ + +
+ +
10.0.0.43
+ + +
+ +
10.0.0.11
+ + +
+ +
10.0.0.45
+ + +
+ +
10.0.0.13
+ + +
+ +
10.0.0.47
+ + +
+ +
10.0.0.15
+ + +
+ +
10.0.0.49
+ + +
+ +
10.0.0.17
+ + +
+ +
10.0.0.51
+ + +
+ +
10.0.0.19
+ + +
+ +
10.0.0.53
+ + +
+ +
10.0.0.21
+ + +
+ +
10.0.0.55
+ + +
+ +
10.0.0.23
+ + +
+ +
10.0.0.57
+ + +
+ +
10.0.0.25
+ + +
+ +
10.0.0.59
+ + +
+ +
10.0.0.27
+ + +
+ +
10.0.0.61
+ + +
+ +
10.0.0.29
+ + +
+ +
10.0.0.63
+ + +
+ +
10.0.0.31
+ + +
+
+ +
+ + 64001 + ARISTA01T0 + + + + 65200 + ARISTA01T2 + + + + 64002 + ARISTA02T0 + + + + 65200 + ARISTA02T2 + + + + 64003 + ARISTA03T0 + + + + 65200 + ARISTA03T2 + + + + 64004 + ARISTA04T0 + + + + 65200 + ARISTA04T2 + + + + 64005 + ARISTA05T0 + + + + 65200 + ARISTA05T2 + + + + 64006 + ARISTA06T0 + + + + 65200 + ARISTA06T2 + + + + 64007 + ARISTA07T0 + + + + 65200 + ARISTA07T2 + + + + 64008 + ARISTA08T0 + + + + 65200 + ARISTA08T2 + + + + 64009 + ARISTA09T0 + + + + 65200 + ARISTA09T2 + + + + 64010 + ARISTA10T0 + + + + 65200 + ARISTA10T2 + + + + 64011 + ARISTA11T0 + + + + 65200 + ARISTA11T2 + + + + 64012 + ARISTA12T0 + + + + 65200 + ARISTA12T2 + + + + 64013 + ARISTA13T0 + + + + 65200 + ARISTA13T2 + + + + 64014 + ARISTA14T0 + + + + 65200 + ARISTA14T2 + + + + 64015 + ARISTA15T0 + + + + 65200 + ARISTA15T2 + + + + 64016 + ARISTA16T0 + + + + 65200 + ARISTA16T2 + + +
+
+ + + + + + HostIP + Loopback0 + + 10.1.0.32/32 + + 10.1.0.32/32 + + + HostIP1 + Loopback0 + + FC00:1::32/128 + + FC00:1::32/128 + + + + + HostIP + eth0 + + 10.3.147.47/23 + + 10.3.147.47/23 + + + + + + str-msn2700-04 + + + + + + Ethernet0 + 10.0.0.0/31 + + + + Ethernet0 + FC00::1/126 + + + + Ethernet4 + 10.0.0.2/31 + + + + Ethernet4 + FC00::5/126 + + + + Ethernet8 + 10.0.0.4/31 + + + + Ethernet8 + FC00::9/126 + + + + Ethernet12 + 10.0.0.6/31 + + + + Ethernet12 + FC00::D/126 + + + + Ethernet16 + 10.0.0.8/31 + + + + Ethernet16 + FC00::11/126 + + + + Ethernet20 + 10.0.0.10/31 + + + + Ethernet20 + FC00::15/126 + + + + Ethernet24 + 10.0.0.12/31 + + + + Ethernet24 + FC00::19/126 + + + + Ethernet28 + 10.0.0.14/31 + + + + Ethernet28 + FC00::1D/126 + + + + Ethernet32 + 10.0.0.16/31 + + + + Ethernet32 + FC00::21/126 + + + + Ethernet36 + 10.0.0.18/31 + + + + Ethernet36 + FC00::25/126 + + + + Ethernet40 + 10.0.0.20/31 + + + + Ethernet40 + FC00::29/126 + + + + Ethernet44 + 10.0.0.22/31 + + + + Ethernet44 + FC00::2D/126 + + + + Ethernet48 + 10.0.0.24/31 + + + + Ethernet48 + FC00::31/126 + + + + Ethernet52 + 10.0.0.26/31 + + + + Ethernet52 + FC00::35/126 + + + + Ethernet56 + 10.0.0.28/31 + + + + Ethernet56 + FC00::39/126 + + + + Ethernet60 + 10.0.0.30/31 + + + + Ethernet60 + FC00::3D/126 + + + + Ethernet64 + 10.0.0.32/31 + + + + Ethernet64 + FC00::41/126 + + + + Ethernet68 + 10.0.0.34/31 + + + + Ethernet68 + FC00::45/126 + + + + Ethernet72 + 10.0.0.36/31 + + + + Ethernet72 + FC00::49/126 + + + + Ethernet76 + 10.0.0.38/31 + + + + Ethernet76 + FC00::4D/126 + + + + Ethernet80 + 10.0.0.40/31 + + + + Ethernet80 + FC00::51/126 + + + + Ethernet84 + 10.0.0.42/31 + + + + Ethernet84 + FC00::55/126 + + + + Ethernet88 + 10.0.0.44/31 + + + + Ethernet88 + FC00::59/126 + + + + Ethernet92 + 10.0.0.46/31 + + + + Ethernet92 + FC00::5D/126 + + + + Ethernet96 + 10.0.0.48/31 + + + + Ethernet96 + FC00::61/126 + + + + Ethernet100 + 10.0.0.50/31 + + + + Ethernet100 + FC00::65/126 + + + + Ethernet104 + 10.0.0.52/31 + + + + Ethernet104 + FC00::69/126 + + + + Ethernet108 + 10.0.0.54/31 + + + + Ethernet108 + FC00::6D/126 + + + + Ethernet112 + 10.0.0.56/31 + + + + Ethernet112 + FC00::71/126 + + + + Ethernet116 + 10.0.0.58/31 + + + + Ethernet116 + FC00::75/126 + + + + Ethernet120 + 10.0.0.60/31 + + + + Ethernet120 + FC00::79/126 + + + + Ethernet124 + 10.0.0.62/31 + + + + Ethernet124 + FC00::7D/126 + + + + + + + + + + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet0 + ARISTA01T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet4 + ARISTA02T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet8 + ARISTA03T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet12 + ARISTA04T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet16 + ARISTA05T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet20 + ARISTA06T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet24 + ARISTA07T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet28 + ARISTA08T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet32 + ARISTA09T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet36 + ARISTA10T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet40 + ARISTA11T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet44 + ARISTA12T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet48 + ARISTA13T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet52 + ARISTA14T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet56 + ARISTA15T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet60 + ARISTA16T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet64 + ARISTA01T0 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet68 + ARISTA02T0 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet72 + ARISTA03T0 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet76 + ARISTA04T0 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet80 + ARISTA05T0 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet84 + ARISTA06T0 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet88 + ARISTA07T0 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet92 + ARISTA08T0 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet96 + ARISTA09T0 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet100 + ARISTA10T0 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet104 + ARISTA11T0 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet108 + ARISTA12T0 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet112 + ARISTA13T0 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet116 + ARISTA14T0 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet120 + ARISTA15T0 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet124 + ARISTA16T0 + Ethernet1 + + + + + str-msn2700-04 + ACS-MSN2700 + + 10.3.147.47 + + + + "ARISTA01T0" + Arista-VM + + 10.64.246.112 + + + + "ARISTA01T2" + Arista-VM + + 10.64.246.96 + + + + "ARISTA02T0" + Arista-VM + + 10.64.246.113 + + + + "ARISTA02T2" + Arista-VM + + 10.64.246.97 + + + + "ARISTA03T0" + Arista-VM + + 10.64.246.114 + + + + "ARISTA03T2" + Arista-VM + + 10.64.246.98 + + + + "ARISTA04T0" + Arista-VM + + 10.64.246.115 + + + + "ARISTA04T2" + Arista-VM + + 10.64.246.99 + + + + "ARISTA05T0" + Arista-VM + + 10.64.246.116 + + + + "ARISTA05T2" + Arista-VM + + 10.64.246.100 + + + + "ARISTA06T0" + Arista-VM + + 10.64.246.117 + + + + "ARISTA06T2" + Arista-VM + + 10.64.246.101 + + + + "ARISTA07T0" + Arista-VM + + 10.64.246.118 + + + + "ARISTA07T2" + Arista-VM + + 10.64.246.102 + + + + "ARISTA08T0" + Arista-VM + + 10.64.246.119 + + + + "ARISTA08T2" + Arista-VM + + 10.64.246.103 + + + + "ARISTA09T0" + Arista-VM + + 10.64.246.120 + + + + "ARISTA09T2" + Arista-VM + + 10.64.246.104 + + + + "ARISTA10T0" + Arista-VM + + 10.64.246.121 + + + + "ARISTA10T2" + Arista-VM + + 10.64.246.105 + + + + "ARISTA11T0" + Arista-VM + + 10.64.246.122 + + + + "ARISTA11T2" + Arista-VM + + 10.64.246.106 + + + + "ARISTA12T0" + Arista-VM + + 10.64.246.123 + + + + "ARISTA12T2" + Arista-VM + + 10.64.246.107 + + + + "ARISTA13T0" + Arista-VM + + 10.64.246.124 + + + + "ARISTA13T2" + Arista-VM + + 10.64.246.108 + + + + "ARISTA14T0" + Arista-VM + + 10.64.246.125 + + + + "ARISTA14T2" + Arista-VM + + 10.64.246.109 + + + + "ARISTA15T0" + Arista-VM + + 10.64.246.126 + + + + "ARISTA15T2" + Arista-VM + + 10.64.246.110 + + + + "ARISTA16T0" + Arista-VM + + 10.64.246.127 + + + + "ARISTA16T2" + Arista-VM + + 10.64.246.111 + + + + + + + true + + + DeviceInterface + + true + true + 1 + Ethernet0 + + false + 0 + 0 + 10000 + + + DeviceInterface + + true + true + 1 + Ethernet4 + + false + 0 + 0 + 25000 + + + DeviceInterface + + true + true + 1 + Ethernet8 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet12 + + false + 0 + 0 + 50000 + + + DeviceInterface + + true + true + 1 + Ethernet16 + + false + 0 + 0 + 56000 + + + DeviceInterface + + true + true + 1 + Ethernet20 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet24 + + false + 0 + 0 + 10000 + + + DeviceInterface + + true + true + 1 + Ethernet28 + + false + 0 + 0 + 25000 + + + DeviceInterface + + true + true + 1 + Ethernet32 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet36 + + false + 0 + 0 + 50000 + + + DeviceInterface + + true + true + 1 + Ethernet40 + + false + 0 + 0 + 56000 + + + DeviceInterface + + true + true + 1 + Ethernet44 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet48 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet52 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet56 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet60 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet64 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet68 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet72 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet76 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet80 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet84 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet88 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet92 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet96 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet100 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet104 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet108 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet112 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet116 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet120 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet124 + + false + 0 + 0 + 40000 + + + true + 0 + ACS-MSN2700 + + + + + + + str-msn2700-04 + + + DhcpResources + + 10.3.146.1 + + + NTPResources + + 10.3.149.170;10.3.149.171 + + + DeploymentId + + 1 + + + QosProfile + + Profile0 + + + RadiusResources + + + + + SnmpResources + + 10.3.145.98 + + + SyslogResources + + 10.3.145.8;100.127.20.21 + + + TacacsGroup + + Starlab + + + TacacsServer + + 10.3.145.14;10.3.145.15 + + + ForcedMgmtRoutes + + 10.3.145.98/31;10.3.145.8;100.127.20.16/28;10.3.149.170/31;40.122.216.24;13.91.48.226 + + + ErspanDestinationIpv4 + + 10.20.6.16 + + + + + + + str-msn2700-04 + ACS-MSN2700 +
diff --git a/ansible/roles/test/files/buffer_profile/minigraph1.xml b/ansible/roles/test/files/buffer_profile/minigraph1.xml new file mode 100644 index 00000000000..eb80afadb19 --- /dev/null +++ b/ansible/roles/test/files/buffer_profile/minigraph1.xml @@ -0,0 +1,2232 @@ + + + + + + ARISTA01T0 + 10.0.0.33 + str-msn2700-04 + 10.0.0.32 + 1 + 10 + 3 + + + ARISTA01T0 + FC00::42 + str-msn2700-04 + FC00::41 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.0 + ARISTA01T2 + 10.0.0.1 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::1 + ARISTA01T2 + FC00::2 + 1 + 10 + 3 + + + ARISTA02T0 + 10.0.0.35 + str-msn2700-04 + 10.0.0.34 + 1 + 10 + 3 + + + ARISTA02T0 + FC00::46 + str-msn2700-04 + FC00::45 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.2 + ARISTA02T2 + 10.0.0.3 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::5 + ARISTA02T2 + FC00::6 + 1 + 10 + 3 + + + ARISTA03T0 + 10.0.0.37 + str-msn2700-04 + 10.0.0.36 + 1 + 10 + 3 + + + ARISTA03T0 + FC00::4A + str-msn2700-04 + FC00::49 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.4 + ARISTA03T2 + 10.0.0.5 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::9 + ARISTA03T2 + FC00::A + 1 + 10 + 3 + + + ARISTA04T0 + 10.0.0.39 + str-msn2700-04 + 10.0.0.38 + 1 + 10 + 3 + + + ARISTA04T0 + FC00::4E + str-msn2700-04 + FC00::4D + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.6 + ARISTA04T2 + 10.0.0.7 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::D + ARISTA04T2 + FC00::E + 1 + 10 + 3 + + + ARISTA05T0 + 10.0.0.41 + str-msn2700-04 + 10.0.0.40 + 1 + 10 + 3 + + + ARISTA05T0 + FC00::52 + str-msn2700-04 + FC00::51 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.8 + ARISTA05T2 + 10.0.0.9 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::11 + ARISTA05T2 + FC00::12 + 1 + 10 + 3 + + + ARISTA06T0 + 10.0.0.43 + str-msn2700-04 + 10.0.0.42 + 1 + 10 + 3 + + + ARISTA06T0 + FC00::56 + str-msn2700-04 + FC00::55 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.10 + ARISTA06T2 + 10.0.0.11 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::15 + ARISTA06T2 + FC00::16 + 1 + 10 + 3 + + + ARISTA07T0 + 10.0.0.45 + str-msn2700-04 + 10.0.0.44 + 1 + 10 + 3 + + + ARISTA07T0 + FC00::5A + str-msn2700-04 + FC00::59 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.12 + ARISTA07T2 + 10.0.0.13 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::19 + ARISTA07T2 + FC00::1A + 1 + 10 + 3 + + + ARISTA08T0 + 10.0.0.47 + str-msn2700-04 + 10.0.0.46 + 1 + 10 + 3 + + + ARISTA08T0 + FC00::5E + str-msn2700-04 + FC00::5D + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.14 + ARISTA08T2 + 10.0.0.15 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::1D + ARISTA08T2 + FC00::1E + 1 + 10 + 3 + + + ARISTA09T0 + 10.0.0.49 + str-msn2700-04 + 10.0.0.48 + 1 + 10 + 3 + + + ARISTA09T0 + FC00::62 + str-msn2700-04 + FC00::61 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.16 + ARISTA09T2 + 10.0.0.17 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::21 + ARISTA09T2 + FC00::22 + 1 + 10 + 3 + + + ARISTA10T0 + 10.0.0.51 + str-msn2700-04 + 10.0.0.50 + 1 + 10 + 3 + + + ARISTA10T0 + FC00::66 + str-msn2700-04 + FC00::65 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.18 + ARISTA10T2 + 10.0.0.19 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::25 + ARISTA10T2 + FC00::26 + 1 + 10 + 3 + + + ARISTA11T0 + 10.0.0.53 + str-msn2700-04 + 10.0.0.52 + 1 + 10 + 3 + + + ARISTA11T0 + FC00::6A + str-msn2700-04 + FC00::69 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.20 + ARISTA11T2 + 10.0.0.21 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::29 + ARISTA11T2 + FC00::2A + 1 + 10 + 3 + + + ARISTA12T0 + 10.0.0.55 + str-msn2700-04 + 10.0.0.54 + 1 + 10 + 3 + + + ARISTA12T0 + FC00::6E + str-msn2700-04 + FC00::6D + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.22 + ARISTA12T2 + 10.0.0.23 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::2D + ARISTA12T2 + FC00::2E + 1 + 10 + 3 + + + ARISTA13T0 + 10.0.0.57 + str-msn2700-04 + 10.0.0.56 + 1 + 10 + 3 + + + ARISTA13T0 + FC00::72 + str-msn2700-04 + FC00::71 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.24 + ARISTA13T2 + 10.0.0.25 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::31 + ARISTA13T2 + FC00::32 + 1 + 10 + 3 + + + ARISTA14T0 + 10.0.0.59 + str-msn2700-04 + 10.0.0.58 + 1 + 10 + 3 + + + ARISTA14T0 + FC00::76 + str-msn2700-04 + FC00::75 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.26 + ARISTA14T2 + 10.0.0.27 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::35 + ARISTA14T2 + FC00::36 + 1 + 10 + 3 + + + ARISTA15T0 + 10.0.0.61 + str-msn2700-04 + 10.0.0.60 + 1 + 10 + 3 + + + ARISTA15T0 + FC00::7A + str-msn2700-04 + FC00::79 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.28 + ARISTA15T2 + 10.0.0.29 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::39 + ARISTA15T2 + FC00::3A + 1 + 10 + 3 + + + ARISTA16T0 + 10.0.0.63 + str-msn2700-04 + 10.0.0.62 + 1 + 10 + 3 + + + ARISTA16T0 + FC00::7E + str-msn2700-04 + FC00::7D + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.30 + ARISTA16T2 + 10.0.0.31 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::3D + ARISTA16T2 + FC00::3E + 1 + 10 + 3 + + + + + 65100 + str-msn2700-04 + + +
10.0.0.33
+ + +
+ +
10.0.0.1
+ + +
+ +
10.0.0.35
+ + +
+ +
10.0.0.3
+ + +
+ +
10.0.0.37
+ + +
+ +
10.0.0.5
+ + +
+ +
10.0.0.39
+ + +
+ +
10.0.0.7
+ + +
+ +
10.0.0.41
+ + +
+ +
10.0.0.9
+ + +
+ +
10.0.0.43
+ + +
+ +
10.0.0.11
+ + +
+ +
10.0.0.45
+ + +
+ +
10.0.0.13
+ + +
+ +
10.0.0.47
+ + +
+ +
10.0.0.15
+ + +
+ +
10.0.0.49
+ + +
+ +
10.0.0.17
+ + +
+ +
10.0.0.51
+ + +
+ +
10.0.0.19
+ + +
+ +
10.0.0.53
+ + +
+ +
10.0.0.21
+ + +
+ +
10.0.0.55
+ + +
+ +
10.0.0.23
+ + +
+ +
10.0.0.57
+ + +
+ +
10.0.0.25
+ + +
+ +
10.0.0.59
+ + +
+ +
10.0.0.27
+ + +
+ +
10.0.0.61
+ + +
+ +
10.0.0.29
+ + +
+ +
10.0.0.63
+ + +
+ +
10.0.0.31
+ + +
+
+ +
+ + 64001 + ARISTA01T0 + + + + 65200 + ARISTA01T2 + + + + 64002 + ARISTA02T0 + + + + 65200 + ARISTA02T2 + + + + 64003 + ARISTA03T0 + + + + 65200 + ARISTA03T2 + + + + 64004 + ARISTA04T0 + + + + 65200 + ARISTA04T2 + + + + 64005 + ARISTA05T0 + + + + 65200 + ARISTA05T2 + + + + 64006 + ARISTA06T0 + + + + 65200 + ARISTA06T2 + + + + 64007 + ARISTA07T0 + + + + 65200 + ARISTA07T2 + + + + 64008 + ARISTA08T0 + + + + 65200 + ARISTA08T2 + + + + 64009 + ARISTA09T0 + + + + 65200 + ARISTA09T2 + + + + 64010 + ARISTA10T0 + + + + 65200 + ARISTA10T2 + + + + 64011 + ARISTA11T0 + + + + 65200 + ARISTA11T2 + + + + 64012 + ARISTA12T0 + + + + 65200 + ARISTA12T2 + + + + 64013 + ARISTA13T0 + + + + 65200 + ARISTA13T2 + + + + 64014 + ARISTA14T0 + + + + 65200 + ARISTA14T2 + + + + 64015 + ARISTA15T0 + + + + 65200 + ARISTA15T2 + + + + 64016 + ARISTA16T0 + + + + 65200 + ARISTA16T2 + + +
+
+ + + + + + HostIP + Loopback0 + + 10.1.0.32/32 + + 10.1.0.32/32 + + + HostIP1 + Loopback0 + + FC00:1::32/128 + + FC00:1::32/128 + + + + + HostIP + eth0 + + 10.3.147.47/23 + + 10.3.147.47/23 + + + + + + str-msn2700-04 + + + + + + Ethernet0 + 10.0.0.0/31 + + + + Ethernet0 + FC00::1/126 + + + + Ethernet4 + 10.0.0.2/31 + + + + Ethernet4 + FC00::5/126 + + + + Ethernet8 + 10.0.0.4/31 + + + + Ethernet8 + FC00::9/126 + + + + Ethernet12 + 10.0.0.6/31 + + + + Ethernet12 + FC00::D/126 + + + + Ethernet16 + 10.0.0.8/31 + + + + Ethernet16 + FC00::11/126 + + + + Ethernet20 + 10.0.0.10/31 + + + + Ethernet20 + FC00::15/126 + + + + Ethernet24 + 10.0.0.12/31 + + + + Ethernet24 + FC00::19/126 + + + + Ethernet28 + 10.0.0.14/31 + + + + Ethernet28 + FC00::1D/126 + + + + Ethernet32 + 10.0.0.16/31 + + + + Ethernet32 + FC00::21/126 + + + + Ethernet36 + 10.0.0.18/31 + + + + Ethernet36 + FC00::25/126 + + + + Ethernet40 + 10.0.0.20/31 + + + + Ethernet40 + FC00::29/126 + + + + Ethernet44 + 10.0.0.22/31 + + + + Ethernet44 + FC00::2D/126 + + + + Ethernet48 + 10.0.0.24/31 + + + + Ethernet48 + FC00::31/126 + + + + Ethernet52 + 10.0.0.26/31 + + + + Ethernet52 + FC00::35/126 + + + + Ethernet56 + 10.0.0.28/31 + + + + Ethernet56 + FC00::39/126 + + + + Ethernet60 + 10.0.0.30/31 + + + + Ethernet60 + FC00::3D/126 + + + + Ethernet64 + 10.0.0.32/31 + + + + Ethernet64 + FC00::41/126 + + + + Ethernet68 + 10.0.0.34/31 + + + + Ethernet68 + FC00::45/126 + + + + Ethernet72 + 10.0.0.36/31 + + + + Ethernet72 + FC00::49/126 + + + + Ethernet76 + 10.0.0.38/31 + + + + Ethernet76 + FC00::4D/126 + + + + Ethernet80 + 10.0.0.40/31 + + + + Ethernet80 + FC00::51/126 + + + + Ethernet84 + 10.0.0.42/31 + + + + Ethernet84 + FC00::55/126 + + + + Ethernet88 + 10.0.0.44/31 + + + + Ethernet88 + FC00::59/126 + + + + Ethernet92 + 10.0.0.46/31 + + + + Ethernet92 + FC00::5D/126 + + + + Ethernet96 + 10.0.0.48/31 + + + + Ethernet96 + FC00::61/126 + + + + Ethernet100 + 10.0.0.50/31 + + + + Ethernet100 + FC00::65/126 + + + + Ethernet104 + 10.0.0.52/31 + + + + Ethernet104 + FC00::69/126 + + + + Ethernet108 + 10.0.0.54/31 + + + + Ethernet108 + FC00::6D/126 + + + + Ethernet112 + 10.0.0.56/31 + + + + Ethernet112 + FC00::71/126 + + + + Ethernet116 + 10.0.0.58/31 + + + + Ethernet116 + FC00::75/126 + + + + Ethernet120 + 10.0.0.60/31 + + + + Ethernet120 + FC00::79/126 + + + + Ethernet124 + 10.0.0.62/31 + + + + Ethernet124 + FC00::7D/126 + + + + + + + + + + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet0 + ARISTA01T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet4 + ARISTA02T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet8 + ARISTA03T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet12 + ARISTA04T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet16 + ARISTA05T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet20 + ARISTA06T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet24 + ARISTA07T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet28 + ARISTA08T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet32 + ARISTA09T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet36 + ARISTA10T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet40 + ARISTA11T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet44 + ARISTA12T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet48 + ARISTA13T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet52 + ARISTA14T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet56 + ARISTA15T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet60 + ARISTA16T2 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet64 + ARISTA01T0 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet68 + ARISTA02T0 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet72 + ARISTA03T0 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet76 + ARISTA04T0 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet80 + ARISTA05T0 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet84 + ARISTA06T0 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet88 + ARISTA07T0 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet92 + ARISTA08T0 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet96 + ARISTA09T0 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet100 + ARISTA10T0 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet104 + ARISTA11T0 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet108 + ARISTA12T0 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet112 + ARISTA13T0 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet116 + ARISTA14T0 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet120 + ARISTA15T0 + Ethernet1 + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet124 + ARISTA16T0 + Ethernet1 + + + + + str-msn2700-04 + ACS-MSN2700 + + 10.3.147.47 + + + + "ARISTA01T0" + Arista-VM + + 10.64.246.112 + + + + "ARISTA01T2" + Arista-VM + + 10.64.246.96 + + + + "ARISTA02T0" + Arista-VM + + 10.64.246.113 + + + + "ARISTA02T2" + Arista-VM + + 10.64.246.97 + + + + "ARISTA03T0" + Arista-VM + + 10.64.246.114 + + + + "ARISTA03T2" + Arista-VM + + 10.64.246.98 + + + + "ARISTA04T0" + Arista-VM + + 10.64.246.115 + + + + "ARISTA04T2" + Arista-VM + + 10.64.246.99 + + + + "ARISTA05T0" + Arista-VM + + 10.64.246.116 + + + + "ARISTA05T2" + Arista-VM + + 10.64.246.100 + + + + "ARISTA06T0" + Arista-VM + + 10.64.246.117 + + + + "ARISTA06T2" + Arista-VM + + 10.64.246.101 + + + + "ARISTA07T0" + Arista-VM + + 10.64.246.118 + + + + "ARISTA07T2" + Arista-VM + + 10.64.246.102 + + + + "ARISTA08T0" + Arista-VM + + 10.64.246.119 + + + + "ARISTA08T2" + Arista-VM + + 10.64.246.103 + + + + "ARISTA09T0" + Arista-VM + + 10.64.246.120 + + + + "ARISTA09T2" + Arista-VM + + 10.64.246.104 + + + + "ARISTA10T0" + Arista-VM + + 10.64.246.121 + + + + "ARISTA10T2" + Arista-VM + + 10.64.246.105 + + + + "ARISTA11T0" + Arista-VM + + 10.64.246.122 + + + + "ARISTA11T2" + Arista-VM + + 10.64.246.106 + + + + "ARISTA12T0" + Arista-VM + + 10.64.246.123 + + + + "ARISTA12T2" + Arista-VM + + 10.64.246.107 + + + + "ARISTA13T0" + Arista-VM + + 10.64.246.124 + + + + "ARISTA13T2" + Arista-VM + + 10.64.246.108 + + + + "ARISTA14T0" + Arista-VM + + 10.64.246.125 + + + + "ARISTA14T2" + Arista-VM + + 10.64.246.109 + + + + "ARISTA15T0" + Arista-VM + + 10.64.246.126 + + + + "ARISTA15T2" + Arista-VM + + 10.64.246.110 + + + + "ARISTA16T0" + Arista-VM + + 10.64.246.127 + + + + "ARISTA16T2" + Arista-VM + + 10.64.246.111 + + + + + + + true + + + DeviceInterface + + true + true + 1 + Ethernet0 + + false + 0 + 0 + 10000 + + + DeviceInterface + + true + true + 1 + Ethernet4 + + false + 0 + 0 + 25000 + + + DeviceInterface + + true + true + 1 + Ethernet8 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet12 + + false + 0 + 0 + 50000 + + + DeviceInterface + + true + true + 1 + Ethernet16 + + false + 0 + 0 + 56000 + + + DeviceInterface + + true + true + 1 + Ethernet20 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet24 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet28 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet32 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet36 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet40 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet44 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet48 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet52 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet56 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet60 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet64 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet68 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet72 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet76 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet80 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet84 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet88 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet92 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet96 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet100 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet104 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet108 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet112 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet116 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet120 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet124 + + false + 0 + 0 + 40000 + + + true + 0 + ACS-MSN2700 + + + + + + + str-msn2700-04 + + + DhcpResources + + 10.3.146.1 + + + NTPResources + + 10.3.149.170;10.3.149.171 + + + DeploymentId + + 1 + + + QosProfile + + Profile0 + + + RadiusResources + + + + + SnmpResources + + 10.3.145.98 + + + SyslogResources + + 10.3.145.8;100.127.20.21 + + + TacacsGroup + + Starlab + + + TacacsServer + + 10.3.145.14;10.3.145.15 + + + ForcedMgmtRoutes + + 10.3.145.98/31;10.3.145.8;100.127.20.16/28;10.3.149.170/31;40.122.216.24;13.91.48.226 + + + ErspanDestinationIpv4 + + 10.20.6.16 + + + + + + + str-msn2700-04 + ACS-MSN2700 +
diff --git a/ansible/roles/test/files/buffer_profile/minigraph2.xml b/ansible/roles/test/files/buffer_profile/minigraph2.xml new file mode 100644 index 00000000000..28d0458ceb2 --- /dev/null +++ b/ansible/roles/test/files/buffer_profile/minigraph2.xml @@ -0,0 +1,1375 @@ + + + + + + ARISTA01T0 + 10.0.0.33 + str-msn2700-04 + 10.0.0.32 + 1 + 10 + 3 + + + ARISTA01T0 + FC00::42 + str-msn2700-04 + FC00::41 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.0 + ARISTA01T2 + 10.0.0.1 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::1 + ARISTA01T2 + FC00::2 + 1 + 10 + 3 + + + ARISTA02T0 + 10.0.0.35 + str-msn2700-04 + 10.0.0.34 + 1 + 10 + 3 + + + ARISTA02T0 + FC00::46 + str-msn2700-04 + FC00::45 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.2 + ARISTA02T2 + 10.0.0.3 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::5 + ARISTA02T2 + FC00::6 + 1 + 10 + 3 + + + ARISTA03T0 + 10.0.0.37 + str-msn2700-04 + 10.0.0.36 + 1 + 10 + 3 + + + ARISTA03T0 + FC00::4A + str-msn2700-04 + FC00::49 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.4 + ARISTA03T2 + 10.0.0.5 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::9 + ARISTA03T2 + FC00::A + 1 + 10 + 3 + + + ARISTA04T0 + 10.0.0.39 + str-msn2700-04 + 10.0.0.38 + 1 + 10 + 3 + + + ARISTA04T0 + FC00::4E + str-msn2700-04 + FC00::4D + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.6 + ARISTA04T2 + 10.0.0.7 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::D + ARISTA04T2 + FC00::E + 1 + 10 + 3 + + + ARISTA05T0 + 10.0.0.41 + str-msn2700-04 + 10.0.0.40 + 1 + 10 + 3 + + + ARISTA05T0 + FC00::52 + str-msn2700-04 + FC00::51 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.8 + ARISTA05T2 + 10.0.0.9 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::11 + ARISTA05T2 + FC00::12 + 1 + 10 + 3 + + + ARISTA06T0 + 10.0.0.43 + str-msn2700-04 + 10.0.0.42 + 1 + 10 + 3 + + + ARISTA06T0 + FC00::56 + str-msn2700-04 + FC00::55 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.10 + ARISTA06T2 + 10.0.0.11 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::15 + ARISTA06T2 + FC00::16 + 1 + 10 + 3 + + + ARISTA07T0 + 10.0.0.45 + str-msn2700-04 + 10.0.0.44 + 1 + 10 + 3 + + + ARISTA07T0 + FC00::5A + str-msn2700-04 + FC00::59 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.12 + ARISTA07T2 + 10.0.0.13 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::19 + ARISTA07T2 + FC00::1A + 1 + 10 + 3 + + + ARISTA08T0 + 10.0.0.47 + str-msn2700-04 + 10.0.0.46 + 1 + 10 + 3 + + + ARISTA08T0 + FC00::5E + str-msn2700-04 + FC00::5D + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.14 + ARISTA08T2 + 10.0.0.15 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::1D + ARISTA08T2 + FC00::1E + 1 + 10 + 3 + + + ARISTA09T0 + 10.0.0.49 + str-msn2700-04 + 10.0.0.48 + 1 + 10 + 3 + + + ARISTA09T0 + FC00::62 + str-msn2700-04 + FC00::61 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.16 + ARISTA09T2 + 10.0.0.17 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::21 + ARISTA09T2 + FC00::22 + 1 + 10 + 3 + + + ARISTA10T0 + 10.0.0.51 + str-msn2700-04 + 10.0.0.50 + 1 + 10 + 3 + + + ARISTA10T0 + FC00::66 + str-msn2700-04 + FC00::65 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.18 + ARISTA10T2 + 10.0.0.19 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::25 + ARISTA10T2 + FC00::26 + 1 + 10 + 3 + + + ARISTA11T0 + 10.0.0.53 + str-msn2700-04 + 10.0.0.52 + 1 + 10 + 3 + + + ARISTA11T0 + FC00::6A + str-msn2700-04 + FC00::69 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.20 + ARISTA11T2 + 10.0.0.21 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::29 + ARISTA11T2 + FC00::2A + 1 + 10 + 3 + + + ARISTA12T0 + 10.0.0.55 + str-msn2700-04 + 10.0.0.54 + 1 + 10 + 3 + + + ARISTA12T0 + FC00::6E + str-msn2700-04 + FC00::6D + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.22 + ARISTA12T2 + 10.0.0.23 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::2D + ARISTA12T2 + FC00::2E + 1 + 10 + 3 + + + ARISTA13T0 + 10.0.0.57 + str-msn2700-04 + 10.0.0.56 + 1 + 10 + 3 + + + ARISTA13T0 + FC00::72 + str-msn2700-04 + FC00::71 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.24 + ARISTA13T2 + 10.0.0.25 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::31 + ARISTA13T2 + FC00::32 + 1 + 10 + 3 + + + ARISTA14T0 + 10.0.0.59 + str-msn2700-04 + 10.0.0.58 + 1 + 10 + 3 + + + ARISTA14T0 + FC00::76 + str-msn2700-04 + FC00::75 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.26 + ARISTA14T2 + 10.0.0.27 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::35 + ARISTA14T2 + FC00::36 + 1 + 10 + 3 + + + ARISTA15T0 + 10.0.0.61 + str-msn2700-04 + 10.0.0.60 + 1 + 10 + 3 + + + ARISTA15T0 + FC00::7A + str-msn2700-04 + FC00::79 + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.28 + ARISTA15T2 + 10.0.0.29 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::39 + ARISTA15T2 + FC00::3A + 1 + 10 + 3 + + + ARISTA16T0 + 10.0.0.63 + str-msn2700-04 + 10.0.0.62 + 1 + 10 + 3 + + + ARISTA16T0 + FC00::7E + str-msn2700-04 + FC00::7D + 1 + 10 + 3 + + + str-msn2700-04 + 10.0.0.30 + ARISTA16T2 + 10.0.0.31 + 1 + 10 + 3 + + + str-msn2700-04 + FC00::3D + ARISTA16T2 + FC00::3E + 1 + 10 + 3 + + + + + 65100 + str-msn2700-04 + + +
10.0.0.33
+ + +
+ +
10.0.0.1
+ + +
+ +
10.0.0.35
+ + +
+ +
10.0.0.3
+ + +
+ +
10.0.0.37
+ + +
+ +
10.0.0.5
+ + +
+ +
10.0.0.39
+ + +
+ +
10.0.0.7
+ + +
+ +
10.0.0.41
+ + +
+ +
10.0.0.9
+ + +
+ +
10.0.0.43
+ + +
+ +
10.0.0.11
+ + +
+ +
10.0.0.45
+ + +
+ +
10.0.0.13
+ + +
+ +
10.0.0.47
+ + +
+ +
10.0.0.15
+ + +
+ +
10.0.0.49
+ + +
+ +
10.0.0.17
+ + +
+ +
10.0.0.51
+ + +
+ +
10.0.0.19
+ + +
+ +
10.0.0.53
+ + +
+ +
10.0.0.21
+ + +
+ +
10.0.0.55
+ + +
+ +
10.0.0.23
+ + +
+ +
10.0.0.57
+ + +
+ +
10.0.0.25
+ + +
+ +
10.0.0.59
+ + +
+ +
10.0.0.27
+ + +
+ +
10.0.0.61
+ + +
+ +
10.0.0.29
+ + +
+ +
10.0.0.63
+ + +
+ +
10.0.0.31
+ + +
+
+ +
+ + 64001 + ARISTA01T0 + + + + 65200 + ARISTA01T2 + + + + 64002 + ARISTA02T0 + + + + 65200 + ARISTA02T2 + + + + 64003 + ARISTA03T0 + + + + 65200 + ARISTA03T2 + + + + 64004 + ARISTA04T0 + + + + 65200 + ARISTA04T2 + + + + 64005 + ARISTA05T0 + + + + 65200 + ARISTA05T2 + + + + 64006 + ARISTA06T0 + + + + 65200 + ARISTA06T2 + + + + 64007 + ARISTA07T0 + + + + 65200 + ARISTA07T2 + + + + 64008 + ARISTA08T0 + + + + 65200 + ARISTA08T2 + + + + 64009 + ARISTA09T0 + + + + 65200 + ARISTA09T2 + + + + 64010 + ARISTA10T0 + + + + 65200 + ARISTA10T2 + + + + 64011 + ARISTA11T0 + + + + 65200 + ARISTA11T2 + + + + 64012 + ARISTA12T0 + + + + 65200 + ARISTA12T2 + + + + 64013 + ARISTA13T0 + + + + 65200 + ARISTA13T2 + + + + 64014 + ARISTA14T0 + + + + 65200 + ARISTA14T2 + + + + 64015 + ARISTA15T0 + + + + 65200 + ARISTA15T2 + + + + 64016 + ARISTA16T0 + + + + 65200 + ARISTA16T2 + + +
+
+ + + + + + HostIP + Loopback0 + + 10.1.0.32/32 + + 10.1.0.32/32 + + + HostIP1 + Loopback0 + + FC00:1::32/128 + + FC00:1::32/128 + + + + + HostIP + eth0 + + 10.3.147.47/23 + + 10.3.147.47/23 + + + + + + str-msn2700-04 + + + + + + Ethernet0 + 10.0.0.0/31 + + + + Ethernet0 + FC00::1/126 + + + + Ethernet4 + 10.0.0.2/31 + + + + Ethernet4 + FC00::5/126 + + + + Ethernet8 + 10.0.0.4/31 + + + + Ethernet8 + FC00::9/126 + + + + Ethernet12 + 10.0.0.6/31 + + + + Ethernet12 + FC00::D/126 + + + + Ethernet16 + 10.0.0.8/31 + + + + Ethernet16 + FC00::11/126 + + + + Ethernet20 + 10.0.0.10/31 + + + + Ethernet20 + FC00::15/126 + + + + Ethernet24 + 10.0.0.12/31 + + + + Ethernet24 + FC00::19/126 + + + + Ethernet28 + 10.0.0.14/31 + + + + Ethernet28 + FC00::1D/126 + + + + Ethernet32 + 10.0.0.16/31 + + + + Ethernet32 + FC00::21/126 + + + + Ethernet36 + 10.0.0.18/31 + + + + Ethernet36 + FC00::25/126 + + + + Ethernet40 + 10.0.0.20/31 + + + + Ethernet40 + FC00::29/126 + + + + Ethernet44 + 10.0.0.22/31 + + + + Ethernet44 + FC00::2D/126 + + + + Ethernet48 + 10.0.0.24/31 + + + + Ethernet48 + FC00::31/126 + + + + Ethernet52 + 10.0.0.26/31 + + + + Ethernet52 + FC00::35/126 + + + + Ethernet56 + 10.0.0.28/31 + + + + Ethernet56 + FC00::39/126 + + + + Ethernet60 + 10.0.0.30/31 + + + + Ethernet60 + FC00::3D/126 + + + + Ethernet64 + 10.0.0.32/31 + + + + Ethernet64 + FC00::41/126 + + + + Ethernet68 + 10.0.0.34/31 + + + + Ethernet68 + FC00::45/126 + + + + Ethernet72 + 10.0.0.36/31 + + + + Ethernet72 + FC00::49/126 + + + + Ethernet76 + 10.0.0.38/31 + + + + Ethernet76 + FC00::4D/126 + + + + Ethernet80 + 10.0.0.40/31 + + + + Ethernet80 + FC00::51/126 + + + + Ethernet84 + 10.0.0.42/31 + + + + Ethernet84 + FC00::55/126 + + + + Ethernet88 + 10.0.0.44/31 + + + + Ethernet88 + FC00::59/126 + + + + Ethernet92 + 10.0.0.46/31 + + + + Ethernet92 + FC00::5D/126 + + + + Ethernet96 + 10.0.0.48/31 + + + + Ethernet96 + FC00::61/126 + + + + Ethernet100 + 10.0.0.50/31 + + + + Ethernet100 + FC00::65/126 + + + + Ethernet104 + 10.0.0.52/31 + + + + Ethernet104 + FC00::69/126 + + + + Ethernet108 + 10.0.0.54/31 + + + + Ethernet108 + FC00::6D/126 + + + + Ethernet112 + 10.0.0.56/31 + + + + Ethernet112 + FC00::71/126 + + + + Ethernet116 + 10.0.0.58/31 + + + + Ethernet116 + FC00::75/126 + + + + Ethernet120 + 10.0.0.60/31 + + + + Ethernet120 + FC00::79/126 + + + + Ethernet124 + 10.0.0.62/31 + + + + Ethernet124 + FC00::7D/126 + + + + + + + + + + + + DeviceInterfaceLink + str-msn2700-04 + Ethernet0 + ARISTA01T2 + Ethernet1 + + + + + str-msn2700-04 + ACS-MSN2700 + + 10.3.147.47 + + + + + + + true + + + true + 0 + ACS-MSN2700 + + + + + + + str-msn2700-04 + + + DhcpResources + + 10.3.146.1 + + + NTPResources + + 10.3.149.170;10.3.149.171 + + + DeploymentId + + 1 + + + QosProfile + + Profile0 + + + RadiusResources + + + + + SnmpResources + + 10.3.145.98 + + + SyslogResources + + 10.3.145.8;100.127.20.21 + + + TacacsGroup + + Starlab + + + TacacsServer + + 10.3.145.14;10.3.145.15 + + + ForcedMgmtRoutes + + 10.3.145.98/31;10.3.145.8;100.127.20.16/28;10.3.149.170/31;40.122.216.24;13.91.48.226 + + + ErspanDestinationIpv4 + + 10.20.6.16 + + + + + + + str-msn2700-04 + ACS-MSN2700 +
diff --git a/ansible/roles/test/tasks/buffer_profile.yml b/ansible/roles/test/tasks/buffer_profile.yml new file mode 100644 index 00000000000..96617e7f0ca --- /dev/null +++ b/ansible/roles/test/tasks/buffer_profile.yml @@ -0,0 +1,30 @@ +# +# ansible-playbook test_sonic.yml -i inventory --limit arc-switch1028 --tags buffer_profile -e skip_interface_check=true +# +# + +- set_fact: + port_name="Ethernet64" + minigr="[ 'minigraph0.xml', 'minigraph1.xml', 'minigraph2.xml']" + test_files_dir="roles/test/files/buffer_profile" + +- block: + - name: Copy test files to DUT + copy: src={{ item }} dest=/tmp/ + with_fileglob: + - "{{ test_files_dir }}/*" + + - name: Generate buffers config + shell: sonic-cfggen -m /tmp/{{ item.1 }} -t /usr/share/sonic/templates/msn27xx.32ports.buffers.json.j2 >/tmp/buffers{{ item.0}}.json + with_indexed_items: + - "{{ minigr }}" + + - name: Compare generated buffers configuration with the expected + shell: diff /tmp/{{ (item | basename | splitext)[0]}}.json /tmp/{{ (item | basename).split('_')[0] }}.json + register: out + with_fileglob: + - "{{ test_files_dir }}/buf*.json" + + vars: + ansible_shell_type: docker + ansible_python_interpreter: docker exec -i swss python diff --git a/ansible/roles/test/tasks/sonic.yml b/ansible/roles/test/tasks/sonic.yml index d254ed6dbe2..e1a2f8feff5 100644 --- a/ansible/roles/test/tasks/sonic.yml +++ b/ansible/roles/test/tasks/sonic.yml @@ -169,3 +169,7 @@ - name: neighbor mac change test without using ptf include: neighbour-mac-noptf.yml tags: neighbour_mac_noptf + +- name: Buffer Profile test + include: buffer_profile.yml + tags: buffer_profile From 87598980ccc215e740489cf9e1c5d8976295819d Mon Sep 17 00:00:00 2001 From: Andriy Moroz Date: Wed, 25 Oct 2017 14:38:13 +0300 Subject: [PATCH 2/2] Update test files to match an updated template Signed-off-by: Andriy Moroz --- .../files/buffer_profile/buffers0_exp.json | 32 ++++------ .../files/buffer_profile/buffers1_exp.json | 22 ++----- .../files/buffer_profile/buffers2_exp.json | 14 +--- .../test/files/buffer_profile/minigraph0.xml | 64 +++++++++---------- .../test/files/buffer_profile/minigraph1.xml | 64 +++++++++---------- 5 files changed, 86 insertions(+), 110 deletions(-) diff --git a/ansible/roles/test/files/buffer_profile/buffers0_exp.json b/ansible/roles/test/files/buffer_profile/buffers0_exp.json index cefcda1d2f5..5f82ef22c51 100644 --- a/ansible/roles/test/files/buffer_profile/buffers0_exp.json +++ b/ansible/roles/test/files/buffer_profile/buffers0_exp.json @@ -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", @@ -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", @@ -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", @@ -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", @@ -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", @@ -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", @@ -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", @@ -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", @@ -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", @@ -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", @@ -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", @@ -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" }, diff --git a/ansible/roles/test/files/buffer_profile/buffers1_exp.json b/ansible/roles/test/files/buffer_profile/buffers1_exp.json index 865cc5be501..b23f23586ae 100644 --- a/ansible/roles/test/files/buffer_profile/buffers1_exp.json +++ b/ansible/roles/test/files/buffer_profile/buffers1_exp.json @@ -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", @@ -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", @@ -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", @@ -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", @@ -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", @@ -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", @@ -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" }, diff --git a/ansible/roles/test/files/buffer_profile/buffers2_exp.json b/ansible/roles/test/files/buffer_profile/buffers2_exp.json index a69d66a9d8d..4467cd5d29c 100644 --- a/ansible/roles/test/files/buffer_profile/buffers2_exp.json +++ b/ansible/roles/test/files/buffer_profile/buffers2_exp.json @@ -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", @@ -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", @@ -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" }, diff --git a/ansible/roles/test/files/buffer_profile/minigraph0.xml b/ansible/roles/test/files/buffer_profile/minigraph0.xml index df997a63701..5a79a1fbf39 100644 --- a/ansible/roles/test/files/buffer_profile/minigraph0.xml +++ b/ansible/roles/test/files/buffer_profile/minigraph0.xml @@ -1510,224 +1510,224 @@ - "ARISTA01T0" + ARISTA01T0 Arista-VM 10.64.246.112 - "ARISTA01T2" + ARISTA01T2 Arista-VM 10.64.246.96 - "ARISTA02T0" + ARISTA02T0 Arista-VM 10.64.246.113 - "ARISTA02T2" + ARISTA02T2 Arista-VM 10.64.246.97 - "ARISTA03T0" + ARISTA03T0 Arista-VM 10.64.246.114 - "ARISTA03T2" + ARISTA03T2 Arista-VM 10.64.246.98 - "ARISTA04T0" + ARISTA04T0 Arista-VM 10.64.246.115 - "ARISTA04T2" + ARISTA04T2 Arista-VM 10.64.246.99 - "ARISTA05T0" + ARISTA05T0 Arista-VM 10.64.246.116 - "ARISTA05T2" + ARISTA05T2 Arista-VM 10.64.246.100 - "ARISTA06T0" + ARISTA06T0 Arista-VM 10.64.246.117 - "ARISTA06T2" + ARISTA06T2 Arista-VM 10.64.246.101 - "ARISTA07T0" + ARISTA07T0 Arista-VM 10.64.246.118 - "ARISTA07T2" + ARISTA07T2 Arista-VM 10.64.246.102 - "ARISTA08T0" + ARISTA08T0 Arista-VM 10.64.246.119 - "ARISTA08T2" + ARISTA08T2 Arista-VM 10.64.246.103 - "ARISTA09T0" + ARISTA09T0 Arista-VM 10.64.246.120 - "ARISTA09T2" + ARISTA09T2 Arista-VM 10.64.246.104 - "ARISTA10T0" + ARISTA10T0 Arista-VM 10.64.246.121 - "ARISTA10T2" + ARISTA10T2 Arista-VM 10.64.246.105 - "ARISTA11T0" + ARISTA11T0 Arista-VM 10.64.246.122 - "ARISTA11T2" + ARISTA11T2 Arista-VM 10.64.246.106 - "ARISTA12T0" + ARISTA12T0 Arista-VM 10.64.246.123 - "ARISTA12T2" + ARISTA12T2 Arista-VM 10.64.246.107 - "ARISTA13T0" + ARISTA13T0 Arista-VM 10.64.246.124 - "ARISTA13T2" + ARISTA13T2 Arista-VM 10.64.246.108 - "ARISTA14T0" + ARISTA14T0 Arista-VM 10.64.246.125 - "ARISTA14T2" + ARISTA14T2 Arista-VM 10.64.246.109 - "ARISTA15T0" + ARISTA15T0 Arista-VM 10.64.246.126 - "ARISTA15T2" + ARISTA15T2 Arista-VM 10.64.246.110 - "ARISTA16T0" + ARISTA16T0 Arista-VM 10.64.246.127 - "ARISTA16T2" + ARISTA16T2 Arista-VM 10.64.246.111 diff --git a/ansible/roles/test/files/buffer_profile/minigraph1.xml b/ansible/roles/test/files/buffer_profile/minigraph1.xml index eb80afadb19..0063adb654a 100644 --- a/ansible/roles/test/files/buffer_profile/minigraph1.xml +++ b/ansible/roles/test/files/buffer_profile/minigraph1.xml @@ -1510,224 +1510,224 @@ - "ARISTA01T0" + ARISTA01T0 Arista-VM 10.64.246.112 - "ARISTA01T2" + ARISTA01T2 Arista-VM 10.64.246.96 - "ARISTA02T0" + ARISTA02T0 Arista-VM 10.64.246.113 - "ARISTA02T2" + ARISTA02T2 Arista-VM 10.64.246.97 - "ARISTA03T0" + ARISTA03T0 Arista-VM 10.64.246.114 - "ARISTA03T2" + ARISTA03T2 Arista-VM 10.64.246.98 - "ARISTA04T0" + ARISTA04T0 Arista-VM 10.64.246.115 - "ARISTA04T2" + ARISTA04T2 Arista-VM 10.64.246.99 - "ARISTA05T0" + ARISTA05T0 Arista-VM 10.64.246.116 - "ARISTA05T2" + ARISTA05T2 Arista-VM 10.64.246.100 - "ARISTA06T0" + ARISTA06T0 Arista-VM 10.64.246.117 - "ARISTA06T2" + ARISTA06T2 Arista-VM 10.64.246.101 - "ARISTA07T0" + ARISTA07T0 Arista-VM 10.64.246.118 - "ARISTA07T2" + ARISTA07T2 Arista-VM 10.64.246.102 - "ARISTA08T0" + ARISTA08T0 Arista-VM 10.64.246.119 - "ARISTA08T2" + ARISTA08T2 Arista-VM 10.64.246.103 - "ARISTA09T0" + ARISTA09T0 Arista-VM 10.64.246.120 - "ARISTA09T2" + ARISTA09T2 Arista-VM 10.64.246.104 - "ARISTA10T0" + ARISTA10T0 Arista-VM 10.64.246.121 - "ARISTA10T2" + ARISTA10T2 Arista-VM 10.64.246.105 - "ARISTA11T0" + ARISTA11T0 Arista-VM 10.64.246.122 - "ARISTA11T2" + ARISTA11T2 Arista-VM 10.64.246.106 - "ARISTA12T0" + ARISTA12T0 Arista-VM 10.64.246.123 - "ARISTA12T2" + ARISTA12T2 Arista-VM 10.64.246.107 - "ARISTA13T0" + ARISTA13T0 Arista-VM 10.64.246.124 - "ARISTA13T2" + ARISTA13T2 Arista-VM 10.64.246.108 - "ARISTA14T0" + ARISTA14T0 Arista-VM 10.64.246.125 - "ARISTA14T2" + ARISTA14T2 Arista-VM 10.64.246.109 - "ARISTA15T0" + ARISTA15T0 Arista-VM 10.64.246.126 - "ARISTA15T2" + ARISTA15T2 Arista-VM 10.64.246.110 - "ARISTA16T0" + ARISTA16T0 Arista-VM 10.64.246.127 - "ARISTA16T2" + ARISTA16T2 Arista-VM 10.64.246.111