def add_node_to_service(self, service_name, sid, unit_id):
    cmd = ['/opt/nedge/neadm/neadm', 'service', 'add', service_name, sid]
    if (not self.is_node_exist(service_name, sid)):
        self.exec_cmd('add_node_to_service', cmd)
    else:
        print('\tadd_node_to_service:Node {0} already exist as service node'.format(sid))
    self.db.add(sid, unit_id, service_name)
def add_node_to_service(self, service_name, sid, unit_id):
    cmd = ['/opt/nedge/neadm/neadm', 'service', 'add', service_name, sid]
    if (not self.is_node_exist(service_name, sid)):
        self.exec_cmd('add_node_to_service', cmd)
    else:
        print('\tadd_node_to_service:Node {0} already exist as service node'.format(sid))
    self.db.add(sid, unit_id, service_name)