Omar Abdelkader | d711614 | 2017-08-09 10:53:18 -0700 | [diff] [blame^] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 2 | |
| 3 | description: Intel demo configuration at ONS '17 |
| 4 | |
| 5 | imports: |
| 6 | - custom_types/xos.yaml |
| 7 | |
| 8 | topology_template: |
| 9 | node_templates: |
| 10 | |
| 11 | # site, fully created in deployment.yaml |
| 12 | {{ site_name }}: |
| 13 | type: tosca.nodes.Site |
| 14 | properties: |
| 15 | no-create: true |
| 16 | no-delete: true |
| 17 | no-update: true |
| 18 | |
| 19 | # management network, fully created in management-net.yaml |
| 20 | management: |
| 21 | type: tosca.nodes.network.Network.XOS |
| 22 | properties: |
| 23 | no-create: true |
| 24 | no-delete: true |
| 25 | no-update: true |
| 26 | |
| 27 | # mcord-private network template |
| 28 | mcord-private: |
| 29 | type: tosca.nodes.NetworkTemplate |
| 30 | properties: |
| 31 | vtn_kind: PRIVATE |
| 32 | |
| 33 | # mcord-access network template |
| 34 | mcord-access: |
| 35 | type: tosca.nodes.NetworkTemplate |
| 36 | properties: |
| 37 | vtn_kind: ACCESS_AGENT |
| 38 | |
| 39 | # OpenStack flavor |
| 40 | m1.large: |
| 41 | type: tosca.nodes.Flavor |
| 42 | |
| 43 | # compute-node image |
| 44 | trusty-server-multi-nic: |
| 45 | type: tosca.nodes.Image |
| 46 | |
| 47 | # CPDP_1 Network |
| 48 | CPDP_1: |
| 49 | type: tosca.nodes.network.Network |
| 50 | properties: |
| 51 | ip_version: 4 |
| 52 | requirements: |
| 53 | - network_template: |
| 54 | node: mcord-private |
| 55 | relationship: tosca.relationships.UsesNetworkTemplate |
| 56 | - owner: |
| 57 | node: {{ site_name }}_CP_slice |
| 58 | relationship: tosca.relationships.MemberOfSlice |
| 59 | - connection: |
| 60 | node: {{ site_name }}_CP_slice |
| 61 | relationship: tosca.relationships.ConnectsToSlice |
| 62 | - connection: |
| 63 | node: {{ site_name }}_DP_slice |
| 64 | relationship: tosca.relationships.ConnectsToSlice |
| 65 | |
| 66 | # S1U_1 Network |
| 67 | S1U_1: |
| 68 | type: tosca.nodes.network.Network |
| 69 | properties: |
| 70 | ip_version: 4 |
| 71 | requirements: |
| 72 | - network_template: |
| 73 | node: mcord-access |
| 74 | relationship: tosca.relationships.UsesNetworkTemplate |
| 75 | - owner: |
| 76 | node: mysite_DP_slice |
| 77 | relationship: tosca.relationships.MemberOfSlice |
| 78 | - connection: |
| 79 | node: mysite_DP_slice |
| 80 | relationship: tosca.relationships.ConnectsToSlice |
| 81 | |
| 82 | # S11_1 Network |
| 83 | S11_1: |
| 84 | type: tosca.nodes.network.Network |
| 85 | properties: |
| 86 | ip_version: 4 |
| 87 | requirements: |
| 88 | - network_template: |
| 89 | node: mcord-access |
| 90 | relationship: tosca.relationships.UsesNetworkTemplate |
| 91 | - owner: |
| 92 | node: {{ site_name }}_CP_slice |
| 93 | relationship: tosca.relationships.MemberOfSlice |
| 94 | - connection: |
| 95 | node: {{ site_name }}_CP_slice |
| 96 | relationship: tosca.relationships.ConnectsToSlice |
| 97 | |
| 98 | # SGI_1 Network |
| 99 | SGI_1: |
| 100 | type: tosca.nodes.network.Network |
| 101 | properties: |
| 102 | ip_version: 4 |
| 103 | requirements: |
| 104 | - network_template: |
| 105 | node: mcord-access |
| 106 | relationship: tosca.relationships.UsesNetworkTemplate |
| 107 | - owner: |
| 108 | node: mysite_DP_slice |
| 109 | relationship: tosca.relationships.MemberOfSlice |
| 110 | - connection: |
| 111 | node: mysite_DP_slice |
| 112 | relationship: tosca.relationships.ConnectsToSlice |
| 113 | |
| 114 | # CP_slice Slice |
| 115 | {{ site_name }}_CP_slice: |
| 116 | type: tosca.nodes.Slice |
| 117 | properties: |
| 118 | network: noauto |
| 119 | requirements: |
| 120 | - slice: |
| 121 | node: {{ site_name }} |
| 122 | relationship: tosca.relationships.MemberOfSite |
| 123 | - image: |
| 124 | node: trusty-server-multi-nic |
| 125 | relationship: tosca.relationships.DefaultImage |
| 126 | - default_flavor: |
| 127 | node: m1.large |
| 128 | relationship: tosca.relationships.DefaultFlavor |
| 129 | - network_mgmt: |
| 130 | node: management |
| 131 | relationship: tosca.relationships.ConnectsToNetwork |
| 132 | |
| 133 | # DP_slice Slice |
| 134 | {{ site_name }}_DP_slice: |
| 135 | type: tosca.nodes.Slice |
| 136 | properties: |
| 137 | network: noauto |
| 138 | requirements: |
| 139 | - slice: |
| 140 | node: mysite |
| 141 | relationship: tosca.relationships.MemberOfSite |
| 142 | - image: |
| 143 | node: trusty-server-multi-nic |
| 144 | relationship: tosca.relationships.DefaultImage |
| 145 | - default_flavor: |
| 146 | node: m1.large |
| 147 | relationship: tosca.relationships.DefaultFlavor |
| 148 | - network_mgmt: |
| 149 | node: management |
| 150 | relationship: tosca.relationships.ConnectsToNetwork |
| 151 | |
| 152 | ## CP_server Compute Node |
| 153 | # CP_server: |
| 154 | # type: tosca.nodes.Compute |
| 155 | # capabilities: |
| 156 | # # Host container properties |
| 157 | # host: |
| 158 | # properties: |
| 159 | # num_cpus: 1 |
| 160 | # disk_size: 10 GB |
| 161 | # mem_size: 256 MB |
| 162 | # requirements: |
| 163 | # - slice: |
| 164 | # node: {{ site_name }}_CP_slice |
| 165 | # relationship: tosca.relationships.MemberOfSlice |
| 166 | # |
| 167 | ## DP_server Compute Node |
| 168 | # DP_server: |
| 169 | # type: tosca.nodes.Compute |
| 170 | # capabilities: |
| 171 | # # Host container properties |
| 172 | # host: |
| 173 | # properties: |
| 174 | # num_cpus: 1 |
| 175 | # disk_size: 10 GB |
| 176 | # mem_size: 1024 MB |
| 177 | # requirements: |
| 178 | # - slice: |
| 179 | # node: {{ site_name }}_DP_slice |
| 180 | # relationship: tosca.relationships.MemberOfSlice |
| 181 | |