class cobra.model.dhcp.OptionPol¶
-
class
cobra.model.dhcp.
OptionPol
¶
The DHCP option policy, which defines lease duration, gateway routers, and other configuration parameters in what are called DHCP options. Every DHCP server must have one or more policies defined for it. The policies are especially useful if you have multiple scopes because you only need to define a policy once and apply it to the multiple scopes. You can define named policies with specific option definitions or you can use system defaults. Note that there are three types of policies—system default, named, and embedded policies: System default - Provides a single location for setting default values on certain options for all scopes. Use the system default policy to define standard DHCP options that have common values for all clients on all the networks that the DHCP server supports. Named - Policies you explicitly define by name. Named policies are usually named after their associated scope or client grouping. For example, they might be assigned options that are unique to a subnet, such as for its routers, and then be assigned to the appropriate scope. Network Registrar includes a policy named default when you install the DHCP server. The server assigns this policy to newly created scopes. You cannot delete this default policy. Embedded - A policy embedded in (and limited to) a named scope, client, or client-class. An embedded policy is implicitly created (or removed) when you add (or remove) the corresponding object, such as a scope. Embedded policy options have no default values and are initially undefined.
- Containers:
- Containment:
- Properties:
childAction : Delete or ignore. For internal use only.
- isNaming: False
- isCreateOnly: False
- isConfig: False
- isImplicit: True
descr : The DHCP option policy description. The description can be up to 128 alphanumeric characters.
- isNaming: False
- isCreateOnly: False
- isConfig: True
- isImplicit: False
dn : A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module.
- isNaming: False
- isCreateOnly: True
- isConfig: False
- isImplicit: True
lcOwn : Indicates how this object was created.
- isNaming: False
- isCreateOnly: False
- isConfig: False
- isImplicit: True
modTs : The time when this object was last modified.
- isNaming: False
- isCreateOnly: False
- isConfig: False
- isImplicit: True
name : The DHCP option policy name. This name can be up to 64 alphanumeric characters.
- isNaming: True
- isCreateOnly: True
- isConfig: True
- isImplicit: False
ownerKey : The key for enabling clients to own their data for entity correlation.
- isNaming: False
- isCreateOnly: False
- isConfig: True
- isImplicit: False
ownerTag : A tag for enabling clients to add their own data. For example, to indicate who created this object.
- isNaming: False
- isCreateOnly: False
- isConfig: True
- isImplicit: False
rn : Identifies an object from its siblings within the context of its parent object. The distinguished name contains a sequence of relative names.
- isNaming: False
- isCreateOnly: True
- isConfig: False
- isImplicit: True
status : The upgrade status. This property is for internal use only.
- isNaming: False
- isCreateOnly: False
- isConfig: False
- isImplicit: True
uid : A unique identifier for this object.
- isNaming: False
- isCreateOnly: False
- isConfig: False
- isImplicit: True