Sha256: 6dc52dcdc935020cac667fcc65d4f162e2b9639d02adf9ed7b3c09be8292246d

Contents?: true

Size: 1.74 KB

Versions: 10

Compression:

Stored size: 1.74 KB

Contents

Feature: packetin_filter help

  As a Trema user
  I want to see the help message of packetin_filter command
  So that I can learn how to use packetin_filter

  Scenario: packetin_filter --help
    When I try to run "./objects/packetin_filter/packetin_filter --help"
    Then the output should be:
      """
      OpenFlow Packet in Filter.
      Usage: packetin_filter [OPTION]... [PACKETIN-FILTER-RULE]...
      
        -n, --name=SERVICE_NAME     service name
        -d, --daemonize             run in the background
        -l, --logging_level=LEVEL   set logging level
        -h, --help                  display this help and exit
      
      PACKETIN-FILTER-RULE:
        match-type::destination-service-name
      
      match-type:
        lldp                        LLDP ethernet frame type and priority is 0x8000
        packet_in                   any packet and priority is zero
      
      destination-service-name      destination service name
      """

  Scenario: packetin_filter -h
    When I try to run "./objects/packetin_filter/packetin_filter -h"
    Then the output should be:
      """
      OpenFlow Packet in Filter.
      Usage: packetin_filter [OPTION]... [PACKETIN-FILTER-RULE]...
      
        -n, --name=SERVICE_NAME     service name
        -d, --daemonize             run in the background
        -l, --logging_level=LEVEL   set logging level
        -h, --help                  display this help and exit
      
      PACKETIN-FILTER-RULE:
        match-type::destination-service-name
      
      match-type:
        lldp                        LLDP ethernet frame type and priority is 0x8000
        packet_in                   any packet and priority is zero
      
      destination-service-name      destination service name
      """

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
trema-0.2.5 features/packetin_filter.feature
trema-0.2.4 features/packetin_filter.feature
trema-0.2.3 features/packetin_filter.feature
trema-0.2.2.1 features/packetin_filter.feature
trema-0.2.2 features/packetin_filter.feature
trema-0.2.1 features/packetin_filter.feature
trema-0.2.0 features/packetin_filter.feature
trema-0.1.3.2 features/packetin_filter.feature
trema-0.1.3.1 features/packetin_filter.feature
trema-0.1.3 features/packetin_filter.feature