- # xpath = ks_path.to_xpath(RwProjectYang.get_schema())
- # name = ManoProject.from_xpath(xpath, self._log)
- # if not name:
- # self._log.error("Did not find the project name in ks: {}".
- # format(xpath))
- # xact_info.respond_xpath(rwdts.XactRspCode.NACK)
- # return
-
- # if name != msg.name_ref:
- # self._log.error("The project name {} did not match the name {} in config".
- # format(name, msg.name_ref))
- # projects = scratch.setdefault('projects', {
- # 'create': [],
- # 'update': [],
- # 'delete': [],
- # })
-
- self._log.error("prepare msg type {}".format(type(msg)))
- name = msg.name_ref
+ xpath = ks_path.to_xpath(RwProjectManoYang.get_schema())
+ self._log.debug("Project xpath: {}".format(xpath))
+ name = ManoProject.from_xpath(xpath, self._log)