- def _validate_input_new(self, indata, force=False):
- # transform netslice-subnet:nsd-ref to string
- if indata.get("netslice-subnet"):
- for nsd_ref in indata["netslice-subnet"]:
- if "nsd-ref" in nsd_ref:
- nsd_ref["nsd-ref"] = str(nsd_ref["nsd-ref"])
-
- # TODO validate with pyangbind, serialize
- return indata
-