?Hi Alan, Thank you for the example in your email below. I've copied the example here, BEGIN-VENDOR BT format=Extended-Vendor-Specific-1 ATTRIBUTE BT-Foo-Bar 1 integer ATTRIBUTE BT-Bar-Baz 2 integer ... END-VENDOR BT Could I ask a couple of follow-up questions then please. Following your example then would,
ATTRIBUTE BT-Foo-Bar 1 integer
translate to a dictionary reference-id of,
241.26.594.1
where, 241.26 = Extended-Vendor-Specific-1 (evs data-type) 594 = BT 1 = BT-Foo-Bar and similarly for,
ATTRIBUTE BT-Bar-Baz 2 integer
this becomes,
241.26.594.2
so when we read the dictionary file and find format=Extended-Vendor-Specific-1 we need to "look-up"
Extended-Vendor-Specific-1 from our dictionaries to retrieve the 241.26 id - so this means that the definitions for evs need to have been loaded first before we can reference them as in the example you have shown?
Kind Regards, Robert. ________________________________ From: Alan DeKok-2 [via FreeRADIUS] <ml+s1045715n5756931h83@n5.nabble.com> Sent: 03 February 2020 12:40 To: Stannard,R,Robert,TLV3 C Subject: Re: request for radius dictionary EVS entry examples On Feb 3, 2020, at 4:26 AM, [hidden email]</user/SendEmail.jtp?type=node&node=5756931&i=0> wrote:
Does anyone have an example of an EVS dictionary entry ? I've found examples for type TLV (please see below), but not EVS?.
I'll see if I can add some examples/
I would like see how the entries are organised in the dictionary. I've checked the dictionaries in the latest FreeRadius download but couldn't find a single example. If someone is using them or has an example (for instance for testing) then could you please share it ?
You can create extended vendor-specific dictionaries as follows: BEGIN-VENDOR BT format=Extended-Vendor-Specific-1 ATTRIBUTE BT-Foo-Bar 1 integer ATTRIBUTE BT-Bar-Baz 2 integer ... END-VENDOR BT i.e. the magic isn't in the "evs" name. It's in the BEGIN-VENDOR line. Once that's defined, the rest of the vendor dictionary is the same as normal. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html ________________________________ If you reply to this email, your message will be added to the discussion below: http://freeradius.1045715.n5.nabble.com/Re-request-for-radius-dictionary-EVS... To unsubscribe from FreeRADIUS, click here<http://freeradius.1045715.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2740692&code=cm9iZXJ0LnN0YW5uYXJkQGJ0LmNvbXwyNzQwNjkyfC02OTA4OTczODY=>. NAML<http://freeradius.1045715.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>