Class: DhcpsApi::Server
- Inherits:
-
Object
- Object
- DhcpsApi::Server
- Includes:
- Class, Client, CommonMethods, Misc, Option, OptionValue, Reservation, RubyStructAttrHelpers, Subnet, SubnetElement
- Defined in:
- lib/dhcpsapi/server.rb
Constant Summary collapse
- DHCPS_WIN2008_API =
Object.new
- DHCPS_WIN2012_API =
Object.new
- DHCPS_NONE =
Object.new
Instance Attribute Summary collapse
-
#server_ip_address ⇒ Object
readonly
Returns the value of attribute server_ip_address.
Instance Method Summary collapse
-
#initialize(server_ip_address) ⇒ Server
constructor
A new instance of Server.
Methods included from SubnetElement
#add_subnet_element, #delete_subnet_element, #dhcp_enum_subnet_elements_v4, #list_subnet_elements
Methods included from Subnet
#create_subnet, #create_subnet_ip_range, #delete_subnet, #delete_subnet_ip_range, #get_subnet, #list_subnets
Methods included from CommonMethods
#empty_response, #free_memory, #is_error?, #retrieve_items
Methods included from Reservation
#create_reservation, #create_reservation_subnet_element, #delete_reservation, #dhcp_v4_enum_subnet_reservations, #list_reservations, #set_reservation_dns_config
Methods included from OptionValue
#get_multicast_option_value, #get_option_value, #get_reserved_option_value, #get_subnet_option_value, #list_multicast_option_values, #list_reserved_option_values, #list_subnet_option_values, #list_values, #remove_multicast_option_value, #remove_option_value, #remove_reserved_option_value, #remove_subnet_option_value, #set_multicast_option_value, #set_option_value, #set_reserved_option_value, #set_subnet_option_value
Methods included from Option
#create_option, #delete_option, #dhcp_enum_options_v5, #get_option, #list_options
Methods included from Misc
Methods included from Client
#create_client, #delete_client_by_ip_address, #delete_client_by_mac_address, #delete_client_by_name, #get_client_by_ip_address, #get_client_by_mac_address, #get_client_by_name, #get_client_subnet, #list_clients, #list_clients_2008, #modify_client
Methods included from Class
#create_class, #delete_class, #list_classes
Methods included from RubyStructAttrHelpers
#dhcp_client_uid_to_mac, #ip_to_uint32, #mac_address_to_array_of_uint8, #to_string, #to_wchar_string, #uint32_to_ip, #wchar_string_length
Constructor Details
#initialize(server_ip_address) ⇒ Server
Returns a new instance of Server.
21 22 23 |
# File 'lib/dhcpsapi/server.rb', line 21 def initialize(server_ip_address) @server_ip_address = server_ip_address end |
Instance Attribute Details
#server_ip_address ⇒ Object (readonly)
Returns the value of attribute server_ip_address.
19 20 21 |
# File 'lib/dhcpsapi/server.rb', line 19 def server_ip_address @server_ip_address end |