[globalcache] Add representation property (#9471)
Signed-off-by: Mark Hilbush <mark@hilbush.com>pull/9484/head
parent
393ae49dc4
commit
e648fc6c8c
|
@ -163,6 +163,7 @@ public class GlobalCacheDiscoveryService extends AbstractDiscoveryService {
|
|||
logger.trace("Creating discovery result for: {}, type={}, IP={}", uid,
|
||||
gcMulticastListener.getModel(), gcMulticastListener.getIPAddress());
|
||||
thingDiscovered(DiscoveryResultBuilder.create(uid).withProperties(properties)
|
||||
.withRepresentationProperty(THING_PROPERTY_MAC)
|
||||
.withLabel(gcMulticastListener.getVendor() + " " + gcMulticastListener.getModel()).build());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
<channel-group id="ir-m2" typeId="ir-m2"/>
|
||||
</channel-groups>
|
||||
|
||||
<representation-property>macAddress</representation-property>
|
||||
|
||||
<config-description>
|
||||
<parameter name="ipAddress" type="text" required="true">
|
||||
<label>Network Address</label>
|
||||
|
|
|
@ -18,6 +18,8 @@
|
|||
<channel-group id="ir-m5" typeId="ir-m5"/>
|
||||
</channel-groups>
|
||||
|
||||
<representation-property>macAddress</representation-property>
|
||||
|
||||
<config-description>
|
||||
<parameter name="ipAddress" type="text" required="true">
|
||||
<label>Network Address</label>
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
<channel-group id="cc-m1" typeId="cc-m1"/>
|
||||
</channel-groups>
|
||||
|
||||
<representation-property>macAddress</representation-property>
|
||||
|
||||
<config-description>
|
||||
<parameter name="ipAddress" type="text" required="true">
|
||||
<label>Network Address</label>
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
<channel-group id="cc-m1" typeId="cc-m1"/>
|
||||
</channel-groups>
|
||||
|
||||
<representation-property>macAddress</representation-property>
|
||||
|
||||
<config-description>
|
||||
<parameter name="ipAddress" type="text" required="true">
|
||||
<label>Network Address</label>
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
<channel-group id="ir-m1" typeId="ir-m1"/>
|
||||
</channel-groups>
|
||||
|
||||
<representation-property>macAddress</representation-property>
|
||||
|
||||
<config-description>
|
||||
<parameter name="ipAddress" type="text" required="true">
|
||||
<label>Network Address</label>
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
<channel-group id="sl-m1" typeId="sl-m1"/>
|
||||
</channel-groups>
|
||||
|
||||
<representation-property>macAddress</representation-property>
|
||||
|
||||
<config-description>
|
||||
<parameter name="ipAddress" type="text" required="true">
|
||||
<label>Network Address</label>
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
<channel-group id="ir-m1-c1" typeId="ir-m1-c1"/>
|
||||
</channel-groups>
|
||||
|
||||
<representation-property>macAddress</representation-property>
|
||||
|
||||
<config-description>
|
||||
<parameter name="ipAddress" type="text" required="true">
|
||||
<label>Network Address</label>
|
||||
|
|
Loading…
Reference in New Issue