'add a port object to the ports list'

def add_ports(self, inc_ports):

    if (not isinstance(inc_ports, list)):
        inc_ports = [inc_ports]
    ports = self.get_ports()
    if (not ports):
        self.put(Service.port_path, inc_ports)
    else:
        ports.extend(inc_ports)
    return True
