From aec8e24589029c56db8c2a698c0fb2d3b609f56e Mon Sep 17 00:00:00 2001 From: Evan Farrar Date: Thu, 5 Jan 2017 13:36:57 -0800 Subject: [PATCH] Rename router and ssh proxy to match cf-deployment --- cloudconfig/gcp/cloud_config_generator.go | 4 ++-- cloudconfig/gcp/fixtures/cloud-config-cf-lb.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cloudconfig/gcp/cloud_config_generator.go b/cloudconfig/gcp/cloud_config_generator.go index e0274cdff..28017d24a 100644 --- a/cloudconfig/gcp/cloud_config_generator.go +++ b/cloudconfig/gcp/cloud_config_generator.go @@ -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}, @@ -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}, diff --git a/cloudconfig/gcp/fixtures/cloud-config-cf-lb.yml b/cloudconfig/gcp/fixtures/cloud-config-cf-lb.yml index cc3636f78..a34e69db9 100644 --- a/cloudconfig/gcp/fixtures/cloud-config-cf-lb.yml +++ b/cloudconfig/gcp/fixtures/cloud-config-cf-lb.yml @@ -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: