# Copyright [2019] [Pol Alemany, Ricard Vilalta (CTTC), Felipe Vicens (ATOS)]
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

nsd-catalog:
    nsd:
    -   id: slice_hackfest_nsd
        name: slice_hackfest_nsd
        short-name: slice_hackfest_ns
        description: NSD to be used on Slice Session of the 5th hackfest
        vendor: OSM
        version: '1.0'
        logo: osm_2x.png

        constituent-vnfd:
        -   member-vnf-index: 1
            vnfd-id-ref: slice_hackfest_vnfd

        connection-point:
        -   name: nsd_cp_mgmt
            vld-id-ref: nsd_vnfd_vld_mgmt
        -   name: nsd_cp_data
            vld-id-ref: nsd_vnfd_vld_data

        vld:
        -   id: nsd_vnfd_vld_mgmt
            name: nsd_vnfd_vld_mgmt
            short-name: nsd_vnfd_vld_mgmt
            type: ELAN
            mgmt-network: 'true'
            vnfd-connection-point-ref:
            -   member-vnf-index-ref: 1
                vnfd-id-ref: slice_hackfest_vnfd
                vnfd-connection-point-ref: eth0
        -   id: nsd_vnfd_vld_data
            name: nsd_vnfd_vld_data
            short-name: nsd_vnfd_vld_data
            type: ELAN
            mgmt-network: 'false'
            vnfd-connection-point-ref:
            -   member-vnf-index-ref: 1
                vnfd-id-ref: slice_hackfest_vnfd
                vnfd-connection-point-ref: eth1