Sha256: ddcaaa66d5bb660640e0d7d1baa83623f5bbe43c663aa7f8a43686ddca984949

Contents?: true

Size: 840 Bytes

Versions: 5

Compression:

Stored size: 840 Bytes

Contents

require 'spec_helper'


describe "Chassis Config" do

  before :each do
    user ||= ENV["ipmiuser"] || "admin"
    pass ||= ENV["ipmipass"] || "password"
    host ||= ENV["ipmihost"] || "10.0.1.16"
    provider ||= ENV["ipmiprovider"] || "ipmitool"
    @conn = Rubyipmi.connect(user, pass, host, provider)

  end

  it "test to set booting from PXE" do
    expect(@conn.chassis.config.bootpxe).to eq(true)
  end

  it "test to set booting from Disk" do
      expect(@conn.chassis.config.bootdisk).to eq(true)
  end

  it "test to set booting from Cdrom" do
      expect(@conn.chassis.config.bootcdrom).to eq(true)
  end

  it "test to set booting from bios" do
      expect(@conn.chassis.config.bootbios).to eq(true)
  end

  it "test to set boot persistent value" do

  end

  it "test to checkout the entire chassis config" do

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rubyipmi-0.10.0 spec/integration/chassis_config_spec.rb
rubyipmi-0.9.3 spec/integration/chassis_config_spec.rb
rubyipmi-0.9.2 spec/integration/chassis_config_spec.rb
rubyipmi-0.9.1 spec/integration/chassis_config_spec.rb
rubyipmi-0.9.0 spec/integration/chassis_config_spec.rb