RPDiep commented on issue #3648: Security Group: limit returns in 
get_bridge_physdev to 1
URL: https://github.com/apache/cloudstack/pull/3648#issuecomment-544865583
 
 
   @ustcweizhou 
   
   I'm sure this is something now on the hypervisor, but it appears that corner 
cases exist in which a second line appears. As we only need one result, I added 
the `| head -1` in this commit.
   
   Here's the output you requested (I added the vnet filter)
   ```
   root@n02:~# bridge -o link show | awk '/master cloudbr0 / && !/^[0-9]+: 
vnet/'
   7: bond0.701 state UP @bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 
master cloudbr0 state forwarding priority 32 cost 2 
   7: bond0.701 state UP @bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 
master cloudbr0 
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to