code: def _flat_vports(self, connection_port):
          
          vports = []
          for vport in connection_port.virtual_ports:
              self._set_child_props(connection_port, vport)
              vports.append(vport)
          return vports
docs: Flat the virtual ports.