You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by hu...@apache.org on 2012/10/05 18:27:36 UTC
git commit: These need to be objects instead of primitives otherwise
they get included by default during conversion to json.
Updated Branches:
refs/heads/nicira-l3support 27473bd6e -> 18e11ac0c
These need to be objects instead of primitives otherwise they get
included by default during conversion to json.
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/18e11ac0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/18e11ac0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/18e11ac0
Branch: refs/heads/nicira-l3support
Commit: 18e11ac0c8d5cf10bea5e6a4cdca18725873a02b
Parents: 27473bd
Author: Hugo Trippaers <ht...@schubergphilis.com>
Authored: Fri Oct 5 09:27:21 2012 -0700
Committer: Hugo Trippaers <ht...@schubergphilis.com>
Committed: Fri Oct 5 09:27:21 2012 -0700
----------------------------------------------------------------------
.../src/com/cloud/network/nicira/Match.java | 20 +++++++-------
1 files changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/18e11ac0/plugins/network-elements/nicira-nvp/src/com/cloud/network/nicira/Match.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/nicira-nvp/src/com/cloud/network/nicira/Match.java b/plugins/network-elements/nicira-nvp/src/com/cloud/network/nicira/Match.java
index cd89847..ce5205b 100644
--- a/plugins/network-elements/nicira-nvp/src/com/cloud/network/nicira/Match.java
+++ b/plugins/network-elements/nicira-nvp/src/com/cloud/network/nicira/Match.java
@@ -22,15 +22,15 @@ package com.cloud.network.nicira;
public class Match {
private Integer protocol;
private String source_ip_addresses;
- private boolean source_ip_addresses_not;
+ private Boolean source_ip_addresses_not;
private String destination_ip_addresses;
- private boolean destination_ip_addresses_not;
+ private Boolean destination_ip_addresses_not;
private Integer source_port_min;
private Integer source_port_max;
- private boolean source_port_not;
+ private Boolean source_port_not;
private Integer destination_port_min;
private Integer destination_port_max;
- private boolean destination_port_not;
+ private Boolean destination_port_not;
private String ethertype = "IPv4";
public Integer getProtocol() {
@@ -57,11 +57,11 @@ public class Match {
this.source_port_max = source_port_max;
}
- public boolean isSourcePortNot() {
+ public Boolean isSourcePortNot() {
return source_port_not;
}
- public void setSourcePortNot(boolean source_port_not) {
+ public void setSourcePortNot(Boolean source_port_not) {
this.source_port_not = source_port_not;
}
@@ -81,11 +81,11 @@ public class Match {
this.destination_port_max = destination_port_max;
}
- public boolean isDestinationPortNot() {
+ public Boolean isDestinationPortNot() {
return destination_port_not;
}
- public void setDestinationPortNot(boolean destination_port_not) {
+ public void setDestinationPortNot(Boolean destination_port_not) {
this.destination_port_not = destination_port_not;
}
@@ -121,11 +121,11 @@ public class Match {
this.destination_ip_addresses = destination_ip_addresses;
}
- public boolean isDestinationIpAddressesNot() {
+ public Boolean isDestinationIpAddressesNot() {
return destination_ip_addresses_not;
}
- public void setDestinationIpAddressesNot(boolean destination_ip_addresses_not) {
+ public void setDestinationIpAddressesNot(Boolean destination_ip_addresses_not) {
this.destination_ip_addresses_not = destination_ip_addresses_not;
}