Add some more ip.access specific OML attributes/messages. In this case it is

about configuring the primary OML link IP address in the NVRAM of the device.
This commit is contained in:
Harald Welte 2009-04-29 22:58:38 +00:00
parent a7cfa03cb2
commit 3bfbb84021
2 changed files with 5 additions and 0 deletions

View File

@ -212,6 +212,8 @@ enum abis_nm_msgtype_ipacc {
NM_MT_IPACC_RSL_CONNECT = 0xe0,
NM_MT_IPACC_RSL_CONNECT_ACK,
NM_MT_IPACC_RSL_CONNECT_NACK,
NM_MT_IPACC_RSL_SET_NVATTR = 0xef,
NM_MT_IPACC_RSL_SET_NVATTR_ACK = 0xff,
};
/* Section 9.2: Object Class */
@ -335,6 +337,7 @@ enum abis_nm_attr {
NM_ATT_IPACC_RSL_BSC_IP = 0x80,
NM_ATT_IPACC_RSL_BSC_PORT = 0x81,
NM_ATT_IPACC_PRIM_OML_IP = 0x88,
NM_ATT_BS11_RF_RES_IND_PER = 0x8f,

View File

@ -268,6 +268,8 @@ static const struct tlv_definition nm_att_tlvdef = {
/* ip.access specifics */
[NM_ATT_IPACC_RSL_BSC_IP] = { TLV_TYPE_FIXED, 4 },
[NM_ATT_IPACC_RSL_BSC_PORT] = { TLV_TYPE_FIXED, 2 },
[NM_ATT_IPACC_PRIM_OML_IP] = { TLV_TYPE_FIXED, 6 },
[0x95] = { TLV_TYPE_FIXED, 2 },
[0x85] = { TLV_TYPE_TV },
},