Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
24c56dc
WIP - Integrate tungsten with cloudstack
radu-todirica Jul 6, 2020
e8e687a
Update the createNetwork endpoint params description
radu-todirica Jul 7, 2020
1be73ca
test commit
huyle-uni Jul 8, 2020
64736de
tungsten vrouter api & vrouter vif driver
huyle-uni Jul 27, 2020
899b4b6
vrouter add & delete command
huyle-uni Aug 3, 2020
8633eac
Added tungsten provider
radu-todirica Aug 16, 2020
12ff070
Added tungsten provider
radu-todirica Sep 3, 2020
2ce790a
Integrate tungsten virtual router with cloudstack
huyle-uni Sep 8, 2020
e3c18af
Changed tungsten provider to work as a cloudstack host
radu-todirica Oct 1, 2020
e354193
Removed the commands that are not needed
radu-todirica Oct 2, 2020
db04afd
Added the latest tungsten dependency
radu-todirica Oct 14, 2020
e16d2c4
Make the tungsten provider to depend on zone
radu-todirica Oct 30, 2020
fda609d
source nat and static nat feature
huyle-uni Nov 3, 2020
7654bff
Fixed DomainManagerImplTest failing tests
radu-todirica Nov 3, 2020
e466641
fix miss file commit
huyle-uni Nov 4, 2020
a2c1c87
- Fix network allocated delete
huyle-uni Nov 18, 2020
cf05228
Add a step for adding the tungsten provider in zone creation wizard
radu-todirica Nov 19, 2020
792275a
Update tungsten database with cloudstack projects and domains when a …
radu-todirica Nov 25, 2020
1e8d315
Added apache license in all the newly created classes
radu-todirica Nov 26, 2020
b8d0767
Remove public network from tungsten when a physical network from a tu…
radu-todirica Dec 2, 2020
3c0ab21
-Changed the add network offering form in order to disable all provid…
radu-todirica Dec 16, 2020
a852731
-Changed the add network offering form in order to disable all provid…
radu-todirica Dec 16, 2020
d83f885
- Add tungsten firewall feature
huyle-uni Jan 4, 2021
c0e701f
- Add management network
huyle-uni Jan 14, 2021
0b81f79
Generate a unique name for tungsten network
radu-todirica Jan 26, 2021
b7fcc55
Fix tungsten network issue
radu-todirica Feb 24, 2021
587323b
Change the way tungsten projects and domains are created and synchron…
radu-todirica Mar 10, 2021
49bad6f
- Add Tungsten load balance feature
huyle-uni Mar 17, 2021
6d496e7
- Add license headers
huyle-uni Mar 19, 2021
080b1b5
- Fix get project fqn
huyle-uni Mar 22, 2021
f621a41
- Add tungsten port forwarding feature
huyle-uni Apr 26, 2021
2979fd5
Added tungsten security group
radu-todirica May 20, 2021
26d4bdd
Added the requested changes
radu-todirica May 21, 2021
a355f65
Added the changes requested
radu-todirica Jun 9, 2021
7436b31
Requested changes
radu-todirica Jun 9, 2021
a2f14a8
- Add Application security policy feature
huyle-uni Jun 25, 2021
69c2a96
- Update Tungsten-Fabric Security group
huyle-uni Aug 4, 2021
b1ced88
Added tungsten network and interface route tables
radu-todirica Aug 4, 2021
6ec1321
- Add internal routing
huyle-uni Sep 6, 2021
ef744bc
Added unit tests for TungstenResource
radu-todirica Sep 9, 2021
2ed719c
- Update Unit test
huyle-uni Sep 27, 2021
cd2de1b
Add tungsten-fabric routing policy
radu-todirica Oct 14, 2021
df83853
Add/Remove tungsten-fabric routing policy to/from network
radu-todirica Oct 18, 2021
48e4923
Added cloudstack license
radu-todirica Oct 19, 2021
d53ea0b
- Update tungsten fabric network ui
huyle-uni Nov 9, 2021
e03f256
Interface route changes
radu-todirica Dec 23, 2021
2a9781d
Interface route changes
radu-todirica Jan 7, 2022
85f3d61
update
huyle-uni Sep 16, 2022
906bbd9
remove old ui
huyle-uni Sep 16, 2022
04e079f
update db
huyle-uni Sep 16, 2022
fe6935c
update db 4.18
huyle-uni Sep 19, 2022
915099e
fix conflict
huyle-uni Oct 13, 2022
87e6164
update
huyle-uni Oct 13, 2022
d91714b
fix merge
huyle-uni Oct 14, 2022
e0ac23d
fix sonar
huyle-uni Oct 17, 2022
a619a9e
Update schema-41710to41800.sql
kiwiflyer Nov 15, 2022
639f7c9
Merge branch 'main' into wip-integrate-tungsten-with-cloudstack
kiwiflyer Nov 15, 2022
21d91db
Merge 'main' into wip-integrate-tungsten-with-cloudstack to fix confl…
radu-todirica Dec 16, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
29 changes: 29 additions & 0 deletions api/src/main/java/com/cloud/event/EventTypes.java
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,35 @@ public class EventTypes {
public static final String EVENT_FIREWALL_EGRESS_CLOSE = "FIREWALL.EGRESS.CLOSE";
public static final String EVENT_FIREWALL_EGRESS_UPDATE = "FIREWALL.EGRESS.UPDATE";

// Tungsten-Fabric
public static final String EVENT_TUNGSTEN_ADD_POLICY_RULE = "TUNGSTEN.ADD.POLICY.RULE";
public static final String EVENT_TUNGSTEN_APPLY_POLICY = "TUNGSTEN.APPLY.POLICY";
public static final String EVENT_TUNGSTEN_APPLY_TAG = "TUNGSTEN.APPLY.TAG";
public static final String EVENT_TUNGSTEN_CREATE_POLICY = "TUNGSTEN.CREATE.POLICY";
public static final String EVENT_TUNGSTEN_CREATE_TAG = "TUNGSTEN.CREATE.TAG";
public static final String EVENT_TUNGSTEN_CREATE_TAGTYPE = "TUNGSTEN.CREATE.TAGTYPE";
public static final String EVENT_TUNGSTEN_CREATE_ADDRESS_GROUP = "TUNGSTEN.CREATE.ADDRESS.GROUP";
public static final String EVENT_TUNGSTEN_CREATE_SERVICE_GROUP = "TUNGSTEN.CREATE.SERVICE.GROUP";
public static final String EVENT_TUNGSTEN_CREATE_APPLICATION_POLICY_SET = "TUNGSTEN.CREATE.APS";
public static final String EVENT_TUNGSTEN_CREATE_FIREWALL_POLICY = "TUNGSTEN.CREATE.FIREWALL.POLICY";
public static final String EVENT_TUNGSTEN_CREATE_FIREWALL_RULE = "TUNGSTEN.CREATE.FIREWALL.RULE";
public static final String EVENT_TUNGSTEN_DELETE_POLICY = "TUNGSTEN.DELETE.POLICY";
public static final String EVENT_TUNGSTEN_DELETE_TAG = "TUNGSTEN.DELETE.TAG";
public static final String EVENT_TUNGSTEN_DELETE_TAGTYPE = "TUNGSTEN.DELETE.TAGTYPE";
public static final String EVENT_TUNGSTEN_DELETE_ADDRESS_GROUP = "TUNGSTEN.DELETE.ADDRESS.GROUP";
public static final String EVENT_TUNGSTEN_DELETE_APPLICATION_POLICY_SET = "TUNGSTEN.DELETE.APS";
public static final String EVENT_TUNGSTEN_DELETE_FIREWALL_POLICY = "TUNGSTEN.DELETE.FIREWALL.POLICY";
public static final String EVENT_TUNGSTEN_DELETE_FIREWALL_RULE = "TUNGSTEN.DELETE.FIREWALL.RULE";
public static final String EVENT_TUNGSTEN_DELETE_SERVICE_GROUP = "TUNGSTEN.DELETE.SERVICE.GROUP";
public static final String EVENT_TUNGSTEN_REMOVE_POLICY = "TUNGSTEN.REMOVE.POLICY";
public static final String EVENT_TUNGSTEN_REMOVE_TAG = "TUNGSTEN.REMOVE.TAG";
public static final String EVENT_TUNGSTEN_REMOVE_POLICY_RULE = "TUNGSTEN.REMOVE.POLICY.RULE";
public static final String EVENT_TUNGSTEN_CREATE_LOGICAL_ROUTER = "TUNGSTEN.CREATE.LOGICAL.ROUTER";
public static final String EVENT_TUNGSTEN_ADD_NETWORK_GATEWAY_TO_LOGICAL_ROUTER = "TUNGSTEN.ADD.NETWORK.GW.TO.LG";
public static final String EVENT_TUNGSTEN_REMOVE_NETWORK_GATEWAY_FROM_LOGICAL_ROUTER = "TUNGSTEN.RM.NETWORK.GW.FROM.LG";
public static final String EVENT_TUNGSTEN_DELETE_LOGICAL_ROUTER = "TUNGSTEN.DELETE.LOGICAL.ROUTER";
public static final String EVENT_TUNGSTEN_UPDATE_LB_HEALTH_MONITOR = "TUNGSTEN.UPDATE.LB.HM";

//NIC Events
public static final String EVENT_NIC_CREATE = "NIC.CREATE";
public static final String EVENT_NIC_DELETE = "NIC.DELETE";
Expand Down
2 changes: 2 additions & 0 deletions api/src/main/java/com/cloud/network/Network.java
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ public static class Provider {
public static final Provider BigSwitchBcf = new Provider("BigSwitchBcf", false);
//Add ConfigDrive provider
public static final Provider ConfigDrive = new Provider("ConfigDrive", false);
//Add Tungsten Fabric provider
public static final Provider Tungsten = new Provider("Tungsten", false);

private final String name;
private final boolean isExternal;
Expand Down
3 changes: 3 additions & 0 deletions api/src/main/java/com/cloud/network/NetworkService.java
Original file line number Diff line number Diff line change
Expand Up @@ -225,4 +225,7 @@ Network createPrivateNetwork(String networkName, String displayText, long physic
boolean removeNetworkPermissions(RemoveNetworkPermissionsCmd removeNetworkPermissionsCmd);

boolean resetNetworkPermissions(ResetNetworkPermissionsCmd resetNetworkPermissionsCmd);

public static final String MESSAGE_ASSIGN_NIC_SECONDARY_IP_EVENT = "Message.AssignNicSecondaryIp.Event";
public static final String MESSAGE_RELEASE_NIC_SECONDARY_IP_EVENT = "Message.ReleaseNicSecondaryIp.Event";
}
3 changes: 2 additions & 1 deletion api/src/main/java/com/cloud/network/Networks.java
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ public <T> URI toUri(T value) {
}
},
UnDecided(null, null),
OpenDaylight("opendaylight", String.class);
OpenDaylight("opendaylight", String.class),
TUNGSTEN("tf", String.class);

private final String scheme;
private final Class<?> type;
Expand Down
31 changes: 31 additions & 0 deletions api/src/main/java/com/cloud/network/TungstenProvider.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// 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;

import org.apache.cloudstack.api.Identity;
import org.apache.cloudstack.api.InternalIdentity;

public interface TungstenProvider extends InternalIdentity, Identity {
String getHostname();
String getPort();
String getProviderName();
String getGateway();
String getIntrospectPort();
String getVrouterPort();
long getZoneId();
long getHostId();
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,9 @@ List<? extends SecurityRule> authorizeSecurityGroupRule(final Long securityGroup
public List<? extends SecurityRule> authorizeSecurityGroupEgress(AuthorizeSecurityGroupEgressCmd cmd);

public boolean securityGroupRulesForVmSecIp(long nicId, String secondaryIp, boolean ruleAction);

String MESSAGE_CREATE_TUNGSTEN_SECURITY_GROUP_EVENT = "Message.CreateTungstenSecurityGroup.Event";
String MESSAGE_DELETE_TUNGSTEN_SECURITY_GROUP_EVENT = "Message.DeleteTungstenSecurityGroup.Event";
String MESSAGE_ADD_SECURITY_GROUP_RULE_EVENT = "Message.AddSecurityGroupRule.Event";
String MESSAGE_REMOVE_SECURITY_GROUP_RULE_EVENT = "Message.RemoveSecurityGroupRule.Event";
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// 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.security;

import org.apache.cloudstack.api.Identity;
import org.apache.cloudstack.api.InternalIdentity;

public interface TungstenSecurityGroupRule extends Identity, InternalIdentity {
}
3 changes: 3 additions & 0 deletions api/src/main/java/com/cloud/offering/NetworkOffering.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public enum Detail {
public final static String SystemPrivateGatewayNetworkOfferingWithoutVlan = "System-Private-Gateway-Network-Offering-Without-Vlan";

public final static String DefaultSharedNetworkOfferingWithSGService = "DefaultSharedNetworkOfferingWithSGService";
public static final String DEFAULT_TUNGSTEN_SHARED_NETWORK_OFFERING_WITH_SGSERVICE = "DefaultTungstenSharedNetworkOfferingWithSGService";
public final static String QuickCloudNoServices = "QuickCloudNoServices";
public final static String DefaultIsolatedNetworkOfferingWithSourceNatService = "DefaultIsolatedNetworkOfferingWithSourceNatService";
public final static String OvsIsolatedNetworkOfferingWithSourceNatService = "OvsIsolatedNetworkOfferingWithSourceNatService";
Expand Down Expand Up @@ -87,6 +88,8 @@ public enum Detail {

boolean isForVpc();

boolean isForTungsten();

TrafficType getTrafficType();

boolean isSpecifyVlan();
Expand Down
62 changes: 62 additions & 0 deletions api/src/main/java/org/apache/cloudstack/api/ApiConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,67 @@ public class ApiConstants {
public static final String VSWITCH_TYPE_PUBLIC_TRAFFIC = "publicvswitchtype";
public static final String VSWITCH_NAME_GUEST_TRAFFIC = "guestvswitchname";
public static final String VSWITCH_NAME_PUBLIC_TRAFFIC = "publicvswitchname";
// Tungsten-Fabric
public static final String TUNGSTEN_VIRTUAL_ROUTER_UUID = "tungstenvirtualrouteruuid";
public static final String TUNGSTEN_PROVIDER_HOSTNAME = "tungstenproviderhostname";
public static final String TUNGSTEN_PROVIDER_PORT = "tungstenproviderport";
public static final String TUNGSTEN_PROVIDER_UUID = "tungstenprovideruuid";
public static final String TUNGSTEN_GATEWAY = "tungstengateway";
public static final String TUNGSTEN_PROVIDER_VROUTER_PORT = "tungstenprovidervrouterport";
public static final String TUNGSTEN_PROVIDER_INTROSPECT_PORT = "tungstenproviderintrospectport";
public static final String SRC_NETWORK = "srcnetwork";
public static final String SRC_IP_PREFIX = "srcipprefix";
public static final String SRC_IP_PREFIX_LEN = "srcipprefixlen";
public static final String SRC_START_PORT = "srcstartport";
public static final String SRC_END_PORT = "srcendport";
public static final String DEST_NETWORK = "destnetwork";
public static final String DEST_IP_PREFIX = "destipprefix";
public static final String DEST_IP_PREFIX_LEN = "destipprefixlen";
public static final String DEST_START_PORT = "deststartport";
public static final String DEST_END_PORT = "destendport";
public static final String MAJOR_SEQUENCE = "majorsequence";
public static final String MINOR_SEQUENCE = "minorsequence";
public static final String POLICY_UUID = "policyuuid";
public static final String RULE_UUID = "ruleuuid";
public static final String DIRECTION = "direction";
public static final String TAG_UUID = "taguuid";
public static final String TAG_TYPE = "tagtype";
public static final String TAG_VALUE = "tagvalue";
public static final String TAG_TYPE_UUID = "tagtypeuuid";
public static final String NETWORK_UUID = "networkuuid";
public static final String NIC_UUID = "nicuuid";
public static final String VM_UUID = "vmuuid";
public static final String ONE_WAY = "oneway";
public static final String POLICY = "policy";
public static final String VM = "vm";
public static final String FIREWALL_POLICY = "firewallpolicy";
public static final String FIREWALL_RULE = "firewallrule";
public static final String TAG = "tag";
public static final String APPLICATION_POLICY_SET_UUID = "applicationpolicysetuuid";
public static final String FIREWALL_POLICY_UUID = "firewallpolicyuuid";
public static final String FIREWALL_RULE_UUID = "firewallruleuuid";
public static final String ADDRESS_GROUP_UUID = "addressgroupuuid";
public static final String SERVICE_GROUP_UUID = "servicegroupuuid";
public static final String SEQUENCE = "sequence";
public static final String SERVICE_GROUP = "servicegroup";
public static final String SRC_ADDRESS_GROUP = "srcaddressgroup";
public static final String DEST_ADDRESS_GROUP = "destaddressgroup";
public static final String SRC_TAG = "srctag";
public static final String DEST_TAG = "desttag";
public static final String IP_PREFIX = "ipprefix";
public static final String IP_PREFIX_LEN = "ipprefixlen";
public static final String SRC_ADDRESS_GROUP_UUID = "srcaddressgroupuuid";
public static final String DEST_ADDRESS_GROUP_UUID = "destaddressgroupuuid";
public static final String SRC_TAG_UUID = "srctaguuid";
public static final String DEST_TAG_UUID = "desttaguuid";
public static final String SRC_NETWORK_UUID = "srcnetworkuuid";
public static final String DEST_NETWORK_UUID = "destnetworkuuid";
public static final String LOGICAL_ROUTER_UUID = "logicalrouteruuid";
public static final String RETRY = "retry";
public static final String HTTP_METHOD = "httpmethodtype";
public static final String EXPECTED_CODE = "expectedcode";
public static final String URL_PATH = "urlpath";

// Ovs controller
public static final String OVS_DEVICE_ID = "ovsdeviceid";
public static final String OVS_DEVICE_NAME = "ovsdevicename";
Expand Down Expand Up @@ -705,6 +766,7 @@ public class ApiConstants {
public static final String FORCE_ENCAP = "forceencap";
public static final String SPLIT_CONNECTIONS = "splitconnections";
public static final String FOR_VPC = "forvpc";
public static final String FOR_TUNGSTEN = "fortungsten";
public static final String SHRINK_OK = "shrinkok";
public static final String NICIRA_NVP_DEVICE_ID = "nvpdeviceid";
public static final String NICIRA_NVP_TRANSPORT_ZONE_UUID = "transportzoneuuid";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,11 @@ public class CreateNetworkOfferingCmd extends BaseCmd {
description = "true if network offering is meant to be used for VPC, false otherwise.")
private Boolean forVpc;

@Parameter(name = ApiConstants.FOR_TUNGSTEN,
type = CommandType.BOOLEAN,
description = "true if network offering is meant to be used for Tungsten-Fabric, false otherwise.")
private Boolean forTungsten;

@Parameter(name = ApiConstants.DETAILS, type = CommandType.MAP, since = "4.2.0", description = "Network offering details in key/value pairs."
+ " Supported keys are internallbprovider/publiclbprovider with service provider as a value, and"
+ " promiscuousmode/macaddresschanges/forgedtransmits with true/false as value to accept/reject the security settings if available for a nic/portgroup")
Expand Down Expand Up @@ -240,6 +245,10 @@ public Boolean getForVpc() {
return forVpc;
}

public Boolean getForTungsten() {
return forTungsten;
}

public Boolean getEgressDefaultPolicy() {
if (egressDefaultPolicy == null) {
return true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ public class CreateNetworkCmd extends BaseCmd implements UserCmd {
@Parameter(name = ApiConstants.VPC_ID, type = CommandType.UUID, entityType = VpcResponse.class, description = "the VPC network belongs to")
private Long vpcId;

@Parameter(name = ApiConstants.TUNGSTEN_VIRTUAL_ROUTER_UUID, type = CommandType.STRING, description = "Tungsten-Fabric virtual router the network belongs to")
private String tungstenVirtualRouterUuid;

@Parameter(name = ApiConstants.START_IPV6, type = CommandType.STRING, description = "the beginning IPv6 address in the IPv6 network range")
private String startIpv6;

Expand Down Expand Up @@ -248,6 +251,10 @@ public Long getAssociatedNetworkId() {
return associatedNetworkId;
}

public String getTungstenVirtualRouterUuid() {
return tungstenVirtualRouterUuid;
}

@Override
public boolean isDisplay() {
if(displayNetwork == null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ public class NetworkOfferingResponse extends BaseResponseWithAnnotations {
@Param(description = "true if network offering can be used by VPC networks only")
private Boolean forVpc;

@SerializedName(ApiConstants.FOR_TUNGSTEN)
@Param(description = "true if network offering can be used by Tungsten-Fabric networks only")
private Boolean forTungsten;

@SerializedName(ApiConstants.IS_PERSISTENT)
@Param(description = "true if network offering supports persistent networks, false otherwise")
private Boolean isPersistent;
Expand Down Expand Up @@ -211,6 +215,10 @@ public void setForVpc(Boolean forVpc) {
this.forVpc = forVpc;
}

public void setForTungsten(Boolean forTungsten) {
this.forTungsten = forTungsten;
}

public void setIsPersistent(Boolean isPersistent) {
this.isPersistent = isPersistent;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,10 @@ public class NetworkResponse extends BaseResponseWithAssociatedNetwork implement
@Param(description = "the name of the Network associated with this network")
private String associatedNetworkName;

@SerializedName(ApiConstants.TUNGSTEN_VIRTUAL_ROUTER_UUID)
@Param(description = "Tungsten-Fabric virtual router the network belongs to")
private String tungstenVirtualRouterUuid;

@SerializedName(ApiConstants.CAN_USE_FOR_DEPLOY)
@Param(description = "list networks available for vm deployment")
private Boolean canUseForDeploy;
Expand Down Expand Up @@ -538,6 +542,10 @@ public void setRedundantRouter(Boolean redundantRouter) {
this.redundantRouter = redundantRouter;
}

public String getTungstenVirtualRouterUuid() {
return tungstenVirtualRouterUuid;
}

public Boolean getSupportsVmAutoScaling() {
return supportsVmAutoScaling;
}
Expand All @@ -546,6 +554,10 @@ public void setSupportsVmAutoScaling(Boolean supportsVmAutoScaling) {
this.supportsVmAutoScaling = supportsVmAutoScaling;
}

public void setTungstenVirtualRouterUuid(String tungstenVirtualRouterUuid) {
this.tungstenVirtualRouterUuid = tungstenVirtualRouterUuid;
}

public String getVpcName() {
return vpcName;
}
Expand Down
14 changes: 14 additions & 0 deletions client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,17 @@
<id>juniper-contrail</id>
<url>https://juniper.github.io/contrail-maven/snapshots</url>
</repository>
<repository>
<id>juniper-tungsten-api</id>
<url>https://github.com/radu-todirica/tungsten-api/raw/master</url>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this going to be moved elsewhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. This jar needs to be moved to a Cloudstack repository.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

</repository>
</repositories>
<dependencies>
<dependency>
<groupId>net.juniper.tungsten</groupId>
<artifactId>juniper-tungsten-api</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
Expand Down Expand Up @@ -202,6 +211,11 @@
<artifactId>cloud-plugin-network-ovs</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cloudstack</groupId>
<artifactId>cloud-plugin-network-tungsten</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cloudstack</groupId>
<artifactId>cloud-plugin-network-elb</artifactId>
Expand Down
Loading