# Copyright [2018] [Felipe Vicens, Pol Alemany, Ricard Vilalta]
#
# 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.

#NST to test VLD connection between Network Services within the same VIM
nst:
-   id: cirros_2net_nst_basic
    name: cirros_2net_nst_basic
    SNSSAI-identifier:
        slice-service-type: eMBB
    quality-of-service:
        id: 1

    netslice-subnet:
    -   id: cirros_2net_vld_nsd_1
        is-shared-nss: 'false'
        description: NetSlice Subnet (service) composed by 2 vnfs and 4 cp (2 mgmt and 2 data)
        nsd-ref: cirros_2net_vld_nsd
    -   id: cirros_2net_vld_nsd_2
        is-shared-nss: 'false'
        description: NetSlice Subnet (service) composed by 2 vnfs and 4 cp (2 mgmt and 2 data)
        nsd-ref: cirros_2net_vld_nsd

    netslice-vld:
    -   id: slice_cirros_vld_mgmt
        name: slice_cirros_vld_mgmt
        type: ELAN
        mgmt-network: 'true'
        nss-connection-point-ref:
        -   nss-ref: cirros_2net_vld_nsd_1
            nsd-connection-point-ref: nsd_cp_mgmt
        -   nss-ref: cirros_2net_vld_nsd_2
            nsd-connection-point-ref: nsd_cp_mgmt
    -   id: slice_cirros_vld_data
        name: slice_cirros_vld_data
        type: ELAN
        nss-connection-point-ref:
        -   nss-ref: cirros_2net_vld_nsd_1
            nsd-connection-point-ref: nsd_cp_data
        -   nss-ref: cirros_2net_vld_nsd_2
            nsd-connection-point-ref: nsd_cp_data
