This module interacts with an ISC DHCP Server via OMAPI. server_ip and server_port params may be set in the minion config or pillar:
omapi.server_ip: 127.0.0.1
omapi.server_port: 7991
pypureomapi Python module
Add a host object for the given mac.
CLI Example:
salt dhcp-server omapi.add_host ab:ab:ab:ab:ab:ab name=host1
Add ddns-hostname and a fixed-ip statements:
salt dhcp-server omapi.add_host ab:ab:ab:ab:ab:ab name=host1 ip=10.1.1.1 ddns=true
Delete the host with the given mac or name.
CLI Examples:
salt dhcp-server omapi.delete_host name=host1
salt dhcp-server omapi.delete_host mac=ab:ab:ab:ab:ab:ab
Generated on October 23, 2024 at 09:02:06 UTC.
You are viewing docs for the latest stable release, 3007.1. Switch to docs for the previous stable release, 3006.9, or to a recent doc build from the master branch.
© 2024 VMware, Inc. | Privacy Policy