rdudyala | 996d70b | 2016-10-13 17:40:55 +0000 | [diff] [blame] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 2 | |
| 3 | # compile this with "m4 monitoring_custom_tosca_types.m4 > monitoring_custom_tosca_types.yaml" |
| 4 | |
| 5 | # include macros |
| 6 | # Note: Tosca derived_from isn't working the way I think it should, it's not |
| 7 | # inheriting from the parent template. Until we get that figured out, use |
| 8 | # m4 macros do our inheritance |
| 9 | |
| 10 | |
| 11 | # Service |
| 12 | |
| 13 | |
| 14 | # Subscriber |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | # end m4 macros |
| 20 | |
| 21 | |
| 22 | |
| 23 | node_types: |
| 24 | tosca.nodes.SFlowService: |
| 25 | derived_from: tosca.nodes.Root |
| 26 | description: > |
| 27 | XOS SFlow Collection Service |
| 28 | capabilities: |
| 29 | scalable: |
| 30 | type: tosca.capabilities.Scalable |
| 31 | service: |
| 32 | type: tosca.capabilities.xos.Service |
| 33 | properties: |
| 34 | no-delete: |
| 35 | type: boolean |
| 36 | default: false |
| 37 | description: Do not allow Tosca to delete this object |
| 38 | no-create: |
| 39 | type: boolean |
| 40 | default: false |
| 41 | description: Do not allow Tosca to create this object |
| 42 | no-update: |
| 43 | type: boolean |
| 44 | default: false |
| 45 | description: Do not allow Tosca to update this object |
| 46 | kind: |
| 47 | type: string |
| 48 | default: generic |
| 49 | description: Type of service. |
| 50 | view_url: |
| 51 | type: string |
| 52 | required: false |
| 53 | description: URL to follow when icon is clicked in the Service Directory. |
| 54 | icon_url: |
| 55 | type: string |
| 56 | required: false |
| 57 | description: ICON to display in the Service Directory. |
| 58 | enabled: |
| 59 | type: boolean |
| 60 | default: true |
| 61 | published: |
| 62 | type: boolean |
| 63 | default: true |
| 64 | description: If True then display this Service in the Service Directory. |
| 65 | public_key: |
| 66 | type: string |
| 67 | required: false |
| 68 | description: Public key to install into Instances to allows Services to SSH into them. |
| 69 | private_key_fn: |
| 70 | type: string |
| 71 | required: false |
| 72 | description: Location of private key file |
| 73 | versionNumber: |
| 74 | type: string |
| 75 | required: false |
| 76 | description: Version number of Service. |
| 77 | sflow_port: |
| 78 | type: integer |
| 79 | required: false |
| 80 | default: 6343 |
| 81 | description: sFlow listening port |
| 82 | sflow_api_port: |
| 83 | type: integer |
| 84 | required: false |
| 85 | default: 33333 |
| 86 | description: sFlow publish subscribe api listening port |
| 87 | |
| 88 | tosca.nodes.CeilometerService: |
| 89 | derived_from: tosca.nodes.Root |
| 90 | description: > |
| 91 | XOS Ceilometer Service |
| 92 | capabilities: |
| 93 | scalable: |
| 94 | type: tosca.capabilities.Scalable |
| 95 | service: |
| 96 | type: tosca.capabilities.xos.Service |
| 97 | properties: |
| 98 | no-delete: |
| 99 | type: boolean |
| 100 | default: false |
| 101 | description: Do not allow Tosca to delete this object |
| 102 | no-create: |
| 103 | type: boolean |
| 104 | default: false |
| 105 | description: Do not allow Tosca to create this object |
| 106 | no-update: |
| 107 | type: boolean |
| 108 | default: false |
| 109 | description: Do not allow Tosca to update this object |
| 110 | kind: |
| 111 | type: string |
| 112 | default: generic |
| 113 | description: Type of service. |
| 114 | view_url: |
| 115 | type: string |
| 116 | required: false |
| 117 | description: URL to follow when icon is clicked in the Service Directory. |
| 118 | icon_url: |
| 119 | type: string |
| 120 | required: false |
| 121 | description: ICON to display in the Service Directory. |
| 122 | enabled: |
| 123 | type: boolean |
| 124 | default: true |
| 125 | published: |
| 126 | type: boolean |
| 127 | default: true |
| 128 | description: If True then display this Service in the Service Directory. |
| 129 | public_key: |
| 130 | type: string |
| 131 | required: false |
| 132 | description: Public key to install into Instances to allows Services to SSH into them. |
| 133 | private_key_fn: |
| 134 | type: string |
| 135 | required: false |
| 136 | description: Location of private key file |
| 137 | versionNumber: |
| 138 | type: string |
| 139 | required: false |
| 140 | description: Version number of Service. |
| 141 | ceilometer_pub_sub_url: |
| 142 | type: string |
| 143 | required: false |
| 144 | description: REST URL of ceilometer PUB/SUB component |
| 145 | |
| 146 | tosca.nodes.CeilometerTenant: |
| 147 | derived_from: tosca.nodes.Root |
| 148 | description: > |
| 149 | CORD: A Tenant of the Ceilometer Service. |
| 150 | properties: |
| 151 | kind: |
| 152 | type: string |
| 153 | default: generic |
| 154 | description: Kind of tenant |
| 155 | |
| 156 | tosca.nodes.InfraMonitoringAgentInfo: |
| 157 | derived_from: tosca.nodes.Root |
| 158 | description: > |
| 159 | Infra Monitoring agent info |
| 160 | capabilities: |
| 161 | inframonitoringagentinfo: |
| 162 | type: tosca.capabilities.xos.InfraMonitoringAgentInfo |
| 163 | properties: |
| 164 | start_url: |
| 165 | type: string |
| 166 | required: true |
| 167 | description: REST URL to be invoked to start monitoring agent |
| 168 | start_url_json_data: |
| 169 | type: string |
| 170 | required: false |
| 171 | description: Meta data to be sent along with start API |
| 172 | stop_url: |
| 173 | type: string |
| 174 | required: true |
| 175 | description: REST URL to be invoked to stop monitoring agent |
| 176 | |
| 177 | tosca.relationships.ProvidesInfraMonitoringAgentInfo: |
| 178 | derived_from: tosca.relationships.Root |
| 179 | valid_target_types: [ tosca.capabilities.xos.InfraMonitoringAgentInfo ] |
| 180 | |
| 181 | tosca.capabilities.xos.InfraMonitoringAgentInfo: |
| 182 | derived_from: tosca.capabilities.Root |
| 183 | description: An XOS Infra MonitoringAgentInfo |
| 184 | |
| 185 | tosca.nodes.MonitoringCollectorPluginInfo: |
| 186 | derived_from: tosca.nodes.Root |
| 187 | description: > |
| 188 | Monitoring collector plugin info |
| 189 | capabilities: |
| 190 | monitoringcollectorplugininfo: |
| 191 | type: tosca.capabilities.xos.MonitoringCollectorPluginInfo |
| 192 | properties: |
| 193 | plugin_folder_path: |
| 194 | type: string |
| 195 | required: true |
| 196 | description: Folder path pointing to plugin files. |
| 197 | plugin_rabbit_exchange: |
| 198 | type: string |
| 199 | required: true |
| 200 | description: RabbitMQ exchange used by Monitoring collector notification plugin |
| 201 | |
| 202 | tosca.relationships.ProvidesMonitoringCollectorPluginInfo: |
| 203 | derived_from: tosca.relationships.Root |
| 204 | valid_target_types: [ tosca.capabilities.xos.MonitoringCollectorPluginInfo ] |
| 205 | |
| 206 | tosca.capabilities.xos.MonitoringCollectorPluginInfo: |
| 207 | derived_from: tosca.capabilities.Root |
| 208 | description: An XOS MonitoringCollectorPluginInfo |
| 209 | |
| 210 | tosca.nodes.OpenStackMonitoringPublisher: |
| 211 | derived_from: tosca.nodes.Root |
| 212 | description: > |
| 213 | A OpenStack Publish Tenant of the Monitoring service |
| 214 | properties: |
| 215 | kind: |
| 216 | type: string |
| 217 | default: generic |
| 218 | description: Kind of tenant |
| 219 | |
| 220 | tosca.nodes.ONOSMonitoringPublisher: |
| 221 | derived_from: tosca.nodes.Root |
| 222 | description: > |
| 223 | A ONOS Publish Tenant of the Monitoring service |
| 224 | properties: |
| 225 | kind: |
| 226 | type: string |
| 227 | default: generic |
| 228 | description: Kind of tenant |
| 229 | |
| 230 | tosca.relationships.PublishesMonitoringData: |
| 231 | derived_from: tosca.relationships.Root |
| 232 | valid_target_types: [ tosca.capabilities.xos.Service ] |
| 233 | |
| 234 | tosca.nodes.UserServiceMonitoringPublisher: |
| 235 | derived_from: tosca.nodes.Root |
| 236 | description: > |
| 237 | A Publish Tenant of the Monitoring service user defined services |
| 238 | properties: |
| 239 | kind: |
| 240 | type: string |
| 241 | default: generic |
| 242 | description: Kind of tenant |
| 243 | |