sonic-buildimage/device/mellanox/x86_64-mlnx_msn3800-r0/Mellanox-SN3800-C64
Andriy Yurkiv cb3b9416a6
[Mellanox][VXLAN] add params to vxlan.json file in order to configure VXLAN src port range feature (#9658)
- Why I did it
Remove obsolete parameter that enables static VXLAN src port range
provide functionality no generate json config file according to appropriate parameter in config_db
Done for
SN3800:
• Mellanox-SN3800-D28C50
• Mellanox-SN3800-C64
• Mellanox-SN3800-D28C49S1 (New 10G SKU)

SN2700:
• Mellanox-SN2700-D48C8

- How I did it
Remove SAI_VXLAN_SRCPORT_RANGE_ENABLE=1 from appropriate sai.profile files
Created vxlan.json file and added few params that depends on DEVICE_METADATA.localhost.vxlan_port_range

- How to verify it
File /etc/swss/config.d/vxlan.json should be generated inside swss docker when it restart
[
    {
        "SWITCH_TABLE:switch": {
            "vxlan_src": "0xFF00",
            "vxlan_mask": "8"
        },
        "OP": "SET"
    }
]
Signed-off-by: Andriy Yurkiv <ayurkiv@nvidia.com>
2022-01-31 15:57:30 +02:00
..
buffers_defaults_objects.j2 [Reclaim buffer] Reclaim unused buffers by applying zero buffer profiles (#8768) 2021-11-29 08:04:01 -08:00
buffers_defaults_t0.j2 [Reclaim buffer] Reclaim unused buffers by applying zero buffer profiles (#8768) 2021-11-29 08:04:01 -08:00
buffers_defaults_t1.j2 [Reclaim buffer] Reclaim unused buffers by applying zero buffer profiles (#8768) 2021-11-29 08:04:01 -08:00
buffers_dynamic.json.j2 [Dynamic buffer calc] Support dynamic buffer calculation (#6194) 2020-12-13 11:35:39 -08:00
buffers.json.j2 Support single ingress pool for MSFT SKUs and optimize headroom calculation (#4686) 2020-08-13 13:12:09 +03:00
hwsku.json [DPB] [Mellanox] added capability files for SN3800 platform (#6013) 2021-01-17 10:57:27 +02:00
pg_profile_lookup.ini Support single ingress pool for MSFT SKUs and optimize headroom calculation (#4686) 2020-08-13 13:12:09 +03:00
port_config.ini Support single ingress pool for MSFT SKUs and optimize headroom calculation (#4686) 2020-08-13 13:12:09 +03:00
qos.json.j2 Support single ingress pool for MSFT SKUs and optimize headroom calculation (#4686) 2020-08-13 13:12:09 +03:00
sai_3800.xml Support single ingress pool for MSFT SKUs and optimize headroom calculation (#4686) 2020-08-13 13:12:09 +03:00
sai.profile [Mellanox][VXLAN] add params to vxlan.json file in order to configure VXLAN src port range feature (#9658) 2022-01-31 15:57:30 +02:00