Skip to content

dhcp reservation creation fails when using dashed mac address #13

Description

@KrisSaxton

When run via salt:

opt/pkg/salt/bin/salt -c /opt/pkg/salt/etc/master 'dhcp01.aethernet.local' dhcp.reservation_create freesme-231 01-02-00-02-31-00-00 10.0.16.98
{'dhcp01.aethernet.local': {'count': 1,
                            'data': [['cn=freesme-231,cn=group1,cn=dhcp01-config,ou=dhcp,ou=services,o=aethernet,c=gb',
                                      {'cn': ['freesme-231'],
                                       'dhcpHWAddress': ['ethernet -34'],
                                       'dhcpOption': ['host-name "freesme-231"'],
                                       'dhcpStatements': ['fixed-address 10.0.16.98'],
                                       'objectClass': ['top',
                                                       'dhcpHost',
                                                       'dhcpOptions']}]],
                            'exit_code': 0,
                            'msg': 'Found spoke.lib.dhcp:',
                            'type': 'spoke.lib.dhcp'}}

dhcpHWAddress has value ethernet -34 instead of mac address.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions