-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into api600_server_hardware
- Loading branch information
Showing
19 changed files
with
176 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
spec/integration/resource/api600/c7000/ethernet_network/create_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
require 'spec_helper' | ||
|
||
klass = OneviewSDK::API500::C7000::EthernetNetwork | ||
klass = OneviewSDK::API600::C7000::EthernetNetwork | ||
RSpec.describe klass, integration: true, type: CREATE, sequence: seq(klass) do | ||
include_examples 'EthernetNetworkCreateExample', 'integration api500 context' do | ||
let(:current_client) { $client_500 } | ||
include_examples 'EthernetNetworkCreateExample', 'integration api600 context' do | ||
let(:current_client) { $client_600 } | ||
end | ||
end |
6 changes: 3 additions & 3 deletions
6
spec/integration/resource/api600/c7000/ethernet_network/delete_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
require 'spec_helper' | ||
|
||
klass = OneviewSDK::API500::C7000::EthernetNetwork | ||
klass = OneviewSDK::API600::C7000::EthernetNetwork | ||
RSpec.describe klass, integration: true, type: DELETE, sequence: rseq(klass) do | ||
include_examples 'EthernetNetworkDeleteExample', 'integration api500 context' do | ||
let(:current_client) { $client_500 } | ||
include_examples 'EthernetNetworkDeleteExample', 'integration api600 context' do | ||
let(:current_client) { $client_600 } | ||
end | ||
end |
11 changes: 3 additions & 8 deletions
11
spec/integration/resource/api600/c7000/ethernet_network/update_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,7 @@ | ||
require 'spec_helper' | ||
|
||
RSpec.describe OneviewSDK::API500::C7000::EthernetNetwork, integration: true, type: UPDATE do | ||
include_examples 'EthernetNetworkUpdateExample', 'integration api500 context' do | ||
let(:current_client) { $client_500 } | ||
end | ||
|
||
include_examples 'ScopeHelperMethodsExample', OneviewSDK::API500::C7000::Scope do | ||
let(:current_client) { $client_500 } | ||
let(:item) { described_class.get_all(current_client).first } | ||
RSpec.describe OneviewSDK::API600::C7000::EthernetNetwork, integration: true, type: UPDATE do | ||
include_examples 'EthernetNetworkUpdateExample', 'integration api600 context' do | ||
let(:current_client) { $client_600 } | ||
end | ||
end |
6 changes: 3 additions & 3 deletions
6
spec/integration/resource/api600/synergy/ethernet_network/create_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
require 'spec_helper' | ||
|
||
klass = OneviewSDK::API500::Synergy::EthernetNetwork | ||
klass = OneviewSDK::API600::Synergy::EthernetNetwork | ||
RSpec.describe klass, integration: true, type: CREATE, sequence: seq(klass) do | ||
include_examples 'EthernetNetworkCreateExample', 'integration api500 context' do | ||
let(:current_client) { $client_500_synergy } | ||
include_examples 'EthernetNetworkCreateExample', 'integration api600 context' do | ||
let(:current_client) { $client_600_synergy } | ||
end | ||
end |
6 changes: 3 additions & 3 deletions
6
spec/integration/resource/api600/synergy/ethernet_network/delete_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
require 'spec_helper' | ||
|
||
klass = OneviewSDK::API500::Synergy::EthernetNetwork | ||
klass = OneviewSDK::API600::Synergy::EthernetNetwork | ||
RSpec.describe klass, integration: true, type: DELETE, sequence: rseq(klass) do | ||
include_examples 'EthernetNetworkDeleteExample', 'integration api500 context' do | ||
let(:current_client) { $client_500_synergy } | ||
include_examples 'EthernetNetworkDeleteExample', 'integration api600 context' do | ||
let(:current_client) { $client_600_synergy } | ||
end | ||
end |
11 changes: 3 additions & 8 deletions
11
spec/integration/resource/api600/synergy/ethernet_network/update_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,7 @@ | ||
require 'spec_helper' | ||
|
||
RSpec.describe OneviewSDK::API500::Synergy::EthernetNetwork, integration: true, type: UPDATE do | ||
include_examples 'EthernetNetworkUpdateExample', 'integration api500 context' do | ||
let(:current_client) { $client_500_synergy } | ||
end | ||
|
||
include_examples 'ScopeHelperMethodsExample', OneviewSDK::API500::Synergy::Scope do | ||
let(:current_client) { $client_500_synergy } | ||
let(:item) { described_class.get_all(current_client).first } | ||
RSpec.describe OneviewSDK::API600::Synergy::EthernetNetwork, integration: true, type: UPDATE do | ||
include_examples 'EthernetNetworkUpdateExample', 'integration api600 context' do | ||
let(:current_client) { $client_600_synergy } | ||
end | ||
end |
6 changes: 3 additions & 3 deletions
6
spec/integration/resource/api600/synergy/sas_interconnect/create_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
require 'spec_helper' | ||
|
||
klass = OneviewSDK::API500::Synergy::SASInterconnect | ||
klass = OneviewSDK::API600::Synergy::SASInterconnect | ||
RSpec.describe klass, integration: true, type: CREATE, sequence: seq(klass) do | ||
let(:current_client) { $client_500_synergy } | ||
include_examples 'SASInterconnectCreateExample', 'integration api500 context' | ||
let(:current_client) { $client_600_synergy } | ||
include_examples 'SASInterconnectCreateExample', 'integration api600 context' | ||
end |
6 changes: 3 additions & 3 deletions
6
spec/integration/resource/api600/synergy/sas_interconnect/delete_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
require 'spec_helper' | ||
|
||
klass = OneviewSDK::API500::Synergy::SASInterconnect | ||
klass = OneviewSDK::API600::Synergy::SASInterconnect | ||
RSpec.describe klass, integration: true, type: DELETE, sequence: rseq(klass) do | ||
let(:current_client) { $client_500_synergy } | ||
include_examples 'SASInterconnectDeleteExample', 'integration api500 context' | ||
let(:current_client) { $client_600_synergy } | ||
include_examples 'SASInterconnectDeleteExample', 'integration api600 context' | ||
end |
6 changes: 3 additions & 3 deletions
6
spec/integration/resource/api600/synergy/sas_interconnect/update_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
require 'spec_helper' | ||
|
||
klass = OneviewSDK::API500::Synergy::SASInterconnect | ||
klass = OneviewSDK::API600::Synergy::SASInterconnect | ||
RSpec.describe klass, integration: true, type: UPDATE do | ||
let(:current_client) { $client_500_synergy } | ||
include_examples 'SASInterconnectUpdateExample', 'integration api500 context' | ||
let(:current_client) { $client_600_synergy } | ||
include_examples 'SASInterconnectUpdateExample', 'integration api600 context' | ||
end |
Oops, something went wrong.