-
Notifications
You must be signed in to change notification settings - Fork 896
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13608 from mansam/porting-over-4899-ladislav
Advanced networking placement features and automate exposure
- Loading branch information
Showing
8 changed files
with
136 additions
and
5 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
7 changes: 7 additions & 0 deletions
7
...rvice_models/miq_ae_service_manageiq-providers-openstack-network_manager-cloud_network.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,4 +1,11 @@ | ||
module MiqAeMethodService | ||
class MiqAeServiceManageIQ_Providers_Openstack_NetworkManager_CloudNetwork < MiqAeServiceCloudNetwork | ||
expose :ip_address_left_count | ||
expose :ip_address_left_count_live | ||
expose :ip_address_total_count | ||
expose :ip_address_used_count | ||
expose :ip_address_used_count_live | ||
expose :ip_address_utilization | ||
expose :ip_address_utilization_live | ||
end | ||
end |
1 change: 1 addition & 0 deletions
1
...service_models/miq_ae_service_manageiq-providers-openstack-network_manager-floating_ip.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,4 +1,5 @@ | ||
module MiqAeMethodService | ||
class MiqAeServiceManageIQ_Providers_Openstack_NetworkManager_FloatingIp < MiqAeServiceFloatingIp | ||
expose :destroy | ||
end | ||
end |
4 changes: 3 additions & 1 deletion
4
lib/miq_automation_engine/service_models/miq_ae_service_network_port.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,10 @@ | ||
module MiqAeMethodService | ||
class MiqAeServiceNetworkPort < MiqAeServiceModelBase | ||
expose :ext_management_system, :association => true | ||
expose :cloud_tenant, :association => true | ||
expose :cloud_subnets, :association => true | ||
expose :device, :association => true | ||
expose :ext_management_system, :association => true | ||
expose :public_network, :association => true | ||
expose :public_networks, :association => true | ||
end | ||
end |
10 changes: 6 additions & 4 deletions
10
lib/miq_automation_engine/service_models/miq_ae_service_vm_cloud.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,16 +1,18 @@ | ||
module MiqAeMethodService | ||
class MiqAeServiceVmCloud < MiqAeServiceVm | ||
expose :availability_zone, :association => true | ||
expose :flavor, :association => true | ||
expose :cloud_network, :association => true | ||
expose :cloud_networks, :association => true | ||
expose :cloud_subnet, :association => true | ||
expose :cloud_subnets, :association => true | ||
expose :network_ports, :association => true | ||
expose :network_routers, :association => true | ||
expose :flavor, :association => true | ||
expose :floating_ip, :association => true | ||
expose :floating_ips, :association => true | ||
expose :security_groups, :association => true | ||
expose :key_pairs, :association => true | ||
expose :network_ports, :association => true | ||
expose :network_routers, :association => true | ||
expose :private_networks, :association => true | ||
expose :public_networks, :association => true | ||
expose :security_groups, :association => true | ||
end | ||
end |