-
Notifications
You must be signed in to change notification settings - Fork 793
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure Discovery Server using names [12349] #2140
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Windows is issuing a warning due to the getenv
method that has to be removed. However, there are two tests related to this PR that are failing in Windows:
LocatorDNSTests.resolve_name
LocatorDNSTests.dns_locator
This tests have failed in today's nightly, even though they did not failed in #2061. This is related to the known hosts in the testing machines, and has anything to do with the tests of the implementation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM if the CI does not give any unexpected failure.
@richiprosima please test windows |
Signed-off-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com>
Signed-off-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com>
Signed-off-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com>
Signed-off-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com>
Signed-off-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com>
Signed-off-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com>
Signed-off-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com>
30c502e
to
460f8e3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really from your PR but I suggest fixing these typos in this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
369998d
to
1cc6e32
Compare
Signed-off-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com>
1cc6e32
to
9434449
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* Refs 12349: Use cross-platform get_env Signed-off-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com> * Refs 12349: Specify locators as DNS in fastdds CLI Signed-off-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com> * Refs 12349: Specify locators as DNS in environment variable Signed-off-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com> * Refs 12349: Allow names in locators using XML Signed-off-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com> * Refs 12349: Fix ServerClientEnvironmentSetUp test Signed-off-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com> * Refs 12349: Apply suggestions Signed-off-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com> * Refs 12349: Update fds help Signed-off-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com> * Refs 12349: Apply suggestions Signed-off-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com> Signed-off-by: Samuel Wilhelmsson <samuel@halodi.com>
This PR allows configuring both Discovery Servers and Clients specifying names instead of IPv4 addresses (port is still required). If a name is specified, the DNS is queried for IPv4 addresses, which are in turn used to configure the Server and Client.