Send kea-dev mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/kea-dev
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of kea-dev digest..."


Today's Topics:

   1. Re:  Vendor Specific Options (Code 17) (Francis Dupont)


----------------------------------------------------------------------

Message: 1
Date: Sat, 02 Apr 2022 09:01:25 +0000
From: Francis Dupont <[email protected]>
To: sathish k <[email protected]>
Cc: Francis Dupont <[email protected]>, "[email protected]"
        <[email protected]>, kea-users <[email protected]>
Subject: Re: [kea-dev] Vendor Specific Options (Code 17)
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

sathish k writes:
>     Can you provide Sample config file that supports multiple vendors scena=
> rio below . Thanks

=> I can't because it is not currently supported.

> "option-data": [
>        {
>         "space": "dhcp6",
>         "name": "vendor-opts",
>         "code": 17,
>         "data": "0x270f"
>       },
>        {
>         "space": "dhcp6",
>         "name": "vendor-opts",
>         "code": 17,
>         "data": "0x6774"
>       },

=> note if it is allowed to specify more than once an option data of course
only one will be applied.

> The Relay -Reply that I got shows only one vendor (Cisco ) even though opti=
> on-data has Cisco and xyz(9999)

=> yes and it will be the result until #1518 is fully implemented.
I am afraid you have to write some code to do this.

Regards

Francis Dupont <[email protected]>

PS: the OptionCollection is a multimap so if you add multiple options
sharing the same code point they will be added to the packet. Now
there is no way to add more than one option 16 or 17 in the collection
without writing a hook doing this. The config can help by building
each option you want so the hook can just add the missing options.

PPS: the flex_option hook does not help here: it does not handle
multiple vendor options more than other code. Now it is planned to
add multiple vendor supports including for the flex_option in #1518
but the exact milestone is not yet scheduled...


------------------------------

Subject: Digest Footer

_______________________________________________
kea-dev mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-dev


------------------------------

End of kea-dev Digest, Vol 78, Issue 1
**************************************

Reply via email to