Control sub-TLV attributes order in rest module

Avner Elizarov avnerelizarov at gmail.com
Sun Sep 10 15:26:51 CEST 2017


The parents have the same name and as far as I can tell, nesting attributes
aren't implemented in the rest module.
Could you write the json that you think will do the job?

On 10 Sep 2017 15:56, "Alan DeKok" <aland at deployingradius.com> wrote:

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.

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/
list/users.html


More information about the Freeradius-Users mailing list