]> git.proxmox.com Git - mirror_ovs.git/blame - ovn/controller/pinctrl.h
OVN: introduce Controller_Event table
[mirror_ovs.git] / ovn / controller / pinctrl.h
CommitLineData
0bac7164 1
6335d074 2/* Copyright (c) 2015, 2016 Nicira, Inc.
27732ac4
BS
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at:
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
e4105d1e
BP
17#ifndef PINCTRL_H
18#define PINCTRL_H 1
27732ac4
BS
19
20#include <stdint.h>
21
acfc41ff 22#include "lib/sset.h"
064d7f84 23#include "openvswitch/meta-flow.h"
27732ac4 24
0ee8aaf6 25struct hmap;
0bac7164 26struct lport_index;
d14e007c 27struct ovsdb_idl_index;
eaa4ead5 28struct ovsdb_idl_txn;
27732ac4 29struct ovsrec_bridge;
f1a8bd06 30struct sbrec_chassis;
0eb1e37c 31struct sbrec_dns_table;
f732a1ab 32struct sbrec_controller_event_table;
27732ac4 33
27732ac4 34void pinctrl_init(void);
eaa4ead5 35void pinctrl_run(struct ovsdb_idl_txn *ovnsb_idl_txn,
d14e007c
BP
36 struct ovsdb_idl_index *sbrec_datapath_binding_by_key,
37 struct ovsdb_idl_index *sbrec_port_binding_by_datapath,
38 struct ovsdb_idl_index *sbrec_port_binding_by_key,
39 struct ovsdb_idl_index *sbrec_port_binding_by_name,
769e6223 40 struct ovsdb_idl_index *sbrec_mac_binding_by_lport_ip,
0eb1e37c 41 const struct sbrec_dns_table *,
f732a1ab 42 const struct sbrec_controller_event_table *,
f1a8bd06 43 const struct ovsrec_bridge *, const struct sbrec_chassis *,
83293ddf
BP
44 const struct hmap *local_datapaths,
45 const struct sset *active_tunnels);
eaa4ead5 46void pinctrl_wait(struct ovsdb_idl_txn *ovnsb_idl_txn);
27732ac4
BS
47void pinctrl_destroy(void);
48
e4105d1e 49#endif /* ovn/pinctrl.h */