/*
* Copyright (C) 2014 Cisco Systems, Inc.
- *
+ *
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Authors : Thomas Bachman
*/
package org.opendaylight.groupbasedpolicy.renderer.opflex.lib.messages;
import java.util.List;
-import org.opendaylight.groupbasedpolicy.jsonrpc.RpcMessage;
+import org.opendaylight.groupbasedpolicy.renderer.opflex.jsonrpc.RpcMessage;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.JsonNode;
public static final String DECLARE_MESSAGE = "endpoint_declare";
static public class Params {
+
private List<ManagedObject> endpoint;
private int prr;
+
public List<ManagedObject> getEndpoint() {
return endpoint;
}
+
public void setEndpoint(List<ManagedObject> endpoint) {
this.endpoint = endpoint;
}
+
public int getPrr() {
return prr;
}
+
public void setPrr(int prr) {
this.prr = prr;
}
}
+
private JsonNode id;
private String method;
private List<Params> params;
/**
* Minimal check on validity of message
+ *
* @return true if message has passed validity check
*/
@JsonIgnore