Class: Specinfra::Command::Openbsd::Base::Bond
- Inherits:
-
Base::Bond
- Object
- Base
- Base::Bond
- Specinfra::Command::Openbsd::Base::Bond
- Defined in:
- lib/specinfra/command/openbsd/base/bond.rb
Class Method Summary collapse
Methods inherited from Base
Class Method Details
.check_exists(name) ⇒ Object
3 4 5 |
# File 'lib/specinfra/command/openbsd/base/bond.rb', line 3 def check_exists(name) "ifconfig #{name}" end |
.check_has_interface(name, interface) ⇒ Object
7 8 9 |
# File 'lib/specinfra/command/openbsd/base/bond.rb', line 7 def check_has_interface(name, interface) "ifconfig #{name} | grep -o #{interface}" end |