def _set_contn_src_dst(self, v, load=False):
    """
    Setter method for contn_src_dst, mapped from YANG variable /overlay_class_map/cmap_seq/match/contn_src_dst (container)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_contn_src_dst is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_contn_src_dst() directly.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=contn_src_dst.contn_src_dst, is_container='container', presence=False, yang_name="contn-src-dst", rest_name="", parent=self, choice=(u'overlay-match-ip', u'case-overlay-ip-src-dest'), path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'cli-compact-syntax': None, u'cli-drop-node-name': None, u'cli-flatten-container': None}}, namespace='urn:brocade.com:mgmt:brocade-overlay-policy', defining_module='brocade-overlay-policy', yang_type='container', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """contn_src_dst must be of a type compatible with container""",
          'defined-type': "container",
          'generated-type': """YANGDynClass(base=contn_src_dst.contn_src_dst, is_container='container', presence=False, yang_name="contn-src-dst", rest_name="", parent=self, choice=(u'overlay-match-ip', u'case-overlay-ip-src-dest'), path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'cli-compact-syntax': None, u'cli-drop-node-name': None, u'cli-flatten-container': None}}, namespace='urn:brocade.com:mgmt:brocade-overlay-policy', defining_module='brocade-overlay-policy', yang_type='container', is_config=True)""",
        })

    self.__contn_src_dst = t
    if hasattr(self, '_set'):
      self._set()