Implement DHCPv6 IA NA client (VPP-1094)
[vpp.git] / src / vnet / dhcp / dhcp6_ia_na_client_cp.api
1 /*
2  * Copyright (c) 2018 Cisco and/or its affiliates.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at:
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15
16 option version = "1.0.0";
17
18 /** \brief Enable/disable DHCPv6 client on interface
19     @param client_index - opaque cookie to identify the sender
20     @param context - sender context, to match reply w/ request
21     @param sw_if_index - interface to enable/disable client on
22     @param enable - 1 to enable, 0 to disable
23 */
24 autoreply define dhcp6_client_enable_disable
25 {
26   u32 client_index;
27   u32 context;
28   u32 sw_if_index;
29   u8 enable;
30 };
31
32 /*
33  * Local Variables:
34  * eval: (c-set-style "gnu")
35  * End:
36  */