-
Notifications
You must be signed in to change notification settings - Fork 1
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
Ks/container indications #1305
Ks/container indications #1305
Conversation
On the discussion: Given that we have quite a number of issues open for 1.3.0, I suggest backporting this whole PR. If you agree, please rebase the PR and squash the 2 commits into one. Unless you want to split it into multiple PRs. Also, the PR has "under work" set. If it is ready for review, please set the "review needed" label. It is still under work for the moment since I am going through the code to confirm that the default for bind-addr is really correct (WBEMListener.host="") since that is only documented in examples in BaseHTTP class. |
981c843
to
9e712e9
Compare
7c356ed
to
f5252ed
Compare
Updated to commitPR. My only issue with rollback is that we are actually adding a parameter to the command line that this something we do not normally do in a minor release. PRO:
CON:
I will go either way with respect to the rollback of this PR. The alternative is to break it into two and commit only the bug fix component. That is only two lines of code change so not a big issue |
We decided to not roll it back because it goes beyond a pure bug fix. |
f5252ed
to
c58cc3d
Compare
c58cc3d
to
275889e
Compare
275889e
to
eab29a7
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.
Approved, but please resolve the merge conflict.
c3e2bec
to
1c2fac9
Compare
This change: 1. Removes the code that forces the WBEMListener host parameter to be local host. 2. Adds an option to the start and run commands (--bind-addr, -b) that allows the user to set a particular host name or IP address as the WBEMListener host parameter with the default of "" for the parameter. This allows the user to specify a specific host name or IP address as the host parameter which is really the network interface to which the listener binds. In binding to a particular host or IP address, the listener will only receive indications from that network interface on the system or possibly even only from that specific host/IP address depending on the OS. 3. Extends the tests for the new parameter and charactistics 4. Modifies the documentation to include the new options.
1c2fac9
to
fa9d973
Compare
remarked review needed just to catch your attention. If you approve, ready for commit except issue with Python 2.7 test and pywbemcli does pass all those tests. |
Waiting on PR #1313
See commit message for details:
Fixes issue with pywbemlistener being bound to only "localhost" and adds an option to pywbemlistener start and run to allow the user to define the bind address for each listener created with the default value being 0.0.0.0 for which the listener will receive indications from any network interface and any host/ip address.
Adds new option to pywbemlistener test to define a host name/ip address to which indications will be sent rather than just sending them to localhost.