Matteo Scandolo | 3896c47 | 2017-08-01 13:31:42 -0700 | [diff] [blame] | 1 | |
| 2 | # Copyright 2017-present Open Networking Foundation |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
| 16 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 17 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 18 | |
| 19 | description: Some basic fixtures |
| 20 | |
| 21 | imports: |
| 22 | - custom_types/xos.yaml |
| 23 | |
| 24 | topology_template: |
| 25 | node_templates: |
| 26 | |
| 27 | xos: |
| 28 | type: tosca.nodes.XOS |
| 29 | |
| 30 | # ----------------------------------------------------------------------------- |
| 31 | # Network Parameter Types |
| 32 | # ----------------------------------------------------------------------------- |
| 33 | |
| 34 | s_tag: |
| 35 | type: tosca.nodes.NetworkParameterType |
| 36 | |
| 37 | c_tag: |
| 38 | type: tosca.nodes.NetworkParameterType |
| 39 | |
| 40 | next_hop: |
| 41 | type: tosca.nodes.NetworkParameterType |
| 42 | |
| 43 | device: |
| 44 | type: tosca.nodes.NetworkParameterType |
| 45 | |
| 46 | bridge: |
| 47 | type: tosca.nodes.NetworkParameterType |
| 48 | |
| 49 | neutron_port_name: |
| 50 | type: tosca.nodes.NetworkParameterType |
| 51 | |
| 52 | # ---------------------------------------------------------------------------- |
| 53 | # Roles |
| 54 | # ---------------------------------------------------------------------------- |
| 55 | |
| 56 | siterole#admin: |
| 57 | type: tosca.nodes.SiteRole |
| 58 | |
| 59 | siterole#pi: |
| 60 | type: tosca.nodes.SiteRole |
| 61 | |
| 62 | siterole#tech: |
| 63 | type: tosca.nodes.SiteRole |
| 64 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 65 | deploymentrole#admin: |
| 66 | type: tosca.nodes.DeploymentRole |
| 67 | |
| 68 | slicerole#admin: |
| 69 | type: tosca.nodes.SliceRole |
| 70 | |
| 71 | slicerole#access: |
| 72 | type: tosca.nodes.SliceRole |
| 73 | |
| 74 | # ----------------------------------------------------------------------------- |
| 75 | # Flavors |
| 76 | # ----------------------------------------------------------------------------- |
| 77 | |
| 78 | m1.small: |
| 79 | type: tosca.nodes.Flavor |
| 80 | |
| 81 | m1.medium: |
| 82 | type: tosca.nodes.Flavor |
| 83 | |
| 84 | m1.large: |
| 85 | type: tosca.nodes.Flavor |
| 86 | |
| 87 | m1.xlarge: |
| 88 | type: tosca.nodes.Flavor |
| 89 | |
| 90 | # ----------------------------------------------------------------------------- |
| 91 | # Dashboard Views |
| 92 | # ----------------------------------------------------------------------------- |
| 93 | |
| 94 | # Temporary removed, waiting for a new Angular Base Implementation |
| 95 | # xsh: |
| 96 | # type: tosca.nodes.DashboardView |
| 97 | # properties: |
| 98 | # url: template:xsh |
| 99 | |
| 100 | Customize: |
| 101 | type: tosca.nodes.DashboardView |
| 102 | properties: |
Zack Williams | 1396aa3 | 2017-06-06 10:28:29 -0700 | [diff] [blame] | 103 | url: template:xosDashboardManager |
| 104 | custom_icon: true |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 105 | |
| 106 | Diagnostic: |
| 107 | type: tosca.nodes.DashboardView |
| 108 | properties: |
Zack Williams | 1396aa3 | 2017-06-06 10:28:29 -0700 | [diff] [blame] | 109 | url: template:xosDiagnostic |
| 110 | custom_icon: true |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 111 | |
| 112 | Truckroll: |
| 113 | type: tosca.nodes.DashboardView |
| 114 | properties: |
Zack Williams | 1396aa3 | 2017-06-06 10:28:29 -0700 | [diff] [blame] | 115 | url: template:xosTruckroll |
| 116 | custom_icon: true |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 117 | |
| 118 | Monitoring: |
| 119 | type: tosca.nodes.DashboardView |
| 120 | properties: |
Zack Williams | 1396aa3 | 2017-06-06 10:28:29 -0700 | [diff] [blame] | 121 | url: template:xosCeilometerDashboard |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 122 | |
| 123 | Subscribers: |
| 124 | type: tosca.nodes.DashboardView |
| 125 | properties: |
Zack Williams | 1396aa3 | 2017-06-06 10:28:29 -0700 | [diff] [blame] | 126 | url: template:xosSubscribers |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 127 | |
| 128 | Tenant: |
| 129 | type: tosca.nodes.DashboardView |
| 130 | properties: |
Zack Williams | 1396aa3 | 2017-06-06 10:28:29 -0700 | [diff] [blame] | 131 | url: template:xosTenant |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 132 | |
| 133 | Developer: |
| 134 | type: tosca.nodes.DashboardView |
| 135 | properties: |
Zack Williams | 1396aa3 | 2017-06-06 10:28:29 -0700 | [diff] [blame] | 136 | url: template:xosDeveloper |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 137 | |
| 138 | Services Grid: |
| 139 | type: tosca.nodes.DashboardView |
| 140 | properties: |
Zack Williams | 1396aa3 | 2017-06-06 10:28:29 -0700 | [diff] [blame] | 141 | url: template:xosServiceGrid |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 142 | |
| 143 | # ----------------------------------------------------------------------------- |
| 144 | # Network Templates |
| 145 | # ----------------------------------------------------------------------------- |
| 146 | |
| 147 | Private: |
| 148 | type: tosca.nodes.NetworkTemplate |
| 149 | properties: |
Zack Williams | 1396aa3 | 2017-06-06 10:28:29 -0700 | [diff] [blame] | 150 | visibility: private |
| 151 | translation: none |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 152 | |
| 153 | Public shared IPv4: |
| 154 | type: tosca.nodes.NetworkTemplate |
| 155 | properties: |
Zack Williams | 1396aa3 | 2017-06-06 10:28:29 -0700 | [diff] [blame] | 156 | visibility: private |
| 157 | translation: NAT |
| 158 | shared_network_name: nat-net |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 159 | |
| 160 | Public dedicated IPv4: |
| 161 | type: tosca.nodes.NetworkTemplate |
| 162 | properties: |
Zack Williams | 1396aa3 | 2017-06-06 10:28:29 -0700 | [diff] [blame] | 163 | visibility: public |
| 164 | translation: none |
| 165 | shared_network_name: ext-net |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 166 | |