66 lines
2.5 KiB
Mathematica
66 lines
2.5 KiB
Mathematica
/* 00comp_ipnet_mpls.cdf - IPNet MPLS configuration file */
|
|
|
|
/*
|
|
* Copyright (c) 2006-2007 Wind River Systems, Inc.
|
|
*
|
|
* The right to copy, distribute or otherwise make use of this software
|
|
* may be licensed only pursuant to the terms of an applicable Wind River
|
|
* license agreement. No license to Wind River intellectual property rights
|
|
* is granted herein. All rights not licensed by Wind River are reserved
|
|
* by Wind River.
|
|
*/
|
|
|
|
/*
|
|
modification history
|
|
--------------------
|
|
01e,19sep07,rme Added missing backslash
|
|
01d,08jan07,kch Fixed INCLUDE_IPMPLS_TUNNEL dependencies.
|
|
01c,14dec06,kch Replaced MPLS_FWCONF_CMD_LIST with IPMPLS_FWCONF_SYSVAR.
|
|
01b,27sep06,kch Added MPLS configuration parameters.
|
|
01a,22sep06,kch created.
|
|
*/
|
|
|
|
#ifdef _WRS_CONFIG_COMPONENT_IPMPLS
|
|
|
|
Component INCLUDE_IPMPLS_TUNNEL {
|
|
NAME MPLS Tunnel Interface support
|
|
SYNOPSIS MPLS Tunnel Interface support.
|
|
MODULES ipnet_mpls.o
|
|
LINK_SYMS ipcom_mpls_ioevent
|
|
REQUIRES INCLUDE_IPNET
|
|
_CHILDREN FOLDER_MPLS
|
|
}
|
|
|
|
Component INCLUDE_IPMPLS {
|
|
NAME MPLS
|
|
SYNOPSIS MPLS
|
|
MODULES ipmpls.o
|
|
LINK_SYMS ipmpls_create
|
|
REQUIRES INCLUDE_IPMPLS_TUNNEL INCLUDE_IPCOM_SHELL_CMD
|
|
CONFIGLETTES ipmpls_config.c
|
|
CFG_PARAMS IPMPLS_FWCONF_SYSVAR
|
|
}
|
|
|
|
/******************** Configuration Parameters *****************************/
|
|
|
|
/* INCLUDE_IPMPLS configuration parameters */
|
|
Parameter IPMPLS_FWCONF_SYSVAR {
|
|
NAME MPLS network pre-configuration
|
|
SYNOPSIS The MPLS network pre-configuration array is used to \
|
|
statically configure MPLS forwarding with an initial setup \
|
|
when IPMPLS is initialized. Each system variable in this \
|
|
array must be named according to the rule \
|
|
ipmpls.fwconf.<index>, where <index> is a unique line \
|
|
indicator. The value of each system variable must be composed \
|
|
of the IPMPLS shell command mplsctl together with the \
|
|
flags/paramters that normally are invoked from the IPCOM \
|
|
shell. The commands are executed in the order they are \
|
|
defined. It is important that the "silent" flag "-s" is \
|
|
included on each statement. See the ipmpls_fwdconf_sysvar \
|
|
Ipcom_sysvar array in the ipmpls_config.c configlette for \
|
|
the example usage.
|
|
TYPE void *
|
|
DEFAULT NULL
|
|
}
|
|
|
|
#endif /* _WRS_CONFIG_COMPONENT_IPMPLS */ |