Index: trunk/routing/twistedbgp/src/bgp.py |
— | — | @@ -1918,6 +1918,16 @@ |
1919 | 1919 | self.advertised = set() |
1920 | 1920 | self.toAdvertise = set() |
1921 | 1921 | |
| 1922 | + def completeInit(self, protocol): |
| 1923 | + """ |
| 1924 | + Called by FSM when BGP resources should be initialized. |
| 1925 | + """ |
| 1926 | + |
| 1927 | + BGPPeering.completeInit(self, protocol) |
| 1928 | + |
| 1929 | + # Clear the existing set, it may get reused |
| 1930 | + self.advertised = set() |
| 1931 | + |
1922 | 1932 | def sendAdvertisements(self): |
1923 | 1933 | """ |
1924 | 1934 | Called when the BGP session has been established and is |