| 1 | # Copyright 2015 Cisco Systems, Inc |
| 2 | # All Rights Reserved. |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may |
| 5 | # not use this file except in compliance with the License. You may obtain |
| 6 | # 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, WITHOUT |
| 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 13 | # License for the specific language governing permissions and limitations |
| 14 | # under the License. |
| 15 | |
| 16 | FIREWALL = 'FIREWALL' |
| 17 | FIREWALL_V2 = 'FIREWALL_V2' |
| 18 | |
| 19 | # Constants for "topics" |
| 20 | FIREWALL_PLUGIN = 'q-firewall-plugin' |
| 21 | FW_AGENT = 'firewall_agent' |
| 22 | FIREWALL_RULE_LIST = 'firewall_rule_list' |
| 23 | |
| 24 | # V2 Constants |
| 25 | DEFAULT_FWG = 'default' |
| 26 | DEFAULT_FWP_INGRESS = 'default ingress' |
| 27 | DEFAULT_FWP_EGRESS = 'default egress' |
| 28 | |
| 29 | # Firewall group events for agent-side |
| 30 | DELETE_FWG = 'delete_firewall_group' |
| 31 | UPDATE_FWG = 'update_firewall_group' |
| 32 | CREATE_FWG = 'create_firewall_group' |
| 33 | |
| 34 | # Port events for L2 agent extension |
| 35 | HANDLE_PORT = 'handle_port' |
| 36 | DELETE_PORT = 'delete_port' |
| 37 | |
| 38 | # Resource name |
| 39 | |
| 40 | FIREWALL_GROUP = 'firewall_group' |
| 41 | FIREWALL_RULE = 'firewall_rule' |
| 42 | FIREWALL_POLICY = 'firewall_policy' |