60 uris = [
"pcb:/tmp/test.sock"];
61 backends = [
"/usr/bin/mods/amxb/mod-amxb-pcb.so"];
73 bool WolSupport =
false;
76 counted with InterfaceNumberOfEntries;
80 on action validate call check_enum [
"Up",
"Down",
"Unknown",
"Dormant",
"NotPresent",
"LowerLayerDown",
"Error"];
95 %read-only csv_string ProtocolVersionsSupported =
"3.1,3.1.1,5.0";
96 %read-only csv_string TransportProtocolSupported =
"TCP/IP,TLS,WebSocket";
100 counted with ClientNumberOfEntries;
102 %unique %key
string Alias;
105 %read-only
string Status =
"Disabled" {
106 on action validate call check_enum
107 [
"Disabled",
"Connecting",
"Connected",
108 "Error_Misconfigured",
"Error_BrokerUnreachable",
111 string BrokerAddress;
112 uint32 BrokerPort = 1883;
113 string TransportProtocol =
"TCP/IP";
114 bool CleanSession =
true;
115 bool CleanStart =
true;
116 uint32 KeepAliveTime = 60;
117 string ClientId =
"";
123 object Device.Ethernet.Interface {
124 instance add (0,
"") {
125 parameter Status =
"Up";
127 instance add (0,
"") {
128 parameter Status =
"Down";
130 instance add (0,
"") {
131 parameter Enable =
false;
132 parameter Status =
"NotPresent";
134 instance add (0,
"") {
135 parameter Enable =
false;
136 parameter Status =
"Error";
138 instance add (0,
"") {
139 parameter Status =
"Dormant";
146 instance add(0,
"cpe-mybroker") {
147 parameter Name =
"MyBroker";
148 parameter BrokerAddress =
"www.mybroker.com";
149 parameter ClientId =
"test";
151 instance add(0,
"cpe-hivemq") {
152 parameter Name =
"HiveMQ";
153 parameter BrokerAddress =
"www.hivemq.com";
154 parameter ClientId =
"test-hivemq";