// // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use this file except in compliance // with the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, // software distributed under the License is distributed on an // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY // KIND, either express or implied. See the License for the // specific language governing permissions and limitations // under the License. // package com.cloud.network.nicira; public class NiciraConstants { public static final String SEC_PROFILE_URI_PREFIX = "/ws.v1/security-profile"; public static final String ACL_URI_PREFIX = "/ws.v1/acl"; public static final String SWITCH_URI_PREFIX = "/ws.v1/lswitch"; public static final String ROUTER_URI_PREFIX = "/ws.v1/lrouter"; public static final String GATEWAY_SERVICE_PREFIX = "/ws.v1/gateway-service"; public static final String LOGIN_URL = "/ws.v1/login"; public static final String CONTROL_CLUSTER_STATUS_URL = "/ws.v1/control-cluster/status"; public static final String ATTACHMENT_PATH_SEGMENT = "/attachment"; public static final String NAT_PATH_SEGMENT = "/nat"; public static final String LPORT_PATH_SEGMENT = "/lport"; public static final String ATTACHMENT_VIF_UUID_QUERY_PARAMETER_NAME = "attachment_vif_uuid"; public static final String ATTACHMENT_VLAN_PARAMETER = "attachment_vlan"; public static final String ATTACHMENT_GWSVC_UUID_QUERY_PARAMETER = "attachment_gwsvc_uuid"; public static final String ATTACHMENT_LSWITCH_UUID = "attachment_lswitch_uuid"; public static final String WILDCARD_QUERY_PARAMETER = "*"; public static final String UUID_QUERY_PARAMETER = "uuid"; public static final String FIELDS_QUERY_PARAMETER = "fields"; public static final String TYPES_QUERY_PARAMETER = "types"; }