#!/pkg/bin/ksh
# ---------------------------------------------------------------------
# show_tech_cef_helper
#
# Feb 2018, Yao Zhao
#
# Copyright (c) 2018 by cisco Systems, Inc.
# All rights reserved.
#--------------------------------------------------------------------

#helper to check whether cofo supported
cef_cofo_check()
{
    #current "show cef misc" on RP of NCS6K
    #PD doesn't support COFO yet, although LC does
    #if machine is x86_64 then it is treated as panini
    if [ "$platform" == "panini" -a "$check_platform_type" == "PANINI" ]; then
        CEF_COFO=1
    fi
}

#check whether this platform supports cofo
cef_cofo_check
