Sha256: a5a10db05c7afdfdee09f810cb80c2629d8095f9f91689018f8268a4c7e4cb22
Contents?: true
Size: 890 Bytes
Versions: 23
Compression:
Stored size: 890 Bytes
Contents
module OpsManagerUiDrivers module Version17 module BoshProductSections class Subnet FLASH_MESSAGE_CLASS = '.flash-message'.freeze FLASH_MESSAGE_ERRORS = '.flash-message.error ul.message li'.freeze def initialize(browser:, network_form:) @browser = browser @bosh_product_form_section = BoshProductFormSection.new(@browser, "#{network_form.field_prefix}[subnets][0]") end def add_subnet(iaas_identifier:, subnet:, dns:, gateway:, reserved_ip_ranges:) @bosh_product_form_section.set_fields( 'iaas_identifier' => iaas_identifier, 'cidr' => subnet, 'dns' => dns, 'gateway' => gateway, 'reserved_ip_ranges' => reserved_ip_ranges, ) @bosh_product_form_section.select_all_az_references_on_page end end end end end
Version data entries
23 entries across 23 versions & 1 rubygems