Skip to content

Commit

Permalink
Rename router and ssh proxy to match cf-deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
evanfarrar committed Jan 5, 2017
1 parent 1c41b60 commit aec8e24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cloudconfig/gcp/cloud_config_generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func (c CloudConfigGenerator) Generate(input CloudConfigInput) (CloudConfig, err

if input.CFBackends.Router != "" {
cloudConfig.VMExtensions = append(cloudConfig.VMExtensions, VMExtension{
Name: "router-lb",
Name: "cf-router-network-properties",
CloudProperties: VMExtensionCloudProperties{
BackendService: input.CFBackends.Router,
Tags: []string{input.CFBackends.Router},
Expand All @@ -81,7 +81,7 @@ func (c CloudConfigGenerator) Generate(input CloudConfigInput) (CloudConfig, err

if input.CFBackends.SSHProxy != "" {
cloudConfig.VMExtensions = append(cloudConfig.VMExtensions, VMExtension{
Name: "ssh-proxy-lb",
Name: "diego-ssh-proxy-network-properties",
CloudProperties: VMExtensionCloudProperties{
TargetPool: input.CFBackends.SSHProxy,
Tags: []string{input.CFBackends.SSHProxy},
Expand Down
4 changes: 2 additions & 2 deletions cloudconfig/gcp/fixtures/cloud-config-cf-lb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,12 +253,12 @@ vm_extensions:
- name: cf-internet-not-required
cloud_properties:
ephemeral_external_ip: false
- name: router-lb
- name: cf-router-network-properties
cloud_properties:
backend_service: router-backend-service
tags:
- router-backend-service
- name: ssh-proxy-lb
- name: diego-ssh-proxy-network-properties
cloud_properties:
target_pool: ssh-proxy-target-pool
tags:
Expand Down

0 comments on commit aec8e24

Please sign in to comment.