![]() |
RDK Documentation (Open Sourced RDK Components)
|
Describe the details about TR-069 Device IP Interface APIs specifications.
Functions | |
int | hostIf_IPInterface::get_Interface_Enable (HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL) |
This function gets the status to enabled or disabled of an IP Interface. It provides the values such as 'true' or 'false' to Enable the status of IP interface. More... | |
int | hostIf_IPInterface::get_Interface_IPv4Enable (HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL) |
This function gets the status of the IPv4 stack attachment for an IP interface. It indicates whether or not this IP interface is attached to the IPv4 stack. If set to 'true', then this interface is attached to the IPv4 stack. If set to 'false', then this interface is detached from the IPv4 stack. More... | |
int | hostIf_IPInterface::get_Interface_ULAEnable (HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL) |
This function gets the status 'enabled' or 'disabled' of ULA(Unique local address) generation for an IP Interface. It indicates the status as 'true' or 'false' of the ULA generation and use this IP interface is enabled. Currently not implemented. More... | |
int | hostIf_IPInterface::get_Interface_Status (HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL) |
This function gets the IP interface Status. It provides the current operational state of the Interface. Possible state are Up, Down, Unknown, Dormant, NotPresent, LowerLayerDown Error (OPTIONAL). More... | |
int | hostIf_IPInterface::get_Interface_Alias (HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL) |
This function gets the instance handle for an IP Interface. It provides a non-volatile handle used to reference this IP interface instance. Alias provides a mechanism for an ACS to label this instance for future reference. Currently not implemented. More... | |
int | hostIf_IPInterface::get_Interface_Name (HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL) |
This function gets the IP Interface Name.It provides the textual name of the interface as assigned by the CPE(Customer Premises Equipment). More... | |
int | hostIf_IPInterface::get_Interface_LastChange (HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL) |
This function gets the last change of status time of the interface. It provides the accumulated time in seconds since the interface entered its current operational state. Currently not implemented. More... | |
int | hostIf_IPInterface::get_Interface_LowerLayers (HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL) |
Get IP Interface LowerLayers. More... | |
int | hostIf_IPInterface::get_Interface_Router (HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL) |
This function gets the Router instance that is associated with an IP Interface entry. It provides the Router instance that is associated with this IP Interface entry. Currently not implemented. More... | |
int | hostIf_IPInterface::get_Interface_Reset (HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL) |
Get IP Interface Reset status. More... | |
int | hostIf_IPInterface::get_Interface_MaxMTUSize (HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL) |
This function gets the IP Interface MaxMTUSize. It provides the maximum transmission unit (MTU), i.e. the largest allowed size of an IP packet (including IP headers, but excluding lower layer headers such as Ethernet, PPP, or PPPoE headers) that is allowed to be transmitted by or through this device. More... | |
int | hostIf_IPInterface::get_Interface_Type (HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL) |
This function gets the IP Interface Type. It provides the IP interface type. Possible values are Normal, Loopback, Tunnel, Tunnelled. More... | |
int | hostIf_IPInterface::get_Interface_Loopback (HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL) |
This function gets the IP interface loopback. It indicates whether or not the IP interface is a loopback interface by 'true' or 'false'. More... | |
int | hostIf_IPInterface::get_Interface_IPv4AddressNumberOfEntries (HOSTIF_MsgData_t *stMsgData) |
Get the IP Interface IPv4AddressNumberOfEntries. More... | |
int | hostIf_IPInterface::get_Interface_AutoIPEnable (HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL) |
Get the status (enabled/disabled) of Auto-IP on an IP Interface. More... | |
int | hostIf_IPInterface::set_Interface_Enable (HOSTIF_MsgData_t *stMsgData) |
Set the status (enabled/disabled) of IP Interface. More... | |
int | hostIf_IPInterface::set_Interface_IPv4Enable (HOSTIF_MsgData_t *stMsgData) |
Attach/Detach an IP interface to/from the IPv4 stack. More... | |
int | hostIf_IPInterface::set_Interface_ULAEnable (HOSTIF_MsgData_t *stMsgData) |
This function sets the status 'enabled' or 'disabled' of ULA(Unique Local Address) generation for an IP Interface. It controls whether or not ULAs are generated and used on this interface. Currently not implemented. More... | |
int | hostIf_IPInterface::set_Interface_Alias (HOSTIF_MsgData_t *stMsgData) |
This function sets a non-volatile handle used to reference this IP interface instance. Alias provides a mechanism for an ACS to label this instance for future reference. Currently not implemented. More... | |
int | hostIf_IPInterface::set_Interface_LowerLayers (HOSTIF_MsgData_t *stMsgData) |
This function sets the IP Interface LowerLayers. Given a comma-separated list (maximum length 1024) of strings, each list item being the path name of an interface object, this function MUST stack each item in the list immediately below this interface object. Currently not implemented. More... | |
int | hostIf_IPInterface::set_Interface_Router (HOSTIF_MsgData_t *stMsgData) |
This function sets the router instance that is associated with an IP Interface entry. Currently not implemented. More... | |
int | hostIf_IPInterface::set_Interface_Reset (HOSTIF_MsgData_t *stMsgData) |
This function sets the Reset flag to the requested value (normally 'true'). Currently not implemented. More... | |
int | hostIf_IPInterface::set_Interface_MaxMTUSize (HOSTIF_MsgData_t *stMsgData) |
This function sets the size of maximum transmission unit (MTU), i.e. the largest allowed size of an IP packet (including IP headers, but excluding lower layer headers such as Ethernet, PPP, or PPPoE headers) that is allowed to be transmitted by or through this device. Currently not implemented. More... | |
int | hostIf_IPInterface::set_Interface_Loopback (HOSTIF_MsgData_t *stMsgData) |
This function sets the IP interface LoopBack flag to 'true' or 'false'. Currently not implemented. More... | |
int | hostIf_IPInterface::set_Interface_AutoIPEnable (HOSTIF_MsgData_t *stMsgData) |
This function sets the Auto-IP on an IP Interface status 'enable' or 'disable'. It sets 'true' for enable and 'false' for disables the auto-IP for this IP interface. Currently not implemented. More... | |
int hostIf_IPInterface::get_Interface_Enable | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
This function gets the status to enabled or disabled of an IP Interface. It provides the values such as 'true' or 'false' to Enable the status of IP interface.
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successfully fetch the data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch the data. |
Definition at line 366 of file Device_IP_Interface.cpp.
int hostIf_IPInterface::get_Interface_IPv4Enable | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
This function gets the status of the IPv4 stack attachment for an IP interface. It indicates whether or not this IP interface is attached to the IPv4 stack. If set to 'true', then this interface is attached to the IPv4 stack. If set to 'false', then this interface is detached from the IPv4 stack.
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successfully fetch the data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch the data. |
Definition at line 411 of file Device_IP_Interface.cpp.
int hostIf_IPInterface::get_Interface_ULAEnable | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
This function gets the status 'enabled' or 'disabled' of ULA(Unique local address) generation for an IP Interface. It indicates the status as 'true' or 'false' of the ULA generation and use this IP interface is enabled. Currently not implemented.
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successfully fetch the data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch the data. |
Definition at line 514 of file Device_IP_Interface.cpp.
int hostIf_IPInterface::get_Interface_Status | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
This function gets the IP interface Status. It provides the current operational state of the Interface. Possible state are Up, Down, Unknown, Dormant, NotPresent, LowerLayerDown Error (OPTIONAL).
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successfully fetch the data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch the data. |
Definition at line 576 of file Device_IP_Interface.cpp.
int hostIf_IPInterface::get_Interface_Alias | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
This function gets the instance handle for an IP Interface. It provides a non-volatile handle used to reference this IP interface instance. Alias provides a mechanism for an ACS to label this instance for future reference. Currently not implemented.
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successfully fetch the data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch the data. |
Definition at line 620 of file Device_IP_Interface.cpp.
int hostIf_IPInterface::get_Interface_Name | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
This function gets the IP Interface Name.It provides the textual name of the interface as assigned by the CPE(Customer Premises Equipment).
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successfully fetch the data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch the data. |
Definition at line 638 of file Device_IP_Interface.cpp.
int hostIf_IPInterface::get_Interface_LastChange | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
This function gets the last change of status time of the interface. It provides the accumulated time in seconds since the interface entered its current operational state. Currently not implemented.
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successfully fetch the data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch the data. |
Definition at line 680 of file Device_IP_Interface.cpp.
int hostIf_IPInterface::get_Interface_LowerLayers | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
Get IP Interface LowerLayers.
This function gets the IP Interface LowerLayers. It provides a comma-separated list (maximum length 1024) of strings. Each list item MUST be the path name of an interface object that is stacked immediately below this interface object. Currently not implemented.
This function provides a comma-separated list (maximum length 1024) of strings. Each list item MUST be the path name of an interface object that is stacked immediately below this interface object.
See TR-069 Device.IP.Interface object Getter API
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successfully fetch the data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch the data. |
Definition at line 708 of file Device_IP_Interface.cpp.
int hostIf_IPInterface::get_Interface_Router | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
This function gets the Router instance that is associated with an IP Interface entry. It provides the Router instance that is associated with this IP Interface entry. Currently not implemented.
Routing.Router
table. [out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successfully fetch the data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch the data. |
Definition at line 736 of file Device_IP_Interface.cpp.
int hostIf_IPInterface::get_Interface_Reset | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
Get IP Interface Reset status.
This function gets the IP Interface Reset status. It returns 'false', regardless of the actual value.
This function returns false, regardless of the actual value.
See TR-069 Device.IP.Interface object Getter API
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successfully fetch the data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch the data. |
Definition at line 759 of file Device_IP_Interface.cpp.
int hostIf_IPInterface::get_Interface_MaxMTUSize | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
This function gets the IP Interface MaxMTUSize. It provides the maximum transmission unit (MTU), i.e. the largest allowed size of an IP packet (including IP headers, but excluding lower layer headers such as Ethernet, PPP, or PPPoE headers) that is allowed to be transmitted by or through this device.
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successfully fetch the data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch the data. |
Definition at line 795 of file Device_IP_Interface.cpp.
int hostIf_IPInterface::get_Interface_Type | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
This function gets the IP Interface Type. It provides the IP interface type. Possible values are Normal, Loopback, Tunnel, Tunnelled.
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successfully fetch the data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch the data. |
Definition at line 831 of file Device_IP_Interface.cpp.
int hostIf_IPInterface::get_Interface_Loopback | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
This function gets the IP interface loopback. It indicates whether or not the IP interface is a loopback interface by 'true' or 'false'.
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successfully fetch the data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch the data. |
Definition at line 951 of file Device_IP_Interface.cpp.
int hostIf_IPInterface::get_Interface_IPv4AddressNumberOfEntries | ( | HOSTIF_MsgData_t * | stMsgData | ) |
Get the IP Interface IPv4AddressNumberOfEntries.
This function gets the IP Interface IPv4AddressNumberOfEntries. It provides the number of entries in the IPv4 Address table.
This function provides the number of entries in the IPv4 Address table.
See TR-069 Device.IP.Interface object Getter API
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successfully fetch the data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch the data. |
Definition at line 1016 of file Device_IP_Interface.cpp.
int hostIf_IPInterface::get_Interface_AutoIPEnable | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
Get the status (enabled/disabled) of Auto-IP on an IP Interface.
This function gets the status of Auto-IP on an IP Interface is 'enabled' or 'disabled'. It indicates whether or not auto-IP is enabled for this IP interface. Currently not implemented.
This function indicates whether or not (true
or false
) auto-IP is enabled for this IP interface.
See TR-069 Device.IP.Interface object Getter API
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successfully fetch the data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch the data. |
Definition at line 1111 of file Device_IP_Interface.cpp.
int hostIf_IPInterface::set_Interface_Enable | ( | HOSTIF_MsgData_t * | stMsgData | ) |
Set the status (enabled/disabled) of IP Interface.
This function sets the status of IP Interface 'enabled' or 'disabled'. It enables i.e 'true' or disables i.e 'false' this IP interface regardless of IPv4Enable and IPv6Enable. Currently not implemented.
This function enables (true
) or disables (false
) this IP interface (regardless of IPv4Enable and IPv6Enable).
See TR-069 Device.IP.Interface object Setter API
[out] | stMsgData | TR-069 Host interface message request. |
OK | if it is successfully fetch the data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch the data. |
Definition at line 1150 of file Device_IP_Interface.cpp.
int hostIf_IPInterface::set_Interface_IPv4Enable | ( | HOSTIF_MsgData_t * | stMsgData | ) |
Attach/Detach an IP interface to/from the IPv4 stack.
This function attaches or detaches this IP interface to/from the IPv4 stack. If set to 'true', then this interface is attached to the IPv4 stack. If set to 'false', then this interface is detached from the IPv4 stack. Currently not implemented.
This function attaches or detaches this IP interface to/from the IPv4 stack. If set to true
, then this interface is attached to the IPv4 stack. If set to false, then this interface is detached from the IPv4 stack.
Once detached from the IPv4 stack, the interface will now no longer be able to pass IPv4 packets, and will be operationally down (unless also attached to an enabled IPv6 stack).
For an IPv4 capable device, if IPv4Enable is not present this interface SHOULD be permanently attached to the IPv4 stack.
See TR-069 Device.IP.Interface object Setter API
Once detached from the IPv4 stack, the interface will now no longer be able to pass IPv4 packets, and will be operationally down (unless also attached to an enabled IPv6 stack).
For an IPv4 capable device, if IPv4Enable is not present this interface SHOULD be permanently attached to the IPv4 stack.
[out] | stMsgData | TR-069 Host interface message request. |
OK | if it is successfully fetch the data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch the data. |
Definition at line 1185 of file Device_IP_Interface.cpp.
int hostIf_IPInterface::set_Interface_ULAEnable | ( | HOSTIF_MsgData_t * | stMsgData | ) |
This function sets the status 'enabled' or 'disabled' of ULA(Unique Local Address) generation for an IP Interface. It controls whether or not ULAs are generated and used on this interface. Currently not implemented.
[out] | stMsgData | TR-069 Host interface message request. |
OK | if it is successfully fetch the data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch the data. |
Definition at line 1207 of file Device_IP_Interface.cpp.
int hostIf_IPInterface::set_Interface_Alias | ( | HOSTIF_MsgData_t * | stMsgData | ) |
This function sets a non-volatile handle used to reference this IP interface instance. Alias provides a mechanism for an ACS to label this instance for future reference. Currently not implemented.
[out] | stMsgData | TR-069 Host interface message request. |
OK | if it is successfully fetch the data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch the data. |
Definition at line 1237 of file Device_IP_Interface.cpp.
int hostIf_IPInterface::set_Interface_LowerLayers | ( | HOSTIF_MsgData_t * | stMsgData | ) |
This function sets the IP Interface LowerLayers. Given a comma-separated list (maximum length 1024) of strings, each list item being the path name of an interface object, this function MUST stack each item in the list immediately below this interface object. Currently not implemented.
[out] | stMsgData | TR-069 Host interface message request. |
OK | if it is successfully fetch the data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch the data. |
Definition at line 1261 of file Device_IP_Interface.cpp.
int hostIf_IPInterface::set_Interface_Router | ( | HOSTIF_MsgData_t * | stMsgData | ) |
This function sets the router instance that is associated with an IP Interface entry. Currently not implemented.
Routing.Router
table. [out] | stMsgData | TR-069 Host interface message request. |
OK | if it is successfully fetch the data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch the data. |
Definition at line 1287 of file Device_IP_Interface.cpp.
int hostIf_IPInterface::set_Interface_Reset | ( | HOSTIF_MsgData_t * | stMsgData | ) |
This function sets the Reset flag to the requested value (normally 'true'). Currently not implemented.
When set to true
, the device MUST tear down the existing IP connection represented by this object and establish a new one.
The device MUST initiate the reset after completion of the current CWMP session.
The device MAY delay resetting the connection in order to avoid interruption of a user service such as an ongoing voice call.
[out] | stMsgData | TR-069 Host interface message request. |
OK | if it is successfully fetch the data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch the data. |
Definition at line 1320 of file Device_IP_Interface.cpp.
int hostIf_IPInterface::set_Interface_MaxMTUSize | ( | HOSTIF_MsgData_t * | stMsgData | ) |
This function sets the size of maximum transmission unit (MTU), i.e. the largest allowed size of an IP packet (including IP headers, but excluding lower layer headers such as Ethernet, PPP, or PPPoE headers) that is allowed to be transmitted by or through this device. Currently not implemented.
[out] | stMsgData | TR-069 Host interface message request. |
OK | if it is successfully fetch the data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch the data. |
Definition at line 1343 of file Device_IP_Interface.cpp.
int hostIf_IPInterface::set_Interface_Loopback | ( | HOSTIF_MsgData_t * | stMsgData | ) |
This function sets the IP interface LoopBack flag to 'true' or 'false'. Currently not implemented.
true
, the IP interface becomes a loopback interface and the CPE MUST set Type to Loopback. In this case, the CPE MUST also set the LowerLayers property to an empty string and fail subsequent attempts at setting LowerLayers until the interface is no longer a loopback.[out] | stMsgData | TR-069 Host interface message request. |
OK | if it is successfully fetch the data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch the data. |
Definition at line 1371 of file Device_IP_Interface.cpp.
int hostIf_IPInterface::set_Interface_AutoIPEnable | ( | HOSTIF_MsgData_t * | stMsgData | ) |
This function sets the Auto-IP on an IP Interface status 'enable' or 'disable'. It sets 'true' for enable and 'false' for disables the auto-IP for this IP interface. Currently not implemented.
OK | if it is successfully fetch the data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch the data. |
Definition at line 1399 of file Device_IP_Interface.cpp.