|
| 1 | +// |
| 2 | +// Licensed to the Apache Software Foundation (ASF) under one |
| 3 | +// or more contributor license agreements. See the NOTICE file |
| 4 | +// distributed with this work for additional information |
| 5 | +// regarding copyright ownership. The ASF licenses this file |
| 6 | +// to you under the Apache License, Version 2.0 (the |
| 7 | +// "License"); you may not use this file except in compliance |
| 8 | +// with the License. You may obtain a copy of the License at |
| 9 | +// |
| 10 | +// http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | +// |
| 12 | +// Unless required by applicable law or agreed to in writing, |
| 13 | +// software distributed under the License is distributed on an |
| 14 | +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | +// KIND, either express or implied. See the License for the |
| 16 | +// specific language governing permissions and limitations |
| 17 | +// under the License. |
| 18 | +// |
| 19 | + |
| 20 | +package com.cloud.agent.resource.virtualnetwork; |
| 21 | + |
| 22 | +public class VRScripts { |
| 23 | + protected final static String CONFIG_PERSIST_LOCATION = "/etc/cloudstack/"; |
| 24 | + protected final static String IP_ASSOCIATION_CONFIG = "ip_associations.json"; |
| 25 | + protected final static String CONFIG_CACHE_LOCATION = "/var/cache/cloud/"; |
| 26 | + protected final static int DEFAULT_EXECUTEINVR_TIMEOUT = 120; //Seconds |
| 27 | + |
| 28 | + protected static final String S2SVPN_CHECK = "checkbatchs2svpn.sh"; |
| 29 | + protected static final String S2SVPN_IPSEC = "ipsectunnel.sh"; |
| 30 | + protected static final String DHCP = "edithosts.sh"; |
| 31 | + protected static final String DNSMASQ_CONFIG = "dnsmasq.sh"; |
| 32 | + protected static final String FIREWALL_EGRESS = "firewall_egress.sh"; |
| 33 | + protected static final String FIREWALL_INGRESS = "firewall_ingress.sh"; |
| 34 | + protected static final String FIREWALL_NAT = "firewall_nat.sh"; |
| 35 | + protected static final String IPALIAS_CREATE = "createIpAlias.sh"; |
| 36 | + protected static final String IPALIAS_DELETE = "deleteIpAlias.sh"; |
| 37 | + protected static final String IPASSOC = "ipassoc.sh"; |
| 38 | + protected static final String LB = "loadbalancer.sh"; |
| 39 | + protected static final String MONITOR_SERVICE = "monitor_service.sh"; |
| 40 | + protected static final String ROUTER_ALERTS = "getRouterAlerts.sh"; |
| 41 | + protected static final String PASSWORD = "savepassword.sh"; |
| 42 | + protected static final String RVR_CHECK = "checkrouter.sh"; |
| 43 | + protected static final String RVR_BUMPUP_PRI = "bumpup_priority.sh"; |
| 44 | + protected static final String VMDATA = "vmdata.py"; |
| 45 | + protected static final String VERSION = "get_template_version.sh"; |
| 46 | + protected static final String VPC_ACL = "vpc_acl.sh"; |
| 47 | + protected static final String VPC_GUEST_NETWORK = "vpc_guestnw.sh"; |
| 48 | + protected static final String VPC_IPASSOC = "vpc_ipassoc.sh"; |
| 49 | + protected static final String VPC_LB = "vpc_loadbalancer.sh"; |
| 50 | + protected static final String VPC_PRIVATEGW = "vpc_privateGateway.sh"; |
| 51 | + protected static final String VPC_PRIVATEGW_ACL = "vpc_privategw_acl.sh"; |
| 52 | + protected static final String VPC_PORTFORWARDING = "vpc_portforwarding.sh"; |
| 53 | + protected static final String VPC_SOURCE_NAT = "vpc_snat.sh"; |
| 54 | + protected static final String VPC_STATIC_NAT = "vpc_staticnat.sh"; |
| 55 | + protected static final String VPC_STATIC_ROUTE = "vpc_staticroute.sh"; |
| 56 | + protected static final String VPN_L2TP = "vpn_l2tp.sh"; |
| 57 | + |
| 58 | + protected static final String VR_CFG = "vr_cfg.sh"; |
| 59 | +} |
0 commit comments