]>
git.proxmox.com Git - ovs.git/blob - ovn/controller/physical.h
16d172bbb11fcf6316ad1b33e525142fed7d2ff3
1 /* Copyright (c) 2015 Nicira, Inc.
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:
7 * http://www.apache.org/licenses/LICENSE-2.0
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.
16 #ifndef OVN_PHYSICAL_H
17 #define OVN_PHYSICAL_H 1
19 /* Logical/Physical Translation
20 * ============================
22 * This module implements physical-to-logical and logical-to-physical
23 * translation as separate OpenFlow tables that run before and after,
24 * respectively, the logical pipeline OpenFlow tables.
27 struct controller_ctx
;
31 void physical_init(struct controller_ctx
*);
32 void physical_run(struct controller_ctx
*, const struct ovsrec_bridge
*br_int
,
33 struct hmap
*flow_table
);
35 #endif /* ovn/physical.h */