forked from ManageIQ/manageiq
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OpenStack Service Nova Scheduling Status
Adds scheduling_status field for SystemService model. Adds set of methods in Host::Operations to enable and disable scheduling for Nova Compute service. Adds system_services to Openstack::CloudManager::RefreshParser with modification of save_system_services_inventory in EmsRefresh::SaveInventory - this is ugly but needed to bridge over a fact that data are coming from Cloud refresh but needed to be stored with Infra's Host's SystemServices. Modifies spec for Openstack Infra Refresher to include Infra + Cloud situation - these tests different number of records in DB after refresh of both Infra and Cloud is done. Updates VCR Cassettes to reflect refresh call to get Openstack Services information.
- Loading branch information
Petr Blaho
committed
Apr 8, 2016
1 parent
3468f11
commit 76376b9
Showing
10 changed files
with
43,208 additions
and
10,292 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
5 changes: 5 additions & 0 deletions
5
db/migrate/20160122143711_add_scheduling_status_to_system_services.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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
class AddSchedulingStatusToSystemServices < ActiveRecord::Migration | ||
def change | ||
add_column :system_services, :scheduling_status, :string | ||
end | ||
end |
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
Oops, something went wrong.