| schillinge | 29e6411 | 2019-03-14 22:44:03 +0100 | [diff] [blame] | 1 | # Copyright (c) 2019 Erik Schilling |
| 2 | # ALL RIGHTS RESERVED. |
| 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 | nsd:nsd-catalog: |
| 17 | nsd: |
| 18 | - id: vnffg-example |
| 19 | short-name: vnffg-example |
| 20 | name: vnffg-example |
| 21 | constituent-vnfd: |
| 22 | - member-vnf-index: 1 |
| 23 | vnfd-id-ref: vnfd-traffic-view |
| 24 | - member-vnf-index: 2 |
| 25 | vnfd-id-ref: vnfd-traffic-view |
| 26 | - member-vnf-index: 3 |
| 27 | vnfd-id-ref: vnfd-traffic-view |
| 28 | ip-profiles: |
| 29 | - description: Inter VNF Link |
| 30 | ip-profile-params: |
| 31 | gateway-address: 10.0.0.210 |
| 32 | ip-version: ipv4 |
| 33 | subnet-address: 10.0.0.0/24 |
| 34 | dns-server: |
| 35 | - address: 8.8.8.8 |
| 36 | - address: 8.8.8.9 |
| 37 | dhcp-params: |
| 38 | count: 200 |
| 39 | start-address: 10.0.0.1 |
| 40 | name: ipprofileA |
| 41 | vld: |
| 42 | - id: vld1 |
| 43 | name: vld1-name |
| 44 | short-name: vld1-sname |
| 45 | type: ELAN |
| 46 | ip-profile-ref: ipprofileA |
| 47 | vnfd-connection-point-ref: |
| 48 | - member-vnf-index-ref: 1 |
| 49 | vnfd-id-ref: vnfd-traffic-view |
| 50 | vnfd-connection-point-ref: eth0 |
| 51 | ip-address: 10.0.0.10 |
| 52 | - member-vnf-index-ref: 2 |
| 53 | vnfd-id-ref: vnfd-traffic-view |
| 54 | vnfd-connection-point-ref: eth0 |
| 55 | ip-address: 10.0.0.11 |
| 56 | - member-vnf-index-ref: 3 |
| 57 | vnfd-id-ref: vnfd-traffic-view |
| 58 | vnfd-connection-point-ref: eth0 |
| 59 | ip-address: 10.0.0.12 |
| 60 | vnffgd: |
| 61 | - id: vnffg1 |
| 62 | name: vnffg1-name |
| 63 | short-name: vnffg1-sname |
| 64 | description: vnffg1-description |
| 65 | vendor: vnffg1-vendor |
| 66 | version: '1.0' |
| 67 | rsp: |
| 68 | - id: rsp1 |
| 69 | name: rsp1-name |
| 70 | vnfd-connection-point-ref: |
| 71 | - member-vnf-index-ref: 2 |
| 72 | order: 0 |
| 73 | vnfd-id-ref: vnfd-traffic-view |
| 74 | vnfd-ingress-connection-point-ref: eth0 |
| 75 | vnfd-egress-connection-point-ref: eth0 |
| 76 | - member-vnf-index-ref: 3 |
| 77 | order: 1 |
| 78 | vnfd-id-ref: vnfd-traffic-view |
| 79 | vnfd-ingress-connection-point-ref: eth0 |
| 80 | vnfd-egress-connection-point-ref: eth0 |
| 81 | classifier: |
| 82 | - id: class1 |
| 83 | name: class1-name |
| 84 | rsp-id-ref: rsp1 |
| 85 | member-vnf-index-ref: 1 |
| 86 | vnfd-id-ref: vnfd-traffic-view |
| 87 | vnfd-connection-point-ref: eth0 |
| 88 | match-attributes: |
| 89 | - id: match1 |
| 90 | ip-proto: 6 # TCP |
| 91 | source-ip-address: 10.0.0.2 |
| 92 | destination-ip-address: 10.0.0.4 |
| 93 | source-port: 0 |
| 94 | destination-port: 80 |
| 95 | |