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: |
Andrea Campanella | e92c909 | 2017-03-17 10:44:37 +0100 | [diff] [blame^] | 9 | |
| 10 | tosca.nodes.VNodGlobalService: |
| 11 | description: > |
| 12 | CORD: The MetroNet Service. |
| 13 | derived_from: tosca.nodes.Root |
| 14 | capabilities: |
| 15 | xos_base_service_caps |
| 16 | properties: |
| 17 | xos_base_props |
| 18 | xos_base_service_props |
| 19 | |
| 20 | tosca.nodes.MetroNetworkSystem: |
Matteo Scandolo | 770c49f | 2016-09-23 15:07:38 -0700 | [diff] [blame] | 21 | derived_from: tosca.nodes.Root |
| 22 | description: > |
| 23 | CORD: The Metro Network Service. |
| 24 | capabilities: |
| 25 | xos_base_service_caps |
| 26 | properties: |
| 27 | xos_base_props |
Andrea Campanella | e92c909 | 2017-03-17 10:44:37 +0100 | [diff] [blame^] | 28 | xos_base_service_props |
Matteo Scandolo | 9563aeb | 2016-09-28 16:07:58 -0700 | [diff] [blame] | 29 | administrativeState: |
| 30 | type: string |
| 31 | required: true |
| 32 | restUrl: |
| 33 | type: string |
| 34 | required: false |
| 35 | |
Matteo Scandolo | ddce4ec | 2016-09-26 13:11:03 -0700 | [diff] [blame] | 36 | |
Andrea Campanella | e92c909 | 2017-03-17 10:44:37 +0100 | [diff] [blame^] | 37 | tosca.nodes.MetroNetworkDevice: |
Matteo Scandolo | ddce4ec | 2016-09-26 13:11:03 -0700 | [diff] [blame] | 38 | derived_from: tosca.nodes.Root |
| 39 | description: > |
| 40 | CORD: The Metro Network Device. |
| 41 | properties: |
| 42 | xos_base_props |
| 43 | restCtrlUrl: |
| 44 | type: string |
| 45 | required: true |
| 46 | username: |
| 47 | type: string |
| 48 | required: true |
| 49 | password: |
| 50 | type: string |
| 51 | required: true |
| 52 | administrativeState: |
| 53 | type: string |
| 54 | required: true |
| 55 | authType: |
| 56 | type: string |
| 57 | required: false |
Matteo Scandolo | 9563aeb | 2016-09-28 16:07:58 -0700 | [diff] [blame] | 58 | id: |
| 59 | type: string |
| 60 | required: true |
Andrea Campanella | e92c909 | 2017-03-17 10:44:37 +0100 | [diff] [blame^] | 61 | |
| 62 | tosca.nodes.EcordBandwidthProfile: |
| 63 | derived_from: tosca.nodes.Root |
| 64 | description: > |
| 65 | CORD: The ecord bandwith profile. |
| 66 | capabilities: |
| 67 | xos_base_service_caps |
| 68 | properties: |
| 69 | xos_base_props |
| 70 | bwpcfgcbs: |
| 71 | type: integer |
| 72 | required: false |
| 73 | bwpcfgebs: |
| 74 | type: integer |
| 75 | required: false |
| 76 | bwpcfgcir: |
| 77 | type: integer |
| 78 | required: false |
| 79 | bwpcfgeir: |
| 80 | type: integer |
| 81 | required: false |
| 82 | name: |
| 83 | type: string |
| 84 | required: true |
| 85 | |
| 86 | tosca.relationships.UsesBandwidthProfile: |
| 87 | derived_from: tosca.relationships.Root |
| 88 | valid_target_types: [ tosca.capabilities.xos.EcordBandwidthProfile ] |