EduFrazao commented on issue #13519:
URL: https://github.com/apache/cloudstack/issues/13519#issuecomment-4892646673

   @DaanHoogland @weizhouapache 
   Its better to send a PR?
   If you guys thinks that this solution fits, I can enhance it, trying all 
management servers in case of error.
   I was also thinking in support the definition of the private IP directly in 
agent.properties.
   If it exists, we can get the private interface with this IP directly.
   So we will have three ways of discovering it, with this precedence:
   
   1. When explicit defined in config
   2. Collected from the declared private interface (if the private interface 
have an ip directly on it (more common))
   3. From the routing table (this implementation)
   4. Fallback to the current method (taking the first valid IP iterating all 
interfaces).


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to