summaryrefslogtreecommitdiffstats
path: root/src/plugins/ikev2/ikev2_api.c
AgeCommit message (Expand)AuthorFilesLines
2021-09-29ikev2: build only when deps requirements are metFilip Tehlar1-112/+0
2021-03-15ikev2: support responder hostnameFilip Tehlar1-0/+32
2021-02-16ikev2: fix coverity warningsFilip Tehlar1-19/+32
2021-01-27ikev2: add per SA statsFilip Tehlar1-0/+13
2020-12-14misc: move to new pool_foreach macrosDamjan Marion1-6/+6
2020-11-26ikev2: better handling when no IKE DH configuredFilip Tehlar1-17/+85
2020-10-31ikev2: add option to disable NAT traversalFilip Tehlar1-1/+23
2020-10-05ikev2: support ipv6 traffic selectors & overlayFilip Tehlar1-11/+11
2020-07-24ikev2: add SA dump APIjan_cavojsky1-0/+277
2020-07-20ikev2: refactor and test profile dump APIFilip Tehlar1-32/+40
2020-07-06ikev2: add profile dump APIJan Cavojsky1-0/+125
2020-04-07ikev2: make liveness params configurableFilip Tehlar1-0/+20
2020-03-21ikev2: add support for custom ipsec-over-udp portFilip Tehlar1-0/+24
2020-03-02ikev2: make UDP encap flag configurableFilip Tehlar1-0/+22
2020-02-28ikev2: fix incorrect reply messagesFilip Tehlar1-2/+2
2020-02-11ikev2: Configure a profile with an existing interfaceNeale Ranns1-0/+27
2019-12-06ikev2: use explicit api typesOle Troan1-0/+1
2019-11-14ikev2: correct byte order in api handlersAleksander Djuric1-10/+21
2019-09-27ikev2: remove api boilerplateOle Troan1-87/+5
2019-02-27IKEv2 plugin export fixesNeale Ranns1-5/+5
2019-02-25IKEv2 to pluginNeale Ranns1-0/+468
id='n203' href='#n203'>203 204 205 206 207 208
################################################################################
###                          E N V I R O N M E N T                           ###
################################################################################

- type: "environment"

  spec-files:
    - "specifications/trending/data_sets.yaml"
    - "specifications/trending/layouts.yaml"
    - "specifications/trending/elements.yaml"

  paths:
    # Top level directories:
    ## Working directory
    DIR[WORKING]: "_tmp"
    ## Build directories
    DIR[BUILD,HTML]: "_build"
    ## Static .rst files
    DIR[RST]: "../../../docs/cpta"

    # Static html content
    DIR[STATIC]: "{DIR[BUILD,HTML]}/_static"
    DIR[STATIC,VPP]: "{DIR[STATIC]}/vpp"
    DIR[STATIC,ARCH]: "{DIR[STATIC]}/archive"

    # Working directories
    ## Input data files (.zip, .xml)
    DIR[WORKING,DATA]: "{DIR[WORKING]}/data"
    ## Static source files from git
    DIR[WORKING,SRC]: "{DIR[WORKING]}/src"
    DIR[WORKING,SRC,STATIC]: "{DIR[WORKING,SRC]}/_static"

    # .css patch file
    DIR[CSS_PATCH_FILE]: "{DIR[STATIC]}/theme_overrides.css"
    DIR[CSS_PATCH_FILE2]: "{DIR[WORKING,SRC,STATIC]}/theme_overrides.css"

  urls:
    URL[JENKINS,CSIT]: "https://jenkins.fd.io/view/csit/job"

  make-dirs:
  # List the directories which are created while preparing the environment.
  # All directories MUST be defined in "paths" section.
  - "DIR[WORKING,DATA]"
  - "DIR[WORKING,SRC,STATIC]"
  - "DIR[BUILD,HTML]"
  - "DIR[STATIC,VPP]"
  - "DIR[STATIC,ARCH]"
  build-dirs:
  # List the directories where the results (build) is stored.
  # All directories MUST be defined in "paths" section.
  - "DIR[BUILD,HTML]"

  testbeds:
    "10.32.51.74": "LF-3n-ALT-34"
    "10.32.51.82": "LF-2n-ICX-212"
    "10.32.51.84": "LF-2n-ICX-213"
    "10.32.51.86": "LF-2n-ICX-214"
    "10.32.51.88": "LF-2n-ICX-215"
    "10.32.51.77": "LF-3n-ICX-37"
    "10.32.51.80": "LF-3n-ICX-38"
    "10.30.51.45": "LF-2n-SKX-21"
    "10.30.51.53": "LF-2n-SKX-22"
    "10.30.51.55": "LF-2n-SKX-23"
    "10.30.51.57": "LF-2n-SKX-24"
    "10.32.8.19": "LF-2n-CLX-27"
    "10.32.8.21": "LF-2n-CLX-28"
    "10.32.8.23": "LF-2n-CLX-29"
    "10.30.51.48": "LF-3n-SKX-31"
    "10.30.51.60": "LF-3n-SKX-32"
    "10.30.51.49": "LF-3n-TSH-33"
    "10.32.8.25": "LF-2n-ZN2-210"
    "10.32.8.10": "LF-DNV"

  # Data sources are used in this order:
  data-sources:
    # XML
    - type: "xml"
      url: "https://s3-logs.fd.io/vex-yul-rot-jenkins-1"
      path: "{job}/{build}/{filename}"
      file-name: "output_info.xml.gz"
      file-format: ".gz"
      enabled: True
    - type: "xml"
      url: "https://logs.nginx.service.consul/vex-yul-rot-jenkins-1"
      path: "{job}/{build}/{filename}"
      file-name: "output_info.xml.gz"
      file-format: ".gz"
      enabled: True
    - type: "xml"
      url: "https://logs.nginx.service.consul/vex-yul-rot-jenkins-1"
      path: "{job}/{build}/archives/{filename}"
      file-name: "output_info.xml.gz"
      file-format: ".gz"
      enabled: True

  archive-inputs: False

  reverse-input: True  # Needed for trending, not important for the report

  # Number of days from now to the past. Only files generated in this
  # time period are used.
  # Only for trending
  time-period: 180

  mapping-file: ""

  ignore-list: ""

  alerting:

    alerts:

      # Jenkins job sends the email with failed tests.
      # Pre-requisites:
      # - Jenkins job is configured to send emails in "Post-build Actions" -->
      #   "Editable Email Notification".
      jenkins-send-failed-tests:
        title: "Trending: Failed Tests"
        type: "failed-tests"
        way: "jenkins"
        include:
          - "last-failed-tests-vpp-3n-alt-mrr"
          - "last-failed-tests-vpp-2n-icx-mrr"
          - "last-failed-tests-vpp-3n-icx-mrr"
          - "last-failed-tests-vpp-2n-skx-mrr"
          - "last-failed-tests-vpp-3n-skx-mrr"
          - "last-failed-tests-vpp-2n-clx-mrr"
          - "last-failed-tests-vpp-2n-zn2-mrr"
          - "last-failed-tests-vpp-3n-tsh-mrr"
          - "last-failed-tests-vpp-2n-tx2-mrr"
          - "last-failed-tests-vpp-2n-dnv-mrr"
          - "last-failed-tests-vpp-3n-dnv-mrr"
          - "last-failed-tests-vpp-2n-aws-mrr"
          - "last-failed-tests-dpdk-2n-skx-mrr"
          - "last-failed-tests-dpdk-3n-skx-mrr"
          - "last-failed-tests-dpdk-2n-clx-mrr"
          - "last-failed-tests-dpdk-3n-tsh-mrr"
          - "last-failed-tests-dpdk-2n-tx2-mrr"
          - "last-failed-tests-vpp-2n-skx-ndrpdr"
          - "last-failed-tests-vpp-3n-skx-ndrpdr"
          - "last-failed-tests-vpp-2n-clx-ndrpdr"
          - "last-failed-tests-trex-2n-skx-ndrpdr"
        urls:
          - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-3n-alt"
          - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-2n-icx"
          - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-3n-icx"
          - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-2n-skx"
          - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-3n-skx"
          - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-2n-clx"
          - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-2n-zn2"
          - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-3n-tsh"
          - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-2n-tx2"
          - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-2n-dnv"
          - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-3n-dnv"
          - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-weekly-master-2n-aws"
          - "https://jenkins.fd.io/view/csit/job/csit-dpdk-perf-mrr-weekly-master-2n-skx"
          - "https://jenkins.fd.io/view/csit/job/csit-dpdk-perf-mrr-weekly-master-3n-skx"
          - "https://jenkins.fd.io/view/csit/job/csit-dpdk-perf-mrr-weekly-master-2n-clx"
          - "https://jenkins.fd.io/view/csit/job/csit-dpdk-perf-mrr-weekly-master-3n-tsh"
          - "https://jenkins.fd.io/view/csit/job/csit-dpdk-perf-mrr-weekly-master-2n-tx2"
          - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-ndrpdr-weekly-master-2n-skx"
          - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-ndrpdr-weekly-master-3n-skx"
          - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-ndrpdr-weekly-master-2n-clx"
          - "https://jenkins.fd.io/view/csit/job/csit-trex-perf-ndrpdr-weekly-master-2n-skx"
        url-details: "https://s3-docs.fd.io/csit/master/trending/introduction/failures.html"

    configurations:
      # Configuration of the email notifications.
      email:
        # SMTP server
        server: "localhost"
        # List of recipients.
        address-to:
        - "csit-report@lists.fd.io"
        # Sender
        address-from: "testuser@testserver.com"

      # Configuration of notifications sent by Jenkins.
      jenkins:
        # The directory in the workspace where the generated data is stored and
        # then read by Jenkins job.
        output-dir: "_build/_static/vpp"
        # The name of the output files. ASCII text and HTML formats are
        # generated.
        output-file: "trending-failed-tests"
        # If defined, all output files are zipped into this file.
        zip-output: "failed-tests.tar.gz"

################################################################################
###                               S T A T I C                                ###
################################################################################

- type: "static"
  src-path: "{DIR[RST]}"
  dst-path: "{DIR[WORKING,SRC]}"

################################################################################
###                               O U T P U T                                ###
################################################################################

- type: "output"
  arch-file-format:
    - ".gz"
    - ".zip"
  output: "trending"
  format:
    html:
    - full