Andy Bavier | c4379e2 | 2017-10-17 10:14:57 -0700 | [diff] [blame] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 2 | |
| 3 | imports: |
| 4 | - custom_types/xos.yaml |
| 5 | |
| 6 | description: network for S1MME interface |
| 7 | |
| 8 | topology_template: |
| 9 | node_templates: |
| 10 | |
| 11 | # site, fully created in deployment.yaml |
| 12 | {{ site_name }}: |
| 13 | type: tosca.nodes.Site |
| 14 | |
| 15 | # s1mme network |
| 16 | s1mme_template: |
| 17 | type: tosca.nodes.NetworkTemplate |
| 18 | properties: |
| 19 | visibility: private |
| 20 | translation: none |
| 21 | vtn_kind: PRIVATE |
| 22 | |
| 23 | s1mme_network: |
| 24 | type: tosca.nodes.network.Network |
| 25 | properties: |
| 26 | ip_version: 4 |
| 27 | cidr: 116.0.0.0/24 |
| 28 | requirements: |
| 29 | - network_template: |
| 30 | node: s1mme_template |
| 31 | relationship: tosca.relationships.UsesNetworkTemplate |
| 32 | - owner: |
| 33 | node: {{ site_name }}_s1mme |
| 34 | relationship: tosca.relationships.MemberOfSlice |
| 35 | |
| 36 | {{ site_name }}_s1mme: |
| 37 | description: This slice exists solely to own the private network |
| 38 | type: tosca.nodes.Slice |
| 39 | properties: |
| 40 | network: noauto |
| 41 | requirements: |
| 42 | - site: |
| 43 | node: {{ site_name }} |
| 44 | relationship: tosca.relationships.MemberOfSite |
| 45 | |
| 46 | |