code: def add_port_profile(self, profile_name, vlan_id, device_id):
          
          if not self.get_port_profile_for_vlan(vlan_id, device_id):
              port_profile = ucsm_model.PortProfile(profile_id=profile_name,
                                                    vlan_id=vlan_id,
                                                    device_id=device_id,
                                                    created_on_ucs=False)
              with self.session.begin(subtransactions=True):
                  self.session.add(port_profile)
              return port_profile
docs: Adds a port profile and its vlan_id to the table.