Sha256: 1ee5ed5fa8ec117b66eebcb9bcfd6392eabdfc2e27fd322b48bcdde38f4f63b0

Contents?: true

Size: 1.2 KB

Versions: 5

Compression:

Stored size: 1.2 KB

Contents

Feature: The vswitch DSL directive.
  @sudo
  Scenario: phut run with "vswitch { dpid STRING }"
    Given a file named "network.conf" with:
    """
    vswitch { dpid '0xabc' }
    """
    When I do phut run "network.conf"
    Then a vswitch named "0xabc" launches

  @sudo
  Scenario: phut run with "vswitch { dpid NUMBER }"
    Given a file named "network.conf" with:
    """
    vswitch { dpid 0xabc }
    """
    When I do phut run "network.conf"
    Then a vswitch named "0xabc" launches

  @sudo
  Scenario: phut run with "vswitch { datapath_id STRING }"
    Given a file named "network.conf" with:
    """
    vswitch { datapath_id '0xabc' }
    """
    When I do phut run "network.conf"
    Then a vswitch named "0xabc" launches

  @sudo
  Scenario: phut run with "vswitch { datapath_id NUMBER }"
    Given a file named "network.conf" with:
    """
    vswitch { datapath_id 0xabc }
    """
    When I do phut run "network.conf"
    Then a vswitch named "0xabc" launches

  @sudo
  Scenario: phut run with "vswitch(alias) { ... }"
    Given a file named "network.conf" with:
    """
    vswitch('my_switch') { datapath_id '0xabc' }
    """
    When I do phut run "network.conf"
    Then a vswitch named "my_switch" launches

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
phut-0.2.4 features/dsl_vswitch.feature
phut-0.2.3 features/dsl_vswitch.feature
phut-0.2.2 features/dsl_vswitch.feature
phut-0.2.0 features/dsl_vswitch.feature
phut-0.1.0 features/dsl_vswitch.feature