Github user wido commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/784#discussion_r39018553
  
    --- Diff: systemvm/patches/debian/config/opt/cloud/bin/cs/CsAddress.py ---
    @@ -95,9 +95,17 @@ def get_control_if(self):
                     return ip
             return None
     
    +    def check_if_link_up(self,dev):
    +        cmd="ip link show dev %s | tr '\n' ' ' | cut -d ' ' -f 9"%dev
    --- End diff --
    
    Indeed and also use the -o flag for 'ip':
    
     ip -o link show dev <dev>
    
    Then split the string using Python.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to