--- Class[Liberica].orig
+++ Class[Liberica]
@@
- config => {'hcforwarder': {'log_level': 'info', 'grpc': {'network': 'tcp', 'address': '127.0.0.1:1100'}, 'prometheus': {'addresses': ['10.132.0.6:3000', '[2001:df2:e500:101:10:132:0:6]:3000']}, 'hashing_algorithm': 'jenkins', 'interface': {'egress': 'ens1f0np0', 'v4': 'ipip0', 'v6': 'ipip60'}}, 'healthcheck': {'log_level': 'info', 'grpc': {'network': 'tcp', 'address': '127.0.0.1:1101'}, 'prometheus': {'addresses': ['10.132.0.6:3001', '[2001:df2:e500:101:10:132:0:6]:3001']}}, 'fp': {'log_level': 'info', 'grpc': {'network': 'tcp', 'address': '127.0.0.1:1102'}, 'prometheus': {'addresses': ['10.132.0.6:3002', '[2001:df2:e500:101:10:132:0:6]:3002']}, 'forwarding_plane': 'katran', 'katran': {'interface': 'ens1f0np0', 'conntrack_size': 8000000}}, 'cp': {'log_level': 'info', 'grpc': {'network': 'tcp', 'address': '127.0.0.1:1103'}, 'prometheus': {'addresses': ['10.132.0.6:3003', '[2001:df2:e500:101:10:132:0:6]:3003']}}, 'etcd': {'conftool_domain': 'codfw.wmnet', 'datacenter': 'eqsin'}, 'bgp': {'grpc': {'network': 'tcp', 'address': '127.0.0.1:50051'}, 'asn': 64600, 'next_hop_ipv4': '10.132.0.6', 'next_hop_ipv6': '2001:df2:e500:101:10:132:0:6', 'peers': ['103.102.166.131', '103.102.166.130']}, 'services': {'uploadlb_80': {'forward_type': 'tunnel', 'depool_threshold': 0.66, 'cluster': 'cache_upload', 'service': 'cdn', 'ip': '103.102.166.240', 'port': 80, 'protocol': 'tcp', 'healthchecks': {'L4': {'type': 'IdleTCPConnectionCheck', 'timeout': '3s', 'check_period': '300ms', 'reconnect_period': '1s'}}}, 'uploadlb6_80': {'forward_type': 'tunnel', 'depool_threshold': 0.66, 'cluster': 'cache_upload', 'service': 'cdn', 'ip': '2001:df2:e500:ed1a::2:b', 'port': 80, 'protocol': 'tcp', 'healthchecks': {'L4': {'type': 'IdleTCPConnectionCheck', 'timeout': '3s', 'check_period': '300ms', 'reconnect_period': '1s'}}}, 'upload-httpslb_443': {'forward_type': 'tunnel', 'depool_threshold': 0.66, 'cluster': 'cache_upload', 'service': 'cdn', 'ip': '103.102.166.240', 'port': 443, 'protocol': 'tcp', 'healthchecks': {'L4': {'type': 'IdleTCPConnectionCheck', 'timeout': '3s', 'check_period': '300ms', 'reconnect_period': '1s'}, 'L7-https://upload.wikimedia.org/varnish-fe-hc-5ebea9': {'type': 'HTTPCheck', 'url': 'https://upload.wikimedia.org/varnish-fe-hc-5ebea9', 'status_code': 200, 'timeout': '5s', 'check_period': '10s'}}}, 'upload-httpslb6_443': {'forward_type': 'tunnel', 'depool_threshold': 0.66, 'cluster': 'cache_upload', 'service': 'cdn', 'ip': '2001:df2:e500:ed1a::2:b', 'port': 443, 'protocol': 'tcp', 'healthchecks': {'L4': {'type': 'IdleTCPConnectionCheck', 'timeout': '3s', 'check_period': '300ms', 'reconnect_period': '1s'}, 'L7-https://upload.wikimedia.org/varnish-fe-hc-5ebea9': {'type': 'HTTPCheck', 'url': 'https://upload.wikimedia.org/varnish-fe-hc-5ebea9', 'status_code': 200, 'timeout': '5s', 'check_period': '10s'}}}}}
+ config => {'hcforwarder': {'log_level': 'info', 'grpc': {'network': 'tcp', 'address': '127.0.0.1:1100'}, 'prometheus': {'addresses': ['10.132.0.6:3000', '[2001:df2:e500:101:10:132:0:6]:3000']}, 'hashing_algorithm': 'jenkins', 'interface': {'egress': 'ens1f0np0', 'v4': 'ipip0', 'v6': 'ipip60'}}, 'healthcheck': {'log_level': 'info', 'grpc': {'network': 'tcp', 'address': '127.0.0.1:1101'}, 'prometheus': {'addresses': ['10.132.0.6:3001', '[2001:df2:e500:101:10:132:0:6]:3001']}}, 'fp': {'log_level': 'info', 'grpc': {'network': 'tcp', 'address': '127.0.0.1:1102'}, 'prometheus': {'addresses': ['10.132.0.6:3002', '[2001:df2:e500:101:10:132:0:6]:3002']}, 'forwarding_plane': 'katran', 'katran': {'interface': 'ens1f0np0', 'conntrack_size': 8000000}}, 'cp': {'log_level': 'info', 'grpc': {'network': 'tcp', 'address': '127.0.0.1:1103'}, 'prometheus': {'addresses': ['10.132.0.6:3003', '[2001:df2:e500:101:10:132:0:6]:3003']}}, 'etcd': {'conftool_domain': 'codfw.wmnet', 'datacenter': 'eqsin'}, 'bgp': {'grpc': {'network': 'tcp', 'address': '127.0.0.1:50051'}, 'asn': 64600, 'next_hop_ipv4': '10.132.0.6', 'next_hop_ipv6': '2001:df2:e500:101:10:132:0:6', 'peers': ['103.102.166.131', '103.102.166.130'], 'communities': ['14907:0']}, 'services': {'uploadlb_80': {'forward_type': 'tunnel', 'depool_threshold': 0.66, 'cluster': 'cache_upload', 'service': 'cdn', 'ip': '103.102.166.240', 'port': 80, 'protocol': 'tcp', 'healthchecks': {'L4': {'type': 'IdleTCPConnectionCheck', 'timeout': '3s', 'check_period': '300ms', 'reconnect_period': '1s'}}}, 'uploadlb6_80': {'forward_type': 'tunnel', 'depool_threshold': 0.66, 'cluster': 'cache_upload', 'service': 'cdn', 'ip': '2001:df2:e500:ed1a::2:b', 'port': 80, 'protocol': 'tcp', 'healthchecks': {'L4': {'type': 'IdleTCPConnectionCheck', 'timeout': '3s', 'check_period': '300ms', 'reconnect_period': '1s'}}}, 'upload-httpslb_443': {'forward_type': 'tunnel', 'depool_threshold': 0.66, 'cluster': 'cache_upload', 'service': 'cdn', 'ip': '103.102.166.240', 'port': 443, 'protocol': 'tcp', 'healthchecks': {'L4': {'type': 'IdleTCPConnectionCheck', 'timeout': '3s', 'check_period': '300ms', 'reconnect_period': '1s'}, 'L7-https://upload.wikimedia.org/varnish-fe-hc-5ebea9': {'type': 'HTTPCheck', 'url': 'https://upload.wikimedia.org/varnish-fe-hc-5ebea9', 'status_code': 200, 'timeout': '5s', 'check_period': '10s'}}}, 'upload-httpslb6_443': {'forward_type': 'tunnel', 'depool_threshold': 0.66, 'cluster': 'cache_upload', 'service': 'cdn', 'ip': '2001:df2:e500:ed1a::2:b', 'port': 443, 'protocol': 'tcp', 'healthchecks': {'L4': {'type': 'IdleTCPConnectionCheck', 'timeout': '3s', 'check_period': '300ms', 'reconnect_period': '1s'}, 'L7-https://upload.wikimedia.org/varnish-fe-hc-5ebea9': {'type': 'HTTPCheck', 'url': 'https://upload.wikimedia.org/varnish-fe-hc-5ebea9', 'status_code': 200, 'timeout': '5s', 'check_period': '10s'}}}}}
Class[Profile::Liberica]
- Parameters differences:
--- Class[Profile::Liberica].orig
+++ Class[Profile::Liberica]
@@
- bgp_config => {'grpc': {'network': 'tcp', 'address': '127.0.0.1:50051'}, 'asn': 64600, 'next_hop_ipv4': '10.132.0.6', 'next_hop_ipv6': '2001:df2:e500:101:10:132:0:6', 'peers': ['103.102.166.131', '103.102.166.130']}
+ bgp_config => {'grpc': {'network': 'tcp', 'address': '127.0.0.1:50051'}, 'asn': 64600, 'next_hop_ipv4': '10.132.0.6', 'next_hop_ipv6': '2001:df2:e500:101:10:132:0:6', 'peers': ['103.102.166.131', '103.102.166.130'], 'communities': ['14907:0']}
- File[/etc/liberica/config.yaml]
- Content differences:
--- /etc/liberica/config.yaml.orig
+++ /etc/liberica/config.yaml
@@ -57,6 +57,8 @@
peers:
- 103.102.166.131
- 103.102.166.130
+ communities:
+ - '14907:0'
services:
uploadlb_80:
forward_type: tunnel
Relevant files