v2 to v3 changes for function constructConfigFromV2Yaml (#12072)
v2 to v3 changes for function constructConfigFromV2Yaml (#12072)

v2 to v3 changes for function constructConfigFromV2Yaml under file "test/common/tcp_proxy/tcp_proxy_test.cc"
Additional Description: This PR is duplicate of PR #11923

Part of #10843 

Signed-off-by: Abhay Narayan Katare <7fae7ba06c98bc5d95ee3165cecc8db091ea8b24@india.nec.com>
lizan/envoy,envoyproxy/envoy,envoyproxy/envoy,lyft/envoy,envoyproxy/envoy,envoyproxy/envoy-wasm,lizan/envoy,envoyproxy/envoy,envoyproxy/envoy,lyft/envoy,envoyproxy/envoy-wasm,lizan/envoy,envoyproxy/envoy,envoyproxy/envoy-wasm,envoyproxy/envoy-wasm,envoyproxy/envoy,envoyproxy/envoy,lizan/envoy,envoyproxy/envoy-wasm,envoyproxy/envoy-wasm,envoyproxy/envoy,lyft/envoy,lizan/envoy,envoyproxy/envoy,envoyproxy/envoy,lizan/envoy,lyft/envoy,lyft/envoy,envoyproxy/envoy-wasm,lyft/envoy,envoyproxy/envoy