<commit_before>
---
descriptor_version: "1.0"

vendor: "eu.sonata-nfv"
name: "sonata-fw-vtc-service"
version: "0.1"
author: "<NAME>, Paderborn University, <EMAIL>"
description: "SONATA Y1 review demo service: Firewall/vTC"

##
## The various network functions this service
## is composed of.
##
network_functions:
  - vnf_id: "fw_vnf"
    vnf_vendor: "eu.sonata-nfv"
    vnf_name: "fw-vnf"
    vnf_version: "0.1"
  - vnf_id: "vtc_vnf"
    vnf_vendor: "eu.sonata-nfv"
    vnf_name: "vtc-vnf"
    vnf_version: "0.1"

##
## The NS connection points to the 
## outside world.
##
connection_points:
  - id: "ns:mgmt"
    type: "interface"
  - id: "ns:servicein"
    type: "interface"
  - id: "ns:serviceout"
    type: "interface"

##
## The virtual links that interconnect
## the different connections points.
##
virtual_links:
  - id: "mgmt"
    connectivity_type: "E-LAN"
    connection_points_reference:
      - "fw_vnf:mgmt"
      - "vtc_vnf:mgmt"
      - "ns:mgmt"
  - id: "link-input"
    connectivity_type: "E-Line"
    connection_points_reference:
      - "ns:servicein"    
      - "fw_vnf:fwin"
  - id: "link-interconnect"
    connectivity_type: "E-Line"
    connection_points_reference:
      - "fw_vnf:fwout"
      - "vtc_vnf:input"
  - id: "link-output"
    connectivity_type: "E-Line"
    connection_points_reference:
      - "vtc_vnf:output"
      - "ns:serviceout"

##
## The forwarding graphs.
##
forwarding_graphs:
  - fg_id: "ns:fg01"
    number_of_endpoints: 2
    number_of_virtual_links: 6
    constituent_virtual_links: 
      - "mgmt"
      - "link-input"
      - "link-interconnect"
      - "link-output"
    constituent_vnfs:
      - "vtc_vnf"
      - "fw_vnf"
    network_forwarding_paths:
      - fp_id: "ns:fg01:fp01"
        policy: "none"
        connection_points:
          - connection_point_ref: "ns:servicein"
            position: 1
          - connection_point_ref: "fw_vnf:fwin"
            position: 2
          - connection_point_ref: "fw_vnf:fwout"
            position: 3
          - connection_point_ref: "vtc_vnf:input"
            position: 4
          - connection_point_ref: "vtc_vnf:output"
            position: 5
          - connection_point_ref: "ns:serviceout"
            position: 6
<commit_msg>Fix: Added dedicated backward link to chain to allow pings etc.<commit_after>
---
descriptor_version: "1.0"

vendor: "eu.sonata-nfv"
name: "sonata-fw-vtc-service"
version: "0.1"
author: "<NAME>, Paderborn University, <EMAIL>"
description: "SONATA Y1 review demo service: Firewall/vTC"

##
## The various network functions this service
## is composed of.
##
network_functions:
  - vnf_id: "fw_vnf"
    vnf_vendor: "eu.sonata-nfv"
    vnf_name: "fw-vnf"
    vnf_version: "0.1"
  - vnf_id: "vtc_vnf"
    vnf_vendor: "eu.sonata-nfv"
    vnf_name: "vtc-vnf"
    vnf_version: "0.1"

##
## The NS connection points to the 
## outside world.
##
connection_points:
  - id: "ns:mgmt"
    type: "interface"
  - id: "ns:servicein"
    type: "interface"
  - id: "ns:serviceout"
    type: "interface"

##
## The virtual links that interconnect
## the different connections points.
##
virtual_links:
  - id: "mgmt"
    connectivity_type: "E-LAN"
    connection_points_reference:
      - "fw_vnf:mgmt"
      - "vtc_vnf:mgmt"
      - "ns:mgmt"
  - id: "link-input"
    connectivity_type: "E-Line"
    connection_points_reference:
      - "ns:servicein"    
      - "fw_vnf:fwin"
  - id: "link-interconnect"
    connectivity_type: "E-Line"
    connection_points_reference:
      - "fw_vnf:fwout"
      - "vtc_vnf:input"
  - id: "link-output"
    connectivity_type: "E-Line"
    connection_points_reference:
      - "vtc_vnf:output"
      - "ns:serviceout"
  - id: "link-back"
    connectivity_type: "E-Line"
    connection_points_reference:
      - "ns:serviceout"
      - "ns:servicein"

##
## The forwarding graphs.
##
forwarding_graphs:
  - fg_id: "ns:fg01"
    number_of_endpoints: 2
    number_of_virtual_links: 6
    constituent_virtual_links: 
      - "mgmt"
      - "link-input"
      - "link-interconnect"
      - "link-output"
      - "link-back"
    constituent_vnfs:
      - "vtc_vnf"
      - "fw_vnf"
    network_forwarding_paths:
      - fp_id: "ns:fg01:fp01"
        policy: "none"
        connection_points:
          - connection_point_ref: "ns:servicein"
            position: 1
          - connection_point_ref: "fw_vnf:fwin"
            position: 2
          - connection_point_ref: "fw_vnf:fwout"
            position: 3
          - connection_point_ref: "vtc_vnf:input"
            position: 4
          - connection_point_ref: "vtc_vnf:output"
            position: 5
          - connection_point_ref: "ns:serviceout"
            position: 6
          - connection_point_ref: "ns:servicein"
            position: 7

{'fraction_non_alphanumeric': 0.1267576075550892, 'fraction_numerical': 0.009863588667366212, 'mean_word_length': 2.5329873980726463, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5218372', 'n_tokens_mistral': 1799, 'n_tokens_neox': 1770, 'n_words': 332}