import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
+import java.util.concurrent.atomic.AtomicBoolean;
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924.IpAddress;
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid;
/** The ucast local macs. */
List<LocalUcastMacs> ucastLocalMacs = Collections.synchronizedList(new ArrayList<LocalUcastMacs>());
+ /** the status of this device connectin */
+ AtomicBoolean connected = new AtomicBoolean(true);
+
/**
* VTEP device name mentioned with L2 Gateway.
*
ucastLocalMacs.remove(localUcastMacs);
}
+ public boolean isConnected() {
+ return connected.get();
+ }
+
+ public void setConnected(boolean connected) {
+ this.connected.set(connected);
+ }
+
/*
* (non-Javadoc)
*