question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Reference a group of gateways through which a device can send messages

See original GitHub issue

Since https://github.com/eclipse/hono/issues/926 it is possible to configure multiple gateways for a specific device. However, in some cases a group of devices are located on the same spot and can communicate through the same group of gateways. Therefore it would be useful to reference the groupid (of gateways) instead of specifying the same list over and over for each device. By doing this, a change in the group is automatically persisted to all devices. Ultimately we could have group of groups. When certain devices are allowed to roam between different groups of gateways. Currently we have some kind of this:

{
    "device-id": 4711,
    "via" : 
        [
            "gw-1",
            "gw-2",
            "gw-3"
        ]
}
{
    "device-id": 4712,
    "via" : 
        [
            "gw-1",
            "gw-2",
            "gw-3"
        ]
}

This might become:

{
    "device-id": 4711,
    "via" : 
        [
            "gw-group1"
        ]
}


{
    "device-id": 4712,
    "via" : 
        [
            "gw-group1"
        ]
}

{
    "gateway-group-id": "gw-group1",
    "gateways": [
        "gw-1"
    ]
    "gateway-groups": [
        "gw-group2"
    ]
}

{
    "gateway-group-id": "gw-group2",
    "gateways": [
        "gw-2",
        "gw-3"
    ]
    "gateway-groups": [
    ]
}

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
BobClaerhoutcommented, Feb 28, 2019

@sophokles73 of course it is already an improvement when we can define a gateway group and refer to it instead of the current list. It might be better to split this up and reconsider the group of groups later on. We have a future use case which might need this functionality. However, it has a lot of other challenges as well since the devices might be roaming over tenants as well…

0reactions
BobClaerhoutcommented, Feb 24, 2020

@BobClaerhout

Just had one remark about the documentation.

Which is? where can I find it? Does it prevent this issue from being closed? If not, can you close it?

On the PR. I think we close this. It’s just a details.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is a Gateway? Definition from WhatIs.com - TechTarget
Gateways serve as an entry and exit point for a network as all data must pass through or communicate with the gateway prior...
Read more >
Gateway (telecommunications) - Wikipedia
A gateway is a piece of networking hardware or software used in telecommunications networks that allows data to flow from one discrete network...
Read more >
iotwireless — AWS CLI 1.27.27 Command Reference
Using the API, you can perform create, read, update, and delete operations for your wireless devices, gateways, destinations, and profiles. After onboarding ...
Read more >
What is a Gateway and What Does It Do?
The gateway gives us entry into different networks so we can send email, look at Web pages, buy things online, and more.
Read more >
Network Devices (Hub, Repeater, Bridge, Switch, Router ...
They work as messenger agents that take data from one system, interpret it, and transfer it to another system. Gateways are also called...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found