Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Mobility info to xmpp enet and inet message
To support mobility extended community, add sequence number and sticky bit to xmpp route messages. Xmpp message xml message will carry a tag "mobility" with "seqno" and "sticky" as attribute. Example: <xmpp-message> <mobility seqno="2" sticky="true" /> </xmpp-message> Change-Id: Ife4909cff8e2febe349c44b48c5cae7abf0440f9 Related-bug: #1645092
- Loading branch information
Showing
4 changed files
with
71 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<entry xmlns='http://ietf.org/protocol/bgpvpn'> | ||
<nlri> | ||
<af>1</af> | ||
<address>10.1.2.1/32</address> | ||
</nlri> | ||
<version>1</version> | ||
<mobility seqno="5" sticky="false"/> | ||
<next-hops> | ||
<next-hop> | ||
<af>1</af> | ||
<address>infrastructure-ip-address</address> | ||
<label>10000</label> | ||
</next-hop> | ||
</next-hops> | ||
</entry> | ||
|
||
|
||
<!-- | ||
<entry xmlns='http://ietf.org/protocol/bgpvpn'> | ||
<nlri af='1'>10.1.2.1/32</nlri> | ||
<next-hops-list> | ||
<next-hop af='1' label='10000'>'infrastructure-ip-address'</next-hop> | ||
</next-hops-list> | ||
<version>1</version> | ||
</entry> | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters