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