

def _parse_source_interface(self, config):
    ' Parses the conf block and returns the vxlan source-interface value\n\n        Parses the provided configuration block and returns the value of\n        vxlan source-interface.  If the value is not configured, this method\n        will return DEFAULT_SRC_INTF instead.\n\n        Args:\n            config (str): The Vxlan config block to scan\n\n        Return:\n            dict: A dict object intended to be merged into the resource dict\n        '
    match = re.search('vxlan source-interface ([^\\s]+)', config)
    value = (match.group(1) if match else config.DEFAULT_SRC_INTF)
    return dict(source_interface=value)

dataset/ETHPy150Open arista-eosplus/pyeapi/pyeapi/api/interfaces.py VxlanInterface._parse_source_interface/VarMisuse@37/205 `self`->`config`