Class: Clusterfuck::BGPPeer::RouterIDFactory

Inherits:
Object
  • Object
show all
Defined in:
lib/clusterfuck/bgp_peer.rb

Overview

A router ID just an IP to identify the router on BGP. It does not have to be equal to the IP; just has to be an IP. We just pick start somewhere.

Class Method Summary collapse

Class Method Details

.nextObject



32
33
34
# File 'lib/clusterfuck/bgp_peer.rb', line 32

def self.next
  @id = @id.succ
end