Sha256: 98a3faeede9be0a94b38d3799894471c440a30b33a24c5f322d8b4ef8a5097a9

Contents?: true

Size: 1.25 KB

Versions: 4

Compression:

Stored size: 1.25 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" should be running

  @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" should be running

  @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" should be running

  @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" should be running

  @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" should be running

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
phut-0.5.0 features/dsl_vswitch.feature
phut-0.4.0 features/dsl_vswitch.feature
phut-0.3.1 features/dsl_vswitch.feature
phut-0.3.0 features/dsl_vswitch.feature