1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
2 /* NetworkManager system settings service
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License along
15 * with this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 * (C) Copyright 2008 - 2013 Red Hat, Inc.
26 #define IFCFG_TAG "ifcfg-"
27 #define KEYS_TAG "keys-"
28 #define ROUTE_TAG "route-"
29 #define RULE_TAG "rule-"
30 #define ROUTE6_TAG "route6-"
31 #define RULE6_TAG "rule6-"
33 #define BAK_TAG ".bak"
35 #define ORIG_TAG ".orig"
36 #define REJ_TAG ".rej"
37 #define RPMNEW_TAG ".rpmnew"
38 #define AUGNEW_TAG ".augnew"
39 #define AUGTMP_TAG ".augtmp"
41 #define IFCFG_DIR SYSCONFDIR"/sysconfig/network-scripts"
43 #define IFCFG_PLUGIN_NAME "ifcfg-rh"
44 #define IFCFG_PLUGIN_INFO "(c) 2007 - 2013 Red Hat, Inc. To report bugs please use the NetworkManager mailing list."
46 #define TYPE_ETHERNET "Ethernet"
47 #define TYPE_WIRELESS "Wireless"
48 #define TYPE_INFINIBAND "InfiniBand"
49 #define TYPE_BRIDGE "Bridge"
50 #define TYPE_BOND "Bond"
51 #define TYPE_VLAN "Vlan"
52 #define TYPE_TEAM "Team"
53 #define TYPE_TEAM_PORT "TeamPort"
55 #define SECRET_FLAG_AGENT "user"
56 #define SECRET_FLAG_NOT_SAVED "ask"
57 #define SECRET_FLAG_NOT_REQUIRED "unused"
60 #define KEY_DCB_APP_FCOE_ENABLE "DCB_APP_FCOE_ENABLE"
61 #define KEY_DCB_APP_FCOE_ADVERTISE "DCB_APP_FCOE_ADVERTISE"
62 #define KEY_DCB_APP_FCOE_WILLING "DCB_APP_FCOE_WILLING"
63 #define KEY_DCB_APP_FCOE_MODE "DCB_APP_FCOE_MODE"
64 #define KEY_DCB_APP_ISCSI_ENABLE "DCB_APP_ISCSI_ENABLE"
65 #define KEY_DCB_APP_ISCSI_ADVERTISE "DCB_APP_ISCSI_ADVERTISE"
66 #define KEY_DCB_APP_ISCSI_WILLING "DCB_APP_ISCSI_WILLING"
67 #define KEY_DCB_APP_FIP_ENABLE "DCB_APP_FIP_ENABLE"
68 #define KEY_DCB_APP_FIP_ADVERTISE "DCB_APP_FIP_ADVERTISE"
69 #define KEY_DCB_APP_FIP_WILLING "DCB_APP_FIP_WILLING"
70 #define KEY_DCB_PFC_ENABLE "DCB_PFC_ENABLE"
71 #define KEY_DCB_PFC_ADVERTISE "DCB_PFC_ADVERTISE"
72 #define KEY_DCB_PFC_WILLING "DCB_PFC_WILLING"
73 #define KEY_DCB_PFC_UP "DCB_PFC_UP"
74 #define KEY_DCB_PG_ENABLE "DCB_PG_ENABLE"
75 #define KEY_DCB_PG_ADVERTISE "DCB_PG_ADVERTISE"
76 #define KEY_DCB_PG_WILLING "DCB_PG_WILLING"
77 #define KEY_DCB_PG_ID "DCB_PG_ID"
78 #define KEY_DCB_PG_PCT "DCB_PG_PCT"
79 #define KEY_DCB_PG_UPPCT "DCB_PG_UPPCT"
80 #define KEY_DCB_PG_STRICT "DCB_PG_STRICT"
81 #define KEY_DCB_PG_UP2TC "DCB_PG_UP2TC"
83 #endif /* __COMMON_H__ */