DHCP Option Data Class¶
-
class
bloxone.
DHCP_OPTION_DEFS
(cfg='vendor_dict.yaml')[source]¶ Class to load and handle DHCP Option Defs
-
dump_vendor_def
(vendor)[source]¶ Returns the vendor definition as a dict
Parameters: vendor (str) – Vendor Identifier Returns: dict containing vendor definition
-
included
(vendor)[source]¶ Check whether this vendor is configured
Parameters: vendor (str) – Vendor Identifier Returns bool
-
option_def
(vendor)[source]¶ Returns option definition as dict
Parameters: vendor (str) – Vendor Identifier Returns: Dict containing both parent and sub option definitions
-
parent_opt_def
(vendor)[source]¶ Returns parent-option definition as dict
Parameters: vendor (str) – Vendor Identifier Returns: dict containing parent option definition
-
sub_options
(vendor)[source]¶ Returns list of sub-option definitions
Parameters: vendor (str) – Vendor Identifier Returns: list of dict
-
vendor_description
(vendor)[source]¶ Get description of vendor
Parameters: vendor (str) – Vendor Identifier
-
vendor_keys
(vendor)[source]¶ Returns vendor top level keys
Parameters: vendor (str) – Vendor Identifier Returns: list of keys defined for a vendor
-