Skip to content

tcp_emitter job from routing/0.149.0

Github source: e6b738c2 or master branch

Properties

bbs

api_location

Diego BBS Server hostname. Do not include the scheme; this will be configured automatically based on the value of property bbs.require_ssl.

Default
bbs.service.cf.internal:8889

ca_cert

PEM-encoded CA certificate used to sign TLS certificate hosted by Diego BBS.

require_ssl

Enables mutual-TLS communication with Diego BBS.

Default
true

consul

servers

comma-separated list of consul server URLs (scheme://ip:port)

Default
http://127.0.0.1:8500

dns_health_check_host

Host to ping for confirmation of DNS resolution

Default
consul.service.cf.internal

metron

port

The port used to emit dropsonde messages to the Metron agent.

Default
3457

routing_api

auth_disabled

auth disabled setting of routing api

Default
false

port

Port of routing api

Default
"3000"

uri

URL where the routing API can be reached internally

Default
http://routing-api.service.cf.internal

skip_ssl_validation

Skip TLS verification when talking to UAA

Default
false

tcp_emitter

bbs

client_cert

PEM-encoded client certificate

client_key

PEM-encoded client key

debug_address

Address at which to serve debug info

Default
127.0.0.1:17002

lock_retry_interval

interval to wait before retrying a failed lock acquisition

Default
5s

lock_ttl

TTL for service lock

Default
10s

log_level

Log level

Default
info

oauth_secret

Password for UAA client for tcp emitter.

route_ttl

TTL used for routes registered with Routing API.

Default
120s

sync_interval

Interval to sync with BBS to get latest route information.

Default
20s

uaa

ca_cert

Certificate authority for communication between clients and uaa.

Default
""

tls_port

Port on which UAA is listening for TLS connections. This is required for obtaining a OAuth token for Routing API.

token_endpoint

UAA token endpoint host name. Do not include a scheme in this value; TCP Router will always use TLS to connect to UAA.

Default
uaa.service.cf.internal

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/tcp_emitter/ directory (learn more).

  • bin/pre-start (from pre-start)
  • bin/tcp_emitter_ctl (from tcp_emitter_ctl.erb)
  • config/certs/bbs/ca.crt (from bbs_ca.crt.erb)
  • config/certs/bbs/client.crt (from bbs_client.crt.erb)
  • config/certs/bbs/client.key (from bbs_client.key.erb)
  • config/certs/uaa/ca.crt (from uaa_ca.crt.erb)
  • config/tcp_emitter.yml (from tcp_emitter.yml.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.