Sha256: 3b5366187cf2b855b0127e6634a55678dabeb113d6cb7c735ee1bda415413273

Contents?: true

Size: 275 Bytes

Versions: 319

Compression:

Stored size: 275 Bytes

Contents

class Specinfra::Command::Linux::Base::Bridge < Specinfra::Command::Base::Bridge
  class << self
    def check_exists(name)
      "ip link show #{name}"
    end

    def check_has_interface(name, interface)
      "brctl show #{name} | grep -o #{interface}"
    end
  end
end

Version data entries

319 entries across 319 versions & 3 rubygems

Version Path
specinfra-2.91.0 lib/specinfra/command/linux/base/bridge.rb
specinfra-2.90.1 lib/specinfra/command/linux/base/bridge.rb
specinfra-2.90.0 lib/specinfra/command/linux/base/bridge.rb
specinfra-2.89.0 lib/specinfra/command/linux/base/bridge.rb
specinfra-2.88.2 lib/specinfra/command/linux/base/bridge.rb
specinfra-2.88.1 lib/specinfra/command/linux/base/bridge.rb
specinfra-2.88.0 lib/specinfra/command/linux/base/bridge.rb
specinfra-2.87.2 lib/specinfra/command/linux/base/bridge.rb
specinfra-2.87.1 lib/specinfra/command/linux/base/bridge.rb
specinfra-2.87.0 lib/specinfra/command/linux/base/bridge.rb
specinfra-2.86.0 lib/specinfra/command/linux/base/bridge.rb
specinfra-2.85.1 lib/specinfra/command/linux/base/bridge.rb
specinfra-2.85.0 lib/specinfra/command/linux/base/bridge.rb
specinfra-2.84.1 lib/specinfra/command/linux/base/bridge.rb
specinfra-2.84.0 lib/specinfra/command/linux/base/bridge.rb
specinfra-2.83.4 lib/specinfra/command/linux/base/bridge.rb
specinfra-2.83.3 lib/specinfra/command/linux/base/bridge.rb
specinfra-2.83.2 lib/specinfra/command/linux/base/bridge.rb
specinfra-2.83.1 lib/specinfra/command/linux/base/bridge.rb
specinfra-2.83.0 lib/specinfra/command/linux/base/bridge.rb