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: |
Andrea Campanella | e92c909 | 2017-03-17 10:44:37 +0100 | [diff] [blame] | 67 | properties: |
| 68 | xos_base_props |
| 69 | bwpcfgcbs: |
| 70 | type: integer |
| 71 | required: false |
| 72 | bwpcfgebs: |
| 73 | type: integer |
| 74 | required: false |
| 75 | bwpcfgcir: |
| 76 | type: integer |
| 77 | required: false |
| 78 | bwpcfgeir: |
| 79 | type: integer |
| 80 | required: false |
| 81 | name: |
| 82 | type: string |
| 83 | required: true |
| 84 | |
Andrea Campanella | 1123755 | 2017-03-21 17:21:20 +0100 | [diff] [blame^] | 85 | tosca.nodes.EcordUserNetworkInterface: |
| 86 | derived_from: tosca.nodes.Root |
| 87 | description: > |
| 88 | CORD: The ecord user netowrk interface |
| 89 | capabilities: |
| 90 | properties: |
| 91 | xos_base_props |
| 92 | enabled: |
| 93 | type: boolean |
| 94 | required: false |
| 95 | capacity: |
| 96 | type: integer |
| 97 | required: false |
| 98 | bw_used: |
| 99 | type: integer |
| 100 | required: false |
| 101 | vlanIds: |
| 102 | type: string |
| 103 | required: false |
| 104 | name: |
| 105 | type: string |
| 106 | required: true |
| 107 | location: |
| 108 | type: string |
| 109 | required: false |
| 110 | latlng: |
| 111 | type: string |
| 112 | required: false |
| 113 | |
Andrea Campanella | e92c909 | 2017-03-17 10:44:37 +0100 | [diff] [blame] | 114 | tosca.relationships.UsesBandwidthProfile: |
| 115 | derived_from: tosca.relationships.Root |
| 116 | valid_target_types: [ tosca.capabilities.xos.EcordBandwidthProfile ] |