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.
Reviewed: https:/ /review. opencontrail. org/37218 github. com/Juniper/ contrail- controller/ commit/ fa6ff9987e618f9 9ab4c5e73044443 856eb41c26
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: master
commit fa6ff9987e618f9 9ab4c5e73044443 856eb41c26
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: information which describes
1. binding:profile contains local_link_
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: Id5452b1e24f83a 2a3140c21e51fd4 2f5454ef328