Convert PublicVirtualIP to new port creation method
[apex-tripleo-heat-templates.git] / network / ports / storage.yaml
index 27f60a0..ecb20b8 100644 (file)
@@ -8,6 +8,10 @@ parameters:
     description: Name of the storage neutron network
     default: storage
     type: string
+  PortName:
+    description: Name of the port
+    default: ''
+    type: string
   ControlPlaneIP: # Here for compatability with noop.yaml
     description: IP address on the control plane
     type: string
@@ -18,6 +22,7 @@ resources:
     type: OS::Neutron::Port
     properties:
       network: {get_param: StorageNetName}
+      name: {get_param: PortName}
       replacement_policy: AUTO
 
 outputs: