Control sub-TLV attributes order in rest module

Alan DeKok aland at deployingradius.com
Sun Sep 10 14:55:45 CEST 2017


On Sep 10, 2017, at 4:21 AM, Avner Elizarov <avnerelizarov at gmail.com> wrote:
> I want to create 2 instances of the *tlv_example*, each with its own 2 sub
> attributes. How should I send the information to the rest module in a way
> that it would generate 2 seperate AVPs (one for each tlv) and how can I
> control the order of the sub-attributes inside each AVP?

  You format the json the same way you want the attributes formatted:

	parent1
		child1
		child2
	parent2
		child1
		child2

  Alan DeKok.



More information about the Freeradius-Users mailing list