Matteo Scandolo | 770c49f | 2016-09-23 15:07:38 -0700 | [diff] [blame] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 2 | |
| 3 | # compile this with "m4 metronet.m4 > metronet.yaml" |
| 4 | |
| 5 | # include macros |
| 6 | include(macros.m4) |
| 7 | |
| 8 | node_types: |
| 9 | |
Matteo Scandolo | 9563aeb | 2016-09-28 16:07:58 -0700 | [diff] [blame] | 10 | tosca.nodes.MetroNetworkSystem: |
Matteo Scandolo | 770c49f | 2016-09-23 15:07:38 -0700 | [diff] [blame] | 11 | derived_from: tosca.nodes.Root |
| 12 | description: > |
| 13 | CORD: The Metro Network Service. |
| 14 | capabilities: |
| 15 | xos_base_service_caps |
| 16 | properties: |
| 17 | xos_base_props |
Matteo Scandolo | 9563aeb | 2016-09-28 16:07:58 -0700 | [diff] [blame] | 18 | administrativeState: |
| 19 | type: string |
| 20 | required: true |
| 21 | restUrl: |
| 22 | type: string |
| 23 | required: false |
| 24 | |
Matteo Scandolo | ddce4ec | 2016-09-26 13:11:03 -0700 | [diff] [blame] | 25 | |
| 26 | tosca.nodes.MetroNetworkDevice: |
| 27 | derived_from: tosca.nodes.Root |
| 28 | description: > |
| 29 | CORD: The Metro Network Device. |
| 30 | properties: |
| 31 | xos_base_props |
| 32 | restCtrlUrl: |
| 33 | type: string |
| 34 | required: true |
| 35 | username: |
| 36 | type: string |
| 37 | required: true |
| 38 | password: |
| 39 | type: string |
| 40 | required: true |
| 41 | administrativeState: |
| 42 | type: string |
| 43 | required: true |
| 44 | authType: |
| 45 | type: string |
| 46 | required: false |
Matteo Scandolo | 9563aeb | 2016-09-28 16:07:58 -0700 | [diff] [blame] | 47 | id: |
| 48 | type: string |
| 49 | required: true |