def METHOD_NAME(path):
    ''' Remove duplicated openconfig struture from path '''
    idx = 0
    cmp = re.split(r'(/openconfig-[^/:]+:)', path)
    for i, v in enumerate(cmp):
        if v.startswith('/openconfig-'):
            if idx:
                cmp[i] = '/'
            idx += 1
    return ''.join(cmp)