diff options
author | Marco Platania <platania@research.att.com> | 2017-05-18 09:39:59 -0400 |
---|---|---|
committer | Marco Platania <platania@research.att.com> | 2017-05-18 09:39:59 -0400 |
commit | bf3bb2e3d96c321d3ef8f0ed32b0600cf0736408 (patch) | |
tree | 5b299b8aee29a2df0fe2f184f383ffcb4c8a80fe /heat/vLB/dnsscaling_openstack.yaml | |
parent | 0e6ed6d79983a9726ff6fe699d921356c4c5cc2f (diff) |
Assign public IP to vLB VM
Change-Id: I30d2a21b24e2c5b3985307444408c30319886f9d
Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'heat/vLB/dnsscaling_openstack.yaml')
-rw-r--r-- | heat/vLB/dnsscaling_openstack.yaml | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/heat/vLB/dnsscaling_openstack.yaml b/heat/vLB/dnsscaling_openstack.yaml index b9dc41a2..f184c079 100644 --- a/heat/vLB/dnsscaling_openstack.yaml +++ b/heat/vLB/dnsscaling_openstack.yaml @@ -151,11 +151,11 @@ resources: network: { get_param: onap_private_net_id } fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vdns_private_ip_1 }}] - vdns_floating_ip: - type: OS::Neutron::FloatingIP - properties: - floating_network_id: { get_param: public_net_id } - port_id: { get_resource: vdns_private_1_port } +# vdns_floating_ip: +# type: OS::Neutron::FloatingIP +# properties: +# floating_network_id: { get_param: public_net_id } +# port_id: { get_resource: vdns_private_1_port } vdns_0: type: OS::Nova::Server @@ -165,21 +165,23 @@ resources: name: { get_param: vdns_name_0 } key_name: { get_resource: my_keypair } networks: - - port: { get_resource: vdns_private_1_port } + - network: { get_param: public_net_id } - port: { get_resource: vdns_private_0_port } + - port: { get_resource: vdns_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: - __lb_oam_int__ : { get_param: vlb_private_ip_1 } + __lb_oam_int__: { get_param: vlb_private_ip_1 } __lb_private_ipaddr__: { get_param: vlb_private_ip_0 } __local_private_ipaddr__: { get_param: vdns_private_ip_0 } - __repo_url_blob__ : { get_param: repo_url_blob } - __repo_url_artifacts__ : { get_param: repo_url_artifacts } - __demo_artifacts_version__ : { get_param: demo_artifacts_version } - __install_script_version__ : { get_param: install_script_version } - __cloud_env__ : { get_param: cloud_env } + __oam_private_ipaddr__: { get_param: vdns_private_ip_1 } + __repo_url_blob__: { get_param: repo_url_blob } + __repo_url_artifacts__: { get_param: repo_url_artifacts } + __demo_artifacts_version__: { get_param: demo_artifacts_version } + __install_script_version__: { get_param: install_script_version } + __cloud_env__: { get_param: cloud_env } template: | #!/bin/bash @@ -188,6 +190,7 @@ resources: echo "__lb_oam_int__" > /opt/config/lb_oam_int.txt echo "__lb_private_ipaddr__" > /opt/config/lb_private_ipaddr.txt echo "__local_private_ipaddr__" > /opt/config/local_private_ipaddr.txt + echo "__oam_private_ipaddr__" > /opt/config/oam_private_ipaddr.txt echo "__repo_url_blob__" > /opt/config/repo_url_blob.txt echo "__repo_url_artifacts__" > /opt/config/repo_url_artifacts.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt |