Changeset 13906 in genesis


Ignore:
Timestamp:
Jun 4, 2017, 7:09:02 PM (8 years ago)
Author:
rick
Message:

Support for UniFi discovery

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gformat.py

    r13898 r13906  
    530530log-facility local7;
    531531
     532# UniFi Discovery Support
     533option space ubnt;
     534option ubnt.unifi-address code 1 = ip-address;
     535#
     536class "ubnt" {
     537        match if substring (option vendor-class-identifier, 0, 4) = "ubnt";
     538        option vendor-class-identifier "ubnt";
     539        vendor-option-space ubnt;
     540}
     541
    532542#
    533543# Interface definitions
     
    599609        option routers %(autogen_addr)s;
    600610        option domain-name-servers %(autogen_dns_servers)s;
    601 
     611        option ubnt.unifi-address 172.17.107.10;
    602612      }
    603613      """ % datadump[iface_key]))
Note: See TracChangeset for help on using the changeset viewer.