[TF] Add TF data plane parameters to SrvInstancesBMCephOSD resource

Related-PROD: PRODX-4735
Change-Id: I454b064134773882b0d8c616b8ea258af636f9b9
diff --git a/de/heat-templates/fragments/SrvInstancesBMCephOSD.yaml b/de/heat-templates/fragments/SrvInstancesBMCephOSD.yaml
index 5435c1e..e7b3831 100644
--- a/de/heat-templates/fragments/SrvInstancesBMCephOSD.yaml
+++ b/de/heat-templates/fragments/SrvInstancesBMCephOSD.yaml
@@ -52,6 +52,12 @@
     type: string
   ironic_baremetal_network_cidr:
     type: string
+  tungstenfabric_enabled:
+    type: boolean
+  tf_data_network:
+    type: string
+  tf_data_subnet_id:
+    type: string
   functions_override:
     type: string
   boot_timeout:
@@ -72,6 +78,10 @@
     description: The content of lab metadata.
     type: string
 
+conditions:
+  create_tf_data_network_res:
+    get_param: tungstenfabric_enabled
+
 resources:
 
   software_config:
@@ -172,6 +182,15 @@
       fixed_ips:
         - subnet: { get_param: ironic_baremetal_subnet_id }
 
+  tf_data_server_port:
+    type: OS::Neutron::Port
+    condition: create_tf_data_network_res
+    properties:
+      network_id: { get_param: tf_data_network }
+      port_security_enabled: false
+      fixed_ips:
+      - subnet: { get_param: tf_data_subnet_id }
+
   wait_handle:
     type: OS::Heat::WaitConditionHandle
   wait_condition:
@@ -191,6 +210,10 @@
   server_ironic_baremetal_ip:
     description: IP address of server in ironic baremetal network
     value: { get_attr: [ironic_baremetal_server_port, fixed_ips, 0, ip_address] }
+  server_tf_data_ip:
+    description: IP address of server in tf data network
+    value: { get_attr: [tf_data_server_port, fixed_ips, 0, ip_address] }
+    condition: create_tf_data_network_res
   server_public_ip:
     description: Floating IP address of server in public network
     value: { get_attr: [server, networks, { get_param: accessible_network}, 0]}