Remove the quotes of True value in yaml file
[iec.git] / src / use_cases / seba_on_arm / install / fabric.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0\r
2 imports:\r
3   - custom_types/switch.yaml\r
4   - custom_types/switchport.yaml\r
5   - custom_types/portinterface.yaml\r
6   - custom_types/bngportmapping.yaml\r
7   - custom_types/attworkflowdriverwhitelistentry.yaml\r
8   - custom_types/attworkflowdriverservice.yaml\r
9   - custom_types/serviceinstanceattribute.yaml\r
10   - custom_types/onosapp.yaml\r
11 \r
12 description: Configures a full SEBA POD\r
13 \r
14 topology_template:\r
15   node_templates:\r
16     # Fabric configuration\r
17     switch#leaf_1:\r
18       type: tosca.nodes.Switch\r
19       properties:\r
20         driver: ofdpa3\r
21         ipv4Loopback: 100.100.0.201\r
22         ipv4NodeSid: 17\r
23         isEdgeRouter: True\r
24         name: AGG_SWITCH\r
25         ofId: of:0000000000000001\r
26         routerMac: 00:00:02:01:06:01\r
27 \r
28     # Setup the OLT switch port\r
29     port#olt_port:\r
30       type: tosca.nodes.SwitchPort\r
31       properties:\r
32         portId: 1\r
33         host_learning: false\r
34       requirements:\r
35         - switch:\r
36             node: switch#leaf_1\r
37             relationship: tosca.relationships.BelongsToOne\r
38 \r
39     # Port connected to the BNG\r
40     port#bng_port:\r
41       type: tosca.nodes.SwitchPort\r
42       properties:\r
43         portId: 31\r
44       requirements:\r
45         - switch:\r
46             node: switch#leaf_1\r
47             relationship: tosca.relationships.BelongsToOne\r
48 \r
49     # Setup the fabric switch port where the external\r
50     # router is connected to\r
51     bngmapping:\r
52       type: tosca.nodes.BNGPortMapping\r
53       properties:\r
54         s_tag: any\r
55         switch_port: 31\r
56 \r
57     # DHCP L2 Relay config\r
58     onos_app#dhcpl2relay:\r
59       type: tosca.nodes.ONOSApp\r
60       properties:\r
61         name: dhcpl2relay\r
62         must-exist: true\r
63 \r
64     dhcpl2relay-config-attr:\r
65       type: tosca.nodes.ServiceInstanceAttribute\r
66       properties:\r
67         name: /onos/v1/network/configuration/apps/org.opencord.dhcpl2relay\r
68         value: >\r
69           {\r
70             "dhcpl2relay" : {\r
71               "useOltUplinkForServerPktInOut" : false,\r
72               "dhcpServerConnectPoints" : [ "of:0000000000000001/31" ]\r
73             }\r
74           }\r
75       requirements:\r
76         - service_instance:\r
77             node: onos_app#dhcpl2relay\r
78             relationship: tosca.relationships.BelongsToOne\r