Class HwvtepDeviceInfo


  • public class HwvtepDeviceInfo
    extends Object
    • Method Detail

      • putPhysicalSwitch

        public void putPhysicalSwitch​(UUID uuid,
                                      PhysicalSwitch physicalSwitch)
      • putPhysicalSwitchForTunnel

        public void putPhysicalSwitchForTunnel​(UUID uuid,
                                               UUID psUUID)
      • getPhysicalSwitchForTunnel

        public PhysicalSwitch getPhysicalSwitchForTunnel​(UUID uuid)
      • removePhysicalSwitchForTunnel

        public void removePhysicalSwitchForTunnel​(UUID uuid)
      • getPhysicalSwitchesForTunnels

        public Map<UUID,​UUID> getPhysicalSwitchesForTunnels()
      • isKeyInTransit

        public boolean isKeyInTransit​(Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls,
                                      org.opendaylight.yangtools.yang.binding.InstanceIdentifier key)
      • isConfigDataAvailable

        public boolean isConfigDataAvailable​(Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls,
                                             org.opendaylight.yangtools.yang.binding.InstanceIdentifier key)
      • updateConfigData

        public void updateConfigData​(Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls,
                                     org.opendaylight.yangtools.yang.binding.InstanceIdentifier key,
                                     Object data)
      • getConfigData

        public HwvtepDeviceInfo.DeviceData getConfigData​(Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls,
                                                         org.opendaylight.yangtools.yang.binding.InstanceIdentifier key)
      • getConfigData

        public Map<Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable>,​Map<org.opendaylight.yangtools.yang.binding.InstanceIdentifier,​HwvtepDeviceInfo.DeviceData>> getConfigData()
      • clearConfigData

        public void clearConfigData​(Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls,
                                    org.opendaylight.yangtools.yang.binding.InstanceIdentifier key)
      • markKeyAsInTransit

        public void markKeyAsInTransit​(Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls,
                                       org.opendaylight.yangtools.yang.binding.InstanceIdentifier key)
      • updateDeviceOperData

        public void updateDeviceOperData​(Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls,
                                         org.opendaylight.yangtools.yang.binding.InstanceIdentifier key,
                                         UUID uuid,
                                         Object data)
      • clearDeviceOperData

        public void clearDeviceOperData​(Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls,
                                        org.opendaylight.yangtools.yang.binding.InstanceIdentifier key)
      • clearDeviceOperData

        public void clearDeviceOperData​(Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls)
      • getDeviceOperData

        public Object getDeviceOperData​(Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls,
                                        UUID uuid)
      • getDeviceOperData

        public HwvtepDeviceInfo.DeviceData getDeviceOperData​(Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls,
                                                             org.opendaylight.yangtools.yang.binding.InstanceIdentifier key)
      • getDeviceOperData

        public Map<org.opendaylight.yangtools.yang.binding.InstanceIdentifier,​HwvtepDeviceInfo.DeviceData> getDeviceOperData​(Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls)
      • getDeviceOperKey

        public org.opendaylight.yangtools.yang.binding.InstanceIdentifier getDeviceOperKey​(Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls,
                                                                                           UUID uuid)
      • getUUID

        public UUID getUUID​(Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls,
                            org.opendaylight.yangtools.yang.binding.InstanceIdentifier key)
      • addJobToQueue

        public <T extends org.opendaylight.yangtools.yang.binding.Identifiable> void addJobToQueue​(DependentJob<T> job)
      • onConfigDataAvailable

        public void onConfigDataAvailable()
      • onOperDataAvailable

        public void onOperDataAvailable()
      • scheduleTransaction

        public void scheduleTransaction​(TransactCommand transactCommand)
      • clearInTransit

        public void clearInTransit​(Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls,
                                   org.opendaylight.yangtools.yang.binding.InstanceIdentifier key)
      • incRefCount

        public void incRefCount​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier reference,
                                org.opendaylight.yangtools.yang.binding.InstanceIdentifier tep)
      • getRefCount

        public int getRefCount​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier tep)
      • getRefCounts

        public Set<org.opendaylight.yangtools.yang.binding.InstanceIdentifier> getRefCounts​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier tep)
      • decRefCount

        public void decRefCount​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier reference,
                                org.opendaylight.yangtools.yang.binding.InstanceIdentifier tep)
      • clearLogicalSwitchRefs

        public void clearLogicalSwitchRefs​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LogicalSwitches> logicalSwitchKey)
      • updateRemoteMcast

        public void updateRemoteMcast​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LogicalSwitches> lsIid,
                                      org.opendaylight.yangtools.yang.binding.InstanceIdentifier<RemoteMcastMacs> mcastIid,
                                      RemoteMcastMacs mac)
      • updateRemoteUcast

        public void updateRemoteUcast​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LogicalSwitches> lsIid,
                                      org.opendaylight.yangtools.yang.binding.InstanceIdentifier<RemoteUcastMacs> ucastIid,
                                      RemoteUcastMacs mac)
      • removeRemoteMcast

        public void removeRemoteMcast​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LogicalSwitches> lsIid,
                                      org.opendaylight.yangtools.yang.binding.InstanceIdentifier<RemoteMcastMacs> mcastIid)
      • removeRemoteUcast

        public void removeRemoteUcast​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LogicalSwitches> lsIid,
                                      org.opendaylight.yangtools.yang.binding.InstanceIdentifier<RemoteUcastMacs> ucastIid)
      • setConfigKeyVsData

        public void setConfigKeyVsData​(Map<Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable>,​Map<org.opendaylight.yangtools.yang.binding.InstanceIdentifier,​HwvtepDeviceInfo.DeviceData>> configKeyVsData)
      • setControllerTxHistory

        public void setControllerTxHistory​(TransactionHistory controllerTxHistory)
      • setDeviceUpdateHistory

        public void setDeviceUpdateHistory​(TransactionHistory deviceUpdateHistory)
      • getOperData

        public Map<Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable>,​Map<org.opendaylight.yangtools.yang.binding.InstanceIdentifier,​HwvtepDeviceInfo.DeviceData>> getOperData()