Comment 32 for bug 1719268

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/37218
Committed: http://github.com/Juniper/contrail-controller/commit/fa6ff9987e618f99ab4c5e73044443856eb41c26
Submitter: Zuul (<email address hidden>)
Branch: master

commit fa6ff9987e618f99ab4c5e73044443856eb41c26
Author: Vasyl Saienko <email address hidden>
Date: Mon Nov 6 19:49:55 2017 +0200

Update is_port_bound condition

There is a difference between baremetal and non baremetal ports.

Baremetal ports are considered as bound only when:
1. binding:profile contains local_link_information which describes
physical connection of port (switch, port, etc)
2. binding:host_id is set.

Non baremetal ports may be considered as bound when:
1. Port is linked to VM or Vrouter

This patch updates is_port_bound logic accordingly.

Closes-Bug: 1719268

Change-Id: Id5452b1e24f83a2a3140c21e51fd42f5454ef328