You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by bhaisaab <gi...@git.apache.org> on 2015/08/19 12:13:57 UTC

[GitHub] cloudstack pull request: CLOUDSTACK-8749: KVM - cleanup linklocal ...

GitHub user bhaisaab opened a pull request:

    https://github.com/apache/cloudstack/pull/718

    CLOUDSTACK-8749: KVM - cleanup linklocal interface based on names

    This tries to avoid cleaning by a device name.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/shapeblue/cloudstack kvm-linklocal-cleanup

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/718.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #718
    
----
commit ee5638e460c3a6437d5f26764b4c6ec4226652c5
Author: Rohit Yadav <ro...@shapeblue.com>
Date:   2015-08-19T10:08:31Z

    CLOUDSTACK-8749: KVM - cleanup linklocal interface based on names
    
    This tries to avoid cleaning by a device name.
    
    Signed-off-by: Rohit Yadav <ro...@shapeblue.com>

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: CLOUDSTACK-8749: KVM - cleanup linklocal ...

Posted by remibergsma <gi...@git.apache.org>.
Github user remibergsma commented on the pull request:

    https://github.com/apache/cloudstack/pull/718#issuecomment-132639320
  
    LGTM


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: CLOUDSTACK-8749: KVM - cleanup linklocal ...

Posted by bhaisaab <gi...@git.apache.org>.
Github user bhaisaab commented on the pull request:

    https://github.com/apache/cloudstack/pull/718#issuecomment-132667999
  
    @remibergsma thanks, done.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: CLOUDSTACK-8749: KVM - cleanup linklocal ...

Posted by milamberspace <gi...@git.apache.org>.
Github user milamberspace commented on the pull request:

    https://github.com/apache/cloudstack/pull/718#issuecomment-132642477
  
    LGTM


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: CLOUDSTACK-8749: KVM - cleanup linklocal ...

Posted by jburwell <gi...@git.apache.org>.
Github user jburwell commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/718#discussion_r37435429
  
    --- Diff: plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/BridgeVifDriver.java ---
    @@ -287,7 +287,7 @@ private void deleteExitingLinkLocalRouteTable(String linkLocalBr) {
                 for (String line : lines) {
                     String[] tokens = line.split(" ");
                     if (!tokens[2].equalsIgnoreCase(linkLocalBr)) {
    --- End diff --
    
    Consider the following as a bit of extra safety in the event of malformed input beginning at line 289:
    
    ```
    if (tokens != null && tokens.length < 2) {
       continue;
    }
    
    final String device = tokens[2];
    if (!Strings.isNullOrEmpty(device) &&
        !device.equalsIgnoreCase(linkLocalBr)) {
    
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: CLOUDSTACK-8749: KVM - cleanup linklocal ...

Posted by remibergsma <gi...@git.apache.org>.
Github user remibergsma commented on the pull request:

    https://github.com/apache/cloudstack/pull/718#issuecomment-132644284
  
    @bhaisaab Let's make sure this ends up in master as well!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: CLOUDSTACK-8749: KVM - cleanup linklocal ...

Posted by bhaisaab <gi...@git.apache.org>.
Github user bhaisaab commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/718#discussion_r37437656
  
    --- Diff: plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/BridgeVifDriver.java ---
    @@ -287,7 +287,7 @@ private void deleteExitingLinkLocalRouteTable(String linkLocalBr) {
                 for (String line : lines) {
                     String[] tokens = line.split(" ");
                     if (!tokens[2].equalsIgnoreCase(linkLocalBr)) {
    --- End diff --
    
    For this PR we cannot make any changes now that it is merged already; perhaps send a new PR or I can pick it up later.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: CLOUDSTACK-8749: KVM - cleanup linklocal ...

Posted by bhaisaab <gi...@git.apache.org>.
Github user bhaisaab closed the pull request at:

    https://github.com/apache/cloudstack/pull/718


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---