| Suresh Balakrishnan | bb49246 | 2016-10-06 05:37:50 -0400 | [diff] [blame] | 1 | # |
| 2 | # Copyright 2016 RIFT.io Inc |
| 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 | # |
| 17 | |
| 18 | vnfd:vnfd-catalog: |
| Philip Joseph | 54b892b | 2017-01-10 18:01:10 +0530 | [diff] [blame^] | 19 | vnfd:vnfd: |
| 20 | - vnfd:id: rift_ping_vnf |
| 21 | vnfd:name: ping_vnf |
| 22 | vnfd:short-name: ping_vnf |
| 23 | vnfd:logo: rift_logo.png |
| 24 | vnfd:vendor: RIFT.io |
| 25 | vnfd:version: '1.0' |
| 26 | vnfd:description: This is an example RIFT.ware VNF |
| 27 | vnfd:config-parameter: |
| 28 | vnfd:config-parameter-request: |
| 29 | - vnfd:description: IP on which Pong service is listening |
| 30 | vnfd:name: pong_ip |
| 31 | vnfd:parameter: |
| 32 | - vnfd:config-primitive-name-ref: set-server |
| 33 | vnfd:config-primitive-parameter-ref: server-ip |
| 34 | - vnfd:description: Port on which Pong service is listening |
| 35 | vnfd:name: pong_port |
| 36 | vnfd:parameter: |
| 37 | - vnfd:config-primitive-name-ref: set-server |
| 38 | vnfd:config-primitive-parameter-ref: server-port |
| 39 | vnfd:config-parameter-source: |
| 40 | - vnfd:attribute: ../../../mgmt-interface, ip-address |
| 41 | vnfd:description: Management IP address |
| 42 | vnfd:name: mgmt_ip |
| 43 | vnfd:parameter: |
| 44 | - vnfd:config-primitive-name-ref: config |
| 45 | vnfd:config-primitive-parameter-ref: ssh-hostname |
| 46 | - vnfd:description: SSH username |
| 47 | vnfd:name: username |
| 48 | vnfd:parameter: |
| 49 | - vnfd:config-primitive-name-ref: config |
| 50 | vnfd:config-primitive-parameter-ref: ssh-username |
| 51 | vnfd:value: fedora |
| 52 | - vnfd:attribute: ../../../mgmt-interface/ssh-key, private-key-file |
| 53 | vnfd:description: SSH private key file |
| 54 | vnfd:name: ssh_key |
| 55 | vnfd:parameter: |
| 56 | - vnfd:config-primitive-name-ref: config |
| 57 | vnfd:config-primitive-parameter-ref: ssh-private-key |
| 58 | - vnfd:description: Rate of packet generation |
| 59 | vnfd:name: rate |
| 60 | vnfd:parameter: |
| 61 | - vnfd:config-primitive-name-ref: set-rate |
| 62 | vnfd:config-primitive-parameter-ref: rate |
| 63 | vnfd:value: '5' |
| 64 | vnfd:connection-point: |
| 65 | - vnfd:name: ping_vnfd/cp0 |
| 66 | vnfd:type: VPORT |
| 67 | - vnfd:name: ping_vnfd/cp1 |
| 68 | vnfd:type: VPORT |
| 69 | vnfd:http-endpoint: |
| 70 | - vnfd:path: api/v1/ping/stats |
| 71 | vnfd:polling_interval_secs: '2' |
| 72 | vnfd:port: '18888' |
| 73 | vnfd:mgmt-interface: |
| 74 | vnfd:dashboard-params: |
| 75 | vnfd:path: api/v1/ping/stats |
| 76 | vnfd:port: '18888' |
| 77 | vnfd:port: '18888' |
| 78 | vnfd:ssh-key: 'true' |
| 79 | vnfd:vdu-id: iovdu_0 |
| 80 | vnfd:monitoring-param: |
| 81 | - vnfd:description: no of ping requests |
| 82 | vnfd:group-tag: Group1 |
| 83 | vnfd:http-endpoint-ref: api/v1/ping/stats |
| 84 | vnfd:id: '1' |
| 85 | vnfd:json-query-method: NAMEKEY |
| 86 | vnfd:name: ping-request-tx-count |
| 87 | vnfd:units: packets |
| 88 | vnfd:value-type: INT |
| 89 | vnfd:widget-type: COUNTER |
| 90 | - vnfd:description: no of ping responses |
| 91 | vnfd:group-tag: Group1 |
| 92 | vnfd:http-endpoint-ref: api/v1/ping/stats |
| 93 | vnfd:id: '2' |
| 94 | vnfd:json-query-method: NAMEKEY |
| 95 | vnfd:name: ping-response-rx-count |
| 96 | vnfd:units: packets |
| 97 | vnfd:value-type: INT |
| 98 | vnfd:widget-type: COUNTER |
| 99 | vnfd:placement-groups: |
| 100 | - vnfd:member-vdus: |
| 101 | - vnfd:member-vdu-ref: iovdu_0 |
| 102 | vnfd:name: Eris |
| 103 | vnfd:requirement: Place this VM on the Kuiper belt object Eris |
| 104 | vnfd:strategy: COLOCATION |
| 105 | vnfd:vdu: |
| 106 | - vnfd:count: '1' |
| 107 | vnfd:external-interface: |
| 108 | - vnfd:name: eth0 |
| 109 | vnfd:virtual-interface: |
| 110 | vnfd:type: VIRTIO |
| 111 | vnfd:vnfd-connection-point-ref: ping_vnfd/cp0 |
| 112 | - vnfd:name: eth1 |
| 113 | vnfd:virtual-interface: |
| 114 | vnfd:type: VIRTIO |
| 115 | vnfd:vnfd-connection-point-ref: ping_vnfd/cp1 |
| 116 | vnfd:id: iovdu_0 |
| 117 | vnfd:image: Fedora-x86_64-20-20131211.1-sda-ping.qcow2 |
| 118 | vnfd:image-checksum: a6ffaa77f949a9e4ebb082c6147187cf |
| 119 | vnfd:name: iovdu_0 |
| 120 | vnfd:vm-flavor: |
| 121 | vnfd:memory-mb: '512' |
| 122 | vnfd:storage-gb: '4' |
| 123 | vnfd:vcpu-count: '1' |
| 124 | vnfd:vnf-configuration: |
| 125 | vnfd:config-primitive: |
| 126 | - vnfd:name: start |
| 127 | - vnfd:name: stop |
| 128 | - vnfd:name: restart |
| 129 | - vnfd:name: config |
| 130 | vnfd:parameter: |
| 131 | - vnfd:data-type: STRING |
| 132 | vnfd:name: ssh-hostname |
| 133 | - vnfd:data-type: STRING |
| 134 | vnfd:name: ssh-username |
| 135 | - vnfd:data-type: STRING |
| 136 | vnfd:name: ssh-private-key |
| 137 | - vnfd:data-type: STRING |
| 138 | vnfd:default-value: ping |
| 139 | vnfd:name: mode |
| 140 | vnfd:read-only: 'true' |
| 141 | - vnfd:name: set-server |
| 142 | vnfd:parameter: |
| 143 | - vnfd:data-type: STRING |
| 144 | vnfd:name: server-ip |
| 145 | - vnfd:data-type: INTEGER |
| 146 | vnfd:name: server-port |
| 147 | - vnfd:name: set-rate |
| 148 | vnfd:parameter: |
| 149 | - vnfd:data-type: INTEGER |
| 150 | vnfd:default-value: '5' |
| 151 | vnfd:name: rate |
| 152 | - vnfd:name: start-traffic |
| 153 | - vnfd:name: stop-traffic |
| 154 | vnfd:initial-config-primitive: |
| 155 | - vnfd:config-primitive-ref: config |
| 156 | vnfd:seq: '1' |
| 157 | - vnfd:config-primitive-ref: start |
| 158 | vnfd:seq: '2' |
| 159 | - vnfd:config-primitive-ref: set-server |
| 160 | vnfd:seq: '3' |
| 161 | - vnfd:config-primitive-ref: set-rate |
| 162 | vnfd:seq: '4' |
| 163 | vnfd:juju: |
| 164 | vnfd:charm: pingpong |