[SDC-29] Amdocs OnBoard 1707 initial commit.
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / unifiedComposition / cleanMainSt / mockAbstractNodeTemplate.yaml
1 type: org.openecomp.resource.abstract.nodes.FSB1
2 directives:
3 - substitutable
4 properties:
5   port_FSB1_Internal_mac_address:
6   - get_input: fsb1-Internal1-mac
7   compute_FSB1_metadata:
8   - write_files:
9     - path: /etc/sysconfig/network-scripts/ifcfg-eth0
10       permissions: '0644'
11       content:
12         str_replace:
13           template:
14             get_artifact:
15             - SELF
16             - nimbus-ethernet
17           params:
18             $dev: eth0
19             $netmask:
20               get_input: cps_net_mask
21             $ip:
22               get_input: cps_net_ip
23     - path: /etc/sysconfig/network-scripts/ifcfg-eth1
24       permissions: '0644'
25       content:
26         str_replace:
27           template:
28             get_artifact:
29             - SELF
30             - nimbus-ethernet-gw
31           params:
32             $dev: eth1
33             $netmask:
34               get_input: oam_net_mask
35             $gateway:
36               get_input: oam_net_gw
37             $ip:
38               get_input: oam_net_ip
39   port_FSB_OAM_fixed_ips:
40   - - ip_address:
41         get_input: fsb1-oam-ip
42   compute_FSB1_availability_zone:
43   - get_input: fsb_zone
44   port_FSB1_Internal_network:
45   - Internal1-net
46   port_FSB2_Internal_network:
47   - Internal2-net
48   compute_FSB1_name:
49   - get_input: fsb1-name
50   vm_flavor_name:
51     get_input: fsb1-flavor
52   port_FSB2_Internal_mac_address:
53   - get_input: fsb1-Internal2-mac
54   port_FSB_OAM_network:
55   - jsa_net1
56   service_template_filter:
57     substitute_service_template: Nested_FSB1ServiceTemplate.yaml
58     count: 1
59   index_value:
60     get_property:
61     - SELF
62     - service_template_filter
63     - index_value