pyrad
pyrad copied to clipboard
Using TLV Attributes while sending Accounting
I am trying to send TLV Attributes in Accounting Packets. I have defined the Dictionary file with the TLV attributes in the below format.
ATTRIBUTE Vendor-TLV 5 tlv ATTRIBUTE Vendor-TLV-Attribute1 5.1 string ATTRIBUTE Vendor-TLV-Attribute2 5.2 integer64
Now when I try to send
req["Vendor-TLV-Attribute1"] = "HelloWorld" req["Vendor-TLV-Attribute2"] = 1000000 On sending HelloWorld is getting sent as User-Name which is radius attribute with code 1. Please let me know if my usage of TLV is appropriate.
I'm having the same problem. It's not clear to me how to add a tlv attr using pyrad