
From francis@mpi-sws.org  Fri Feb 13 12:31:50 2009
Return-Path: <francis@mpi-sws.org>
X-Original-To: grow@core3.amsl.com
Delivered-To: grow@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 13E533A69DF for <grow@core3.amsl.com>; Fri, 13 Feb 2009 12:31:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.249
X-Spam-Level: 
X-Spam-Status: No, score=-6.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zgCEhH+LVTFH for <grow@core3.amsl.com>; Fri, 13 Feb 2009 12:31:49 -0800 (PST)
Received: from apollo.mpi-sb.mpg.de (swsao0807.mpi-sb.mpg.de [139.19.1.50]) by core3.amsl.com (Postfix) with ESMTP id 702313A69DE for <grow@ietf.org>; Fri, 13 Feb 2009 12:30:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mpi-sb.mpg.de; s=mail200803; h=To:Cc:MIME-Version:Subject:From: Message-ID:Date:Content-Type; bh=MHKoElHmc0ZMCDowpeIW3jtnJLoveWS MOoqeN/AvjNc=; b=uUtD+HJN7/2xRrtI53BTf51VDl8M+JUFTp39Vur9//+Nq7i 8+AeMVpNq5LrqEUi5nuCagXRwtW3FAgbKMPr669W7vtKpIGT8Gu/JXDzVNzPhcz+ on0Glmu/4pGl8yOlAPo82iVKLYX/ixktrCGLL63IDnafZ58RWvoRXVAF47Go=
Received: from domino.mpi-inf.mpg.de ([139.19.3.53]:3824) by apollo.mpi-sb.mpg.de (envelope-from <francis@mpi-sws.org>)  with esmtp (Exim 4.69) id 1LY4gK-0001n3-2R; Fri, 13 Feb 2009 21:30:43 +0100
To: grow@ietf.org
MIME-Version: 1.0
X-KeepSent: F1D6588B:E6CB4815-C125755C:006FD018; type=4; name=$KeepSent
X-Mailer: Lotus Notes Release 8.0.2 HF88 September 24, 2008
From: Paul Francis <francis@mpi-sws.org>
Message-ID: <OFF1D6588B.E6CB4815-ONC125755C.006FD018-C125755C.0070AAA8@notes.mpi-sb.mpg.de>
Date: Fri, 13 Feb 2009 21:30:37 +0100
X-MIMETrack: Serialize by Router on domino/MPII/DE(Release 8.0.2|August 07, 2008) at 02/13/2009 21:30:39, Serialize complete at 02/13/2009 21:30:39
Content-Type: text/plain; charset="US-ASCII"
Subject: [GROW] draft of virtual aggregation
X-BeenThere: grow@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Grow Working Group Mailing List <grow.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/grow>, <mailto:grow-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/grow>
List-Post: <mailto:grow@ietf.org>
List-Help: <mailto:grow-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/grow>, <mailto:grow-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Feb 2009 20:31:50 -0000

Hi Gang,

Xiaohu and myself have been developing an approach to FIB reduction called 
virtual aggregation.  Long story short, it allows a single ISP to shrink 
the demands on its router FIBs by upwards of an order of magnitude with 
negligible performance penalty (though not that RIB usage does not really 
change).  The upshot is that it extends the life of routers by many years, 
and this may be particularly important if routing tables shoot up as IPv4 
addresses deplete.

We've presented that at IDR the last couple meetings, and gotten much good 
feedback from that group, but in the end it was decided that GROW would be 
a more appropriate venue, in part because virtual aggregation requires no 
changes to the BGP wire protocol.

We want to announce the availability of a few drafts on this, the core 
draft (http://tools.ietf.org/html/draft-francis-intra-va-00), and two 
companion drafts that describe how to use specific tunnels (
http://tools.ietf.org/html/draft-francis-va-tunnels-mpls-00 and 
http://tools.ietf.org/html/draft-xu-va-tunnels-gre-00).  Note that 
although this draft have a -00 version, this is actually the third 
revision. 

We hope to present these at GROW in SF.  Any comments greatly appreciated.

PF


From pds@lugs.com  Tue Feb 17 10:26:40 2009
Return-Path: <pds@lugs.com>
X-Original-To: grow@core3.amsl.com
Delivered-To: grow@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6D4033A6964 for <grow@core3.amsl.com>; Tue, 17 Feb 2009 10:26:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kCEvaU-vYcAz for <grow@core3.amsl.com>; Tue, 17 Feb 2009 10:26:39 -0800 (PST)
Received: from murdock.lugs.com (ipv6.murdock.lugs.com [IPv6:2001:418:c01::4]) by core3.amsl.com (Postfix) with ESMTP id 776343A67E7 for <grow@ietf.org>; Tue, 17 Feb 2009 10:26:39 -0800 (PST)
Received: from six.dgsi.com (six.dgsi.com [204.62.232.6] (may be forged)) (authenticated bits=0) by murdock.lugs.com (8.13.8/8.13.8) with ESMTP id n1HIPooU045693; Tue, 17 Feb 2009 13:26:42 -0500 (EST) (envelope-from pds@lugs.com)
Message-Id: <C89396CA-1CDA-4492-81E5-E20AE2C61811@lugs.com>
From: Peter Schoenmaker <pds@lugs.com>
To: LOWE Jim <Jim.Lowe@alcatel-lucent.com>
In-Reply-To: <41B3B178A129B6458752EC1B4D14998C020065A0@USDALSMBS04.ad3.ad.alcatel.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v930.3)
Date: Tue, 17 Feb 2009 10:26:39 -0800
References: <F33485AC-EE0C-4534-8D6E-C1CCB2389A75@lugs.com> <41B3B178A129B6458752EC1B4D14998C020065A0@USDALSMBS04.ad3.ad.alcatel.com>
X-Mailer: Apple Mail (2.930.3)
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (murdock.lugs.com [192.80.15.4]); Tue, 17 Feb 2009 13:26:47 -0500 (EST)
Cc: grow@ietf.org
Subject: Re: [GROW] new working group items
X-BeenThere: grow@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Grow Working Group Mailing List <grow.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/grow>, <mailto:grow-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/grow>
List-Post: <mailto:grow@ietf.org>
List-Help: <mailto:grow-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/grow>, <mailto:grow-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Feb 2009 18:26:40 -0000

Its been a long time, but the consensus appears to be to accept this  
as a working group draft.

peter


On Dec 19, 2008, at 6:58 AM, LOWE Jim wrote:

> Hi Peter,
>
> Since I'm a co-author of the document in question, this might be in  
> bad
> taste, but I would like to see the document go forward as a working
> group draft.
>
> Cheers,
> Jim.
>
> -----Original Message-----
> From: grow-bounces@ietf.org [mailto:grow-bounces@ietf.org] On Behalf  
> Of
> Peter Schoenmaker
> Sent: Thursday, December 18, 2008 6:33 PM
> To: grow@ietf.org
> Subject: [GROW] new working group items
>
> hi,
>
> We would like to poll the group about a new working group item.
>
> o  at dublin dimitri papadimitriou presented on draft-dimitri-grow-
> rss-03.txt.  <http://tools.ietf.org/id/draft-dimitri-grow-rss-03.txt>
> I would like to ask if the working group thinks we should adopt this  
> as
> a working group draft?  The proposal is to make this an experimental
> RFC.
>
> Thanks
>
> peter
>
>
> _______________________________________________
> GROW mailing list
> GROW@ietf.org
> https://www.ietf.org/mailman/listinfo/grow


From pds@lugs.com  Tue Feb 17 11:14:56 2009
Return-Path: <pds@lugs.com>
X-Original-To: grow@core3.amsl.com
Delivered-To: grow@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1DB843A6956 for <grow@core3.amsl.com>; Tue, 17 Feb 2009 11:14:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lSyZxfAKAYTl for <grow@core3.amsl.com>; Tue, 17 Feb 2009 11:14:55 -0800 (PST)
Received: from murdock.lugs.com (ipv6.murdock.lugs.com [IPv6:2001:418:c01::4]) by core3.amsl.com (Postfix) with ESMTP id 217223A67EE for <grow@ietf.org>; Tue, 17 Feb 2009 11:14:54 -0800 (PST)
Received: from six.dgsi.com (six.dgsi.com [204.62.232.6] (may be forged)) (authenticated bits=0) by murdock.lugs.com (8.13.8/8.13.8) with ESMTP id n1HJF10Q045924 for <grow@ietf.org>; Tue, 17 Feb 2009 14:15:04 -0500 (EST) (envelope-from pds@lugs.com)
Message-Id: <5744814C-0183-4D88-97C6-E02C86DB67DE@lugs.com>
From: Peter Schoenmaker <pds@lugs.com>
To: grow@ietf.org
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v930.3)
Date: Tue, 17 Feb 2009 11:15:00 -0800
X-Mailer: Apple Mail (2.930.3)
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (murdock.lugs.com [192.80.15.4]); Tue, 17 Feb 2009 14:15:05 -0500 (EST)
Subject: [GROW] Agenda Items for SF
X-BeenThere: grow@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Grow Working Group Mailing List <grow.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/grow>, <mailto:grow-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/grow>
List-Post: <mailto:grow@ietf.org>
List-Help: <mailto:grow-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/grow>, <mailto:grow-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Feb 2009 19:14:56 -0000

Hi,

GROW has 1.5 hours at the SF IETF.  We currently have one agenda  
item.  I would like to find out if there are any additional agenda  
items for the San Francisco IETF?

thanks

peter



From yanhe@CS.ColoState.EDU  Thu Feb 19 22:07:06 2009
Return-Path: <yanhe@CS.ColoState.EDU>
X-Original-To: grow@core3.amsl.com
Delivered-To: grow@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 92BF03A6950 for <grow@core3.amsl.com>; Thu, 19 Feb 2009 22:07:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.433
X-Spam-Level: 
X-Spam-Status: No, score=-0.433 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FF_IHOPE_YOU_SINK=2.166]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fh6nnacN0e3J for <grow@core3.amsl.com>; Thu, 19 Feb 2009 22:06:55 -0800 (PST)
Received: from mail.halls.colostate.edu (mail.halls.colostate.edu [129.82.88.10]) by core3.amsl.com (Postfix) with ESMTP id 79D8D3A6765 for <grow@ietf.org>; Thu, 19 Feb 2009 22:06:50 -0800 (PST)
Received: from [192.168.0.3] (nagg217062.halls.colostate.edu [129.82.217.62]) by mail.halls.colostate.edu (8.12.11/8.12.11) with ESMTP id n1K6725B011717 for <grow@ietf.org>; Thu, 19 Feb 2009 23:07:03 -0700
Message-Id: <3C7E8D88-B398-42B1-95F1-673CA568E50B@CS.ColoState.EDU>
From: He Yan <yanhe@CS.ColoState.EDU>
To: grow@ietf.org
Content-Type: multipart/mixed; boundary=Apple-Mail-35--895214221
Mime-Version: 1.0 (Apple Message framework v930.3)
Date: Thu, 19 Feb 2009 23:07:03 -0700
X-Mailer: Apple Mail (2.930.3)
Subject: [GROW] BGP routing information in XML format
X-BeenThere: grow@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Grow Working Group Mailing List <grow.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/grow>, <mailto:grow-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/grow>
List-Post: <mailto:grow@ietf.org>
List-Help: <mailto:grow-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/grow>, <mailto:grow-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Feb 2009 06:07:06 -0000

--Apple-Mail-35--895214221
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: 7bit

Hi,

We have been working on a new BGP monitoring tool BGPmon(http://bgpmon.netsec.colostate.edu/index.html 
) for some time. Some objectives are to make BGP data available in  
real time as well as modify the archive format so it is easier to  
annotate and share.  Toward this end, we have BGP data available in an  
XML format rather than MRT. Compared with MRT, XML is more extensible,  
human and machine-readable and can serve as a common interface for a  
variety of tools.

And we have submitted a Internet Draft  that describes the XML format  
for BGP routing information(XFB). Attached is a copy of that.

--Apple-Mail-35--895214221
Content-Disposition: attachment;
	filename=draft-cheng-grow-bgp-xml-00.txt
Content-Type: text/plain;
	x-unix-mode=0644;
	name="draft-cheng-grow-bgp-xml-00.txt"
Content-Transfer-Encoding: quoted-printable




IETF                                                       P. Cheng, Ed.
Internet-Draft                                                  UCLA IRL
Intended status: Informational                               H. Yan, Ed.
Expires: August 19, 2009                                 K. Burnett, Ed.
                                                          D. Massey, Ed.
                                                        CSU-Netsec Group
                                                           L. Zhang, Ed.
                                                                UCLA IRL
                                                            Feb 15, 2009


                 BGP routing information in XML format
                      draft-cheng-grow-bgp-xml-00

Status of this Memo

   This Internet-Draft is submitted to IETF in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF), its areas, and its working groups.  Note that
   other groups may also distribute working documents as Internet-
   Drafts.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   The list of current Internet-Drafts can be accessed at
   http://www.ietf.org/ietf/1id-abstracts.txt.

   The list of Internet-Draft Shadow Directories can be accessed at
   http://www.ietf.org/shadow.html.

   This Internet-Draft will expire on August 19, 2009.

Copyright Notice

   Copyright (c) 2009 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.



Cheng, et al.            Expires August 19, 2009                [Page 1]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


Abstract

   This document describes the XML format for BGP routing information
   (XFB).  It can be used to describe both BGP messages and BGP control
   information.  Compared with MRT, XFB is more extensible, human and
   machine-readable and can serve as a common interface for a variety of
   tools.

Requirements Language

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in RFC 2119 [RFC2119].






































Cheng, et al.            Expires August 19, 2009                [Page 2]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


Table of Contents

   1.  Introduction . . . . . . . . . . . . . . . . . . . . . . . . .  4
   2.  Terminology  . . . . . . . . . . . . . . . . . . . . . . . . .  5
     2.1.  XML Notations  . . . . . . . . . . . . . . . . . . . . . .  5
   3.  BGP Monitoring Service . . . . . . . . . . . . . . . . . . . .  5
   4.  Data Types . . . . . . . . . . . . . . . . . . . . . . . . . .  6
   5.  The XFB Data Model . . . . . . . . . . . . . . . . . . . . . .  7
     5.1.  BGP_MESSAGE  . . . . . . . . . . . . . . . . . . . . . . .  7
     5.2.  TIME . . . . . . . . . . . . . . . . . . . . . . . . . . .  8
     5.3.  PEERING  . . . . . . . . . . . . . . . . . . . . . . . . .  9
     5.4.  Representing the message . . . . . . . . . . . . . . . . . 10
     5.5.  OCTET_MESSAGE (BGP Message in Octet Format)  . . . . . . . 10
     5.6.  ASCII_MSG (BGP Message in ASCII Format)  . . . . . . . . . 11
       5.6.1.  OPEN . . . . . . . . . . . . . . . . . . . . . . . . . 12
         5.6.1.1.  Defining and Processing the Parameter Value
                   field  . . . . . . . . . . . . . . . . . . . . . . 13
           5.6.1.1.1.  AUTHENTICATION . . . . . . . . . . . . . . . . 15
           5.6.1.1.2.  CAPABILITIES . . . . . . . . . . . . . . . . . 15
       5.6.2.  The UPDATE element . . . . . . . . . . . . . . . . . . 16
       5.6.3.  PATH_ATTRIBUTES Class  . . . . . . . . . . . . . . . . 17
       5.6.4.  The KEEPALIVE  . . . . . . . . . . . . . . . . . . . . 20
       5.6.5.  The ROUTE_REFRESH  . . . . . . . . . . . . . . . . . . 20
       5.6.6.  The CISCO_ROUTE_REFRESH element  . . . . . . . . . . . 21
       5.6.7.  The NOTIFICATION . . . . . . . . . . . . . . . . . . . 21
         5.6.7.1.  Example  . . . . . . . . . . . . . . . . . . . . . 23
     5.7.  STATUS_MSG . . . . . . . . . . . . . . . . . . . . . . . . 23
       5.7.1.  BGPMON . . . . . . . . . . . . . . . . . . . . . . . . 23
       5.7.2.  QUEUE_STATUS / QUEUE . . . . . . . . . . . . . . . . . 24
       5.7.3.  CHAIN_STATUS / CHAIN . . . . . . . . . . . . . . . . . 25
       5.7.4.  SESSION_STATUS / SESSION . . . . . . . . . . . . . . . 26
   6.  Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
     6.1.  BGP Open Message . . . . . . . . . . . . . . . . . . . . . 28
     6.2.  BGP Update Message . . . . . . . . . . . . . . . . . . . . 29
     6.3.  BGP Keepalive Message  . . . . . . . . . . . . . . . . . . 34
     6.4.  BGP Notification Message . . . . . . . . . . . . . . . . . 35
     6.5.  Status Message . . . . . . . . . . . . . . . . . . . . . . 35
       6.5.1.  Queue Status Message . . . . . . . . . . . . . . . . . 35
       6.5.2.  Session Status Message . . . . . . . . . . . . . . . . 37
   7.  The XFB Schema . . . . . . . . . . . . . . . . . . . . . . . . 38
   8.  Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 52
   9.  IANA Considerations  . . . . . . . . . . . . . . . . . . . . . 52
   10. Security Considerations  . . . . . . . . . . . . . . . . . . . 52
   11. References . . . . . . . . . . . . . . . . . . . . . . . . . . 52
     11.1. Normative References . . . . . . . . . . . . . . . . . . . 52
     11.2. Informative References . . . . . . . . . . . . . . . . . . 53
   Appendix A.  Storage Size Comparison . . . . . . . . . . . . . . . 53
   Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 53



Cheng, et al.            Expires August 19, 2009                [Page 3]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


1.  Introduction

   BGP routing information is an essential resource for both researchers
   and operation communities in Internet routing.  In order to
   facilitate the collection of BGP data from multiple sources and the
   usage of the collected data by multiple parties, it is important to
   define a standard format to encapsulate, export, and archive it.  A
   well designed format should have the following nice properties

   o  Human and machine-readable

   o  Easily accessible

   o  Suitable for further processing by existing tools

   o  Easy to add user annotations

   o  Easy to reconstuct raw BGP messages / ability to replay into
      router

   o  Record full control information

   o  Support BGP extensions

   In this document, we describe XFB, a XML-based format for BGP routing
   information, which is designed to meet these requirements.  XML
   (eXensible Markup Language) is a general-purpose markup language; its
   primary purpose is to facilitate the message exchange across
   different information systems, particularly via the Internet.  Using
   XML as the base for our XFB markup provides the following advantages:

   o  XFB is human and machine-readable.  By using CSS or XSL, XFB can
      be easily displayed on websites.  Because XFB is based on XML
      which is a common interface to many applications, XFB can be
      processed by a variety of existing tools.

   o  XFB can easily be extended with additional information based on
      the raw BGP routing information.  The BGP data is simply annotated
      with additional attributes and/or elements; programs which are not
      looking for this new information will simply ignore it.  This
      allows us to easily modify XFB in general (or particular BGPmons)
      to allow for newly required information.  We include guidelines
      for adding new standard elements in each section.

   o  XFB messages can be used to reconstruct the raw BGP messages, if
      needed.

   Though XFB pays a storage cost since a compact binary message is



Cheng, et al.            Expires August 19, 2009                [Page 4]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


   unpacked into ASCII text together with additional tags, our
   experiments shows that by using the default compression parameters
   for bzip2, we can still store XFB data efficiently.  For details,
   please refer to the section of storage size comparison (Appendix A).

   In addition to XFB, we will briefly describe BGPmon (BGP Monitoring
   Service), an implementation of a service to collect BGP data and make
   it available in XFB format.  Currently there are two types of BGP
   routing information encoded in XFB: BGP messages which come "over the
   wire" and may or may not be tagged with additional "helper"
   information, and BGP control/status information that originates from
   the BGPmon itself.


2.  Terminology

2.1.  XML Notations

   The syntax of XFB, being an extension of XML, is very simple.  There
   are only three terms throughout the XFB file:

   o  An "element" refers to a start tag, an end tag, and all the
      characters in between, e.g., "<example>text and/or nested
      elements</example>".

   o  An "empty element" combines the start tag and the end tag, e.g.,
      "<empty/>".

   o  An "attribute" is part of an element.  If present, they occur in
      the start tag, e.g., "<example name=3D'value'>".  Of course, they
      can also appear in empty elements, e.g., "<empty name=3D'value'/>".


3.  BGP Monitoring Service

   BGP Monitoring System (BGPMon) is designed to monitor realtime BGP
   updates and routing tables from peering BGP routers.  It supports
   distributed delployment to concurrently monitor many BGP routers.
   Most importantly, BGPmon can produce XFB stream for realtime
   processing and storage.  The XFB format can accurately encode BGP
   data without losing any information and can be easiliy extended to
   represent new BGP features.

   More specifically, BGPMon generates two types of messages: the BGP
   messages come "over the wire" and the status messages which
   periodically report the operational status of BGPMon itself.  The
   status messages carry useful information such as the peering
   relationship between BGPMon and operational routers.  Currently



Cheng, et al.            Expires August 19, 2009                [Page 5]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


   status messages convey three kind of information:

   BGPMON
      BGPMon information, currently only includes server up and down
      events.

   SESSION
      Peering information, including operation status such as uptime,
      the number of resets, the number of messages received, the number
      of announce/withdrawl received, etc.

   CHAIN
      Chaining information.  Chaining is a unique feature by which
      BGPMon servers can be linked together to achieve high scalability
      and performance.  Chaining information includes the operation
      status such as uptime, the number of messages received, etc.

   QUEUE
      Queue information, indicating the BGPMon internal queue usage for
      administrative purpose.

   Please refer to BGPMon [1] for detail information

   Moreover, please note that XFB is independent from BGPMon.  Any other
   application is free to read and produce, or even extend XFB messages.
   We simpliy includes BGPMon here to demonstrate the ease of usage and
   flexibility of the XFB format.


4.  Data Types

   The purpose of XFB is to represent information relevent to BGP,
   therefore it only supports limited number of data types.  XFB uses
   standard datatypes defined by W3C XML schema.  Please refer to XML
   Schema [2] for detail datatype definition.

   INTEGER
      A integer is represented by the INTEGER data type.  Integer data
      MUST be encoded in Base 10.

   STRING
      A single character is represented by the CHARACTER data type.  A
      character string is represented by the STRING data type.  Special
      characters must be encoded using entity references.







Cheng, et al.            Expires August 19, 2009                [Page 6]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


   HEXBIN
      A binary octet string is represented by the HEXBIN data type.
      Specifically, each octet is encoded by two hexadecimal digits.

   ENUM
      A enumerated type is represented by the ENUM data type, and
      consist of an ordered list of acceptable values.  Each value has a
      representative keyword

   DATETIME
      A date-time string is represented by the DATETIME data type.  Each
      date-time string identifies a particular instant in time; ranges
      are not supported


5.  The XFB Data Model

   In the following sections, the XFB format will be discussed in
   detail.

5.1.  BGP_MESSAGE

   BGP_MESSAGE is the top level message class.  Every routing
   information is encoded in exactly one BGP_MESSAGE xml element.

      +--------------------+
      | BGP_MESSAGE        |
      +--------------------+
      | STRING xmlns       |
      | STRING version     |<>----------[ TIME          ]
      | INTEGER length     |<>--{0..1}--[ PEERING       ]
      |                    |<>--{0..1}--[ ASCII_MSG     ]
      |                    |<>--{0..1}--[ OCTET_MSG     ]
      |                    |<>--{0..1}--[ STATUS_MSG    ]
      +--------------------+

                  Figure 1: The root BGP_MESSAGE element

   The BGP_MESSAGE class contains the following element classes:

   TIME
      One. The time associated with the BGP message

   PEERING
      Zero or one.  The connection information of from which peer the
      message was received over.





Cheng, et al.            Expires August 19, 2009                [Page 7]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


   ASCII_MSG
      Zero or one.  BGP message encoded in ascii xml format.

   OCTET_MSG
      Zero or one.  BGP message encoded in hexadecimal format.  A
      BGP_MESSAGE message SHOULD contain at least one of asciimsg and
      octests element, except the status messages.

   STATUS_MSG
      Zero or one.  Periodic status message in ascii xml
      format.Applications which only care about BGP messages can safely
      ignore this element

   The BGPData class has two attributes:

   xmlns
      Required.  STRING.  The namespace of XFB specification.  Required
      for validation.

   version
      Required.  STRING.  The XFB specification version number.

   length
      Required.  INTEGER.  The total length of the message in
      characters, including the BGP_MESSAGE tag itself.

5.2.  TIME

   Every BGP_MESSAGE MUST contain a child time element, indicating the
   time when the BGP message has been received/generated.  The time can
   be represented in either or both of timestamp and human readable
   formats; additional formats MAY be included as well.

      +--------------------+
      | TIME               |
      +--------------------+
      |                    |<>----------[ TIMESTAMP       ]
      |                    |<>--{0..1}--[ DATETIME        ]
      |                    |<>--{0..1}--[ PRECISION_TIME  ]
      +--------------------+

                           Figure 2: TIME Class

   The time class contains the following element classes:







Cheng, et al.            Expires August 19, 2009                [Page 8]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


   TIMESTAMP
      One. Unix timestamp (number of seconds since midnight UTC, January
      1, 1970).  The UNIX timestamp is recommended when it is expected
      that the data will be processed entirely by programs without human
      intervention.

   DATETIME
      Zero or one.  Human readable time in DATETIME format (ex: 2008-12-
      30T01:26:42Z)

   PRECISION_TIME
      Zero or one.  If it is desired for the time to be given more
      accurately, an additional precisiontime element MAY be used; if
      given, this element SHOULD contain the number of microseconds past
      the second that the message arrived.

5.3.  PEERING

   PEERING element uniquely identify the connection over which the data
   arrived.

      +--------------------+
      | PEERING            |
      +--------------------+
      |                    |<>----------[ SRC_ADDR        ]
      |                    |<>----------[ SRC_PORT        ]
      |                    |<>--{0..1}--[ SRC_AS          ]
      |                    |<>----------[ DST_ADDR        ]
      |                    |<>----------[ DST_PORT        ]
      |                    |<>--{0..1}--[ DST_AS          ]
      +--------------------+

   The peering_session element contains the following four subelements.

   SRC_ADDR
      One. The source(local) address.

   DST_ADDR
      One. The destination(remote) address.

   SRC_PORT
      One. The source(local) port.

   DST_PORT
      One. The destination(remote) port

   Other information MAY be inferred from the above elements; however,
   If it is desired to explicitly include the source and destination AS,



Cheng, et al.            Expires August 19, 2009                [Page 9]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


   the following elements MAY be used.

   SRC_AS
      Zero or one.  The source(local) AS number.

   DST_AS
      Zero or one.  The destination(local) AS number.

   The address elements (SRC_ADDR/DST_ADDR) has a AFI attribute to
   indicate the corresponding address family.  Currently, the expected
   values for the AFI attribute are "IPv4" and "IPv6", while additional
   families are allowed.

5.4.  Representing the message

   BGP routing information MAY be sent in either binary or ascii format.
   Binary messages contain BGP information exactly as it comes over the
   wire.  They take up less space than ASCII messages, can be easily
   converted to play directly into routers.  ASCII messages are human-
   readable and can be played into scripts.  Messages MUST be sent in at
   least one of these two formats.

   If possible, implmentations SHOULD prefer to send BGP messages in
   both formats; if only one is used, they SHOULD prefer binary

5.5.  OCTET_MESSAGE (BGP Message in Octet Format)

   The OCTET_MSG element simply embed a hexadecimal string.

      +--------------------+
      | OCTET_MSG          |
      +--------------------+
      |                    |<>----------[ MARKER        ]
      |                    |<>----------[ LENGTH        ]
      |                    |<>----------[ TYPE          ]
      |                    |<>----------[ OCTETS        ]
      +--------------------+

                      Figure 3: Octets Message Class

   The OCTET_MSG element contains the following subelements.

   MARKER
      Required.  HEXBIN.  The Marker (Mask) field in octets.







Cheng, et al.            Expires August 19, 2009               [Page 10]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


   LENGTH
      Required.  INTEGER.  The length of the message in octets.

   TYPE
      Required.  ENUM.  BGP message type.  Message types 1-5 are defined
      in RFC 4271 [RFC4271]and RFC 2918 [RFC2918]; additional types MAY
      be handled as well.  In the event of an unrecognized type, the
      type element MUST contain the value "UNKNOWN"..



         1 - OPEN

         2 - UPDATE

         3 - NOTIFICATION

         4 - KEEPALIVE

         5 - ROUTE-REFRESH

         6+ - UNKNOWN

   OCTETS
      Required.  HEXBIN.  BGP message in octets

5.6.  ASCII_MSG (BGP Message in ASCII Format)

   The ASCII_MSG represents the BGP information in a hierarchical tree
   structure.

      +--------------------+
      | ASCII_MSG          |
      +--------------------+
      |                    |<>--------[ MARKER              ]
      |                    |<>--------[ LENGTH              ]
      |                    |<>--------[ TYPE                ]
      |                    |<>---+----[ OPEN                ]
      |                    |     |----[ UPDATE              ]
      |                    |     |----[ NOTIFICATION        ]
      |                    |     |----[ KEEPALIVE           ]
      |                    |     |----[ ROUTE-REFRESH       ]
      |                    |     |----[ CISCO-ROUTE-REFRESH ]
      |                    |     |----[ UNKNOWN             ]
      +--------------------+

                         Figure 4: ASCII_MSG Class




Cheng, et al.            Expires August 19, 2009               [Page 11]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


   The ASCII_MSG element contains the following child elements

   MARKER
      Required.  HEXBIN.  The Marker (Mask) field in octets.

   LENGTH
      Required.  INTEGER.  The length of the message in octets.

   TYPE
      Required.  ENUM.  BGP message type.  Message types 1-5 are defined
      in RFC 4271 [RFC4271]and RFC 2918 [RFC2918]; additional types MAY
      be handled as well.  In the event of an unrecognized type, the
      type element MUST contain the value "UNKNOWN"..

      The ASCII_MSG element contains one of the following subelements,
      determined by the value of the type attribute.

   OPEN
      Zero or one.  BGP open message.

   UPDATE
      Zero or one.  BGP update message.

   NOTIFICATION
      Zero or one.  BGP notification message.

   KEEPALIVE
      Zero or one.  BGP keepalive message.

   ROUTE_REFRESH
      Zero or one.  BGP route-refresh message.

   CISCO_ROUTE_REFRESH
      Zero or one.  BGP cisco-route-refresh message.

   UNKNOWN
      Zero or one.  Unrecognized BGP message.  Binary data would be
      preserved in this element.

   In the following sections, we would describe each message type
   individually.

5.6.1.  OPEN

   The OPEN element represent the BGP open messages.






Cheng, et al.            Expires August 19, 2009               [Page 12]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


      +--------------------+
      | OPEN               |
      +--------------------+
      |                    |<>----------[ VERSION         ]
      |                    |<>----------[ SRC_AS          ]
      |                    |<>----------[ HOLD_TIME       ]
      |                    |<>----------[ SRC_BGP         ]
      |                    |<>----------[ OPT_PAR_LEN     ]
      |                    |<>----------[ OPT_PAR         ]
      +--------------------+

                           Figure 5: OPEN class

   The open element contains the following subelements.

   VERSION
      One. The protocol version number, in decimal.

   SRC_AS
      One. The Autonomous System number of the sender.

   HOLD_TIME
      One. the sender-proposed hold time, in second.

   SRC_BGP
      One. the BGP identifier of the sender.

   OPT_PAR_LEN
      One. The length of the optional parameters field in octets

   OPT_PAR
      One. The container of optional parameters.

5.6.1.1.  Defining and Processing the Parameter Value field

   OPT_PAR is a container class for zero or more parameter subelements.

      +--------------------+
      | OPT_PAR            |
      +--------------------+
      | INTEGER count      |<>--{0..*}--[ PARAMETER       ]
      +--------------------+

                          Figure 6: OPT_PAR Class

   The opt_par element has the following attributes.





Cheng, et al.            Expires August 19, 2009               [Page 13]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


   count
      Required.  INTEGER.  The number of parameters.

   The opt_par element contains the following subelements.

   PARAMETER
      Zero or more.  The optional parameters.

   For each optional parameter, the OPT_PAR element contains a PARAMETER
   subelement with attribute "code" containing the integer code for the
   parameter type.  Each PARAMETER contains three subelements: a LENGTH
   tag giving the length of the data in octets, a TYPE tag giving the
   name of the parameter, and a tag whose label is the name of the
   parameter and which contains parameter-defined elements.  If the code
   is not recognized, TYPE is set to OTHER and the OTHER element holds
   unprocessed hexadecimal data.

   The last element s processed differently depending on the type of
   parameter.  This section describes the most common parameter types.
   Additional parameter types MAY be defined, and MUST confirm to the
   following format.  Every parameter has attribute "code" giving the
   integer value of its type, element LENGTH giving the length in octets
   of its data, and element TYPE giving its name.  It then contains an
   element whose label is the name of the parameter.  This element may
   have attributes and subelements defined as desired; however,
   attributes SHOULD describe the data, and the actual data SHOULD be in
   the form of subelements.  Parameters do not need to contain
   information; self-closing elements are permitted.  Thus, every
   parameter will be in the following format:
      +--------------------+
      | PARAMETER          |
      +--------------------+
      | INTEGER code       |<>--------[ LENGTH         ]
      |                    |<>--------[ TYPE           ]
      |                    |<>---+----[ AUTHENTICATION ]
      |                    |     |----[ CAPABILITIES   ]
      |                    |     |----[ OTHER          ]
      +--------------------+

   The parameter element has the following attributes.

   code
      Required.  INTEGER.  The integer code for the parameter type

   The parameter element contains the following subelements.






Cheng, et al.            Expires August 19, 2009               [Page 14]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


   LENGTH
      One. The length of the data in octets

   TYPE
      One. The name of the parameter

   AUTHENTICATION/CAPABILITES/OTHER
      One. Two most common paraameter type: authentication or
      capabilities.  Additional parameter types can be defined by the
      OTHER element.

5.6.1.1.1.  AUTHENTICATION

   An authentication parameter is stored with type "AUTHENTICATION" and
   additional attribute "code".  This element contains hexadecimal
   authentication data.

      +--------------------+
      | AUTHENTICATION     |
      +--------------------+
      | INTEGER code       |
      |                    |
      +--------------------+

                      Figure 7: AUTHENTICATION class

   For example, this parameter is expressed as
      <PARAMETER code=3D"1">
         <LENGTH>int</LENGTH>
         <TYPE>AUTHENTICATION</TYPE>
         <AUTHENTICATION code=3D"int">hexadecimal data</AUTHENTICATION>
      </PARAMETER>

5.6.1.1.2.  CAPABILITIES

   The capabilities parameter is encoded in CAPABILITIES element and one
   or more child CAP elements, as well as an attribute "count" giving
   the number of such elements.  Each CAP element contains LENGTH, TYPE,
   and subelements decided by the type value.












Cheng, et al.            Expires August 19, 2009               [Page 15]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


    +---------------+
    | CAPABILITIES  |
    +---------------+           +---------+
    | INTEGER count |<>-{0..*}- |  CAP    |
    |               |           +---------+
    +---------------+           |         |<>----[ LENGTH    ]
                                |         |<>----[ TYPE      ]
                                |         |<>-+--[ MULTIPROTOCOL       ]
                                +---------+   |--[ ROUTE_REFRESH       ]
                                              |--[ CISCO_ROUTE_REFRESH ]
                                              |--[ OTHER ]

                       Figure 8: CAPABILITIES Class

   For example, this parameter is expressed as
      <PARAMETER code=3D"2">
         <LENGTH>int</LENGTH>
         <TYPE>CAPABILITIES</TYPE>
         <CAPABILITIES count=3D"1">
            <CAP>
               <LENGTH>int</length>
               <TYPE>ROUTE_REFRESH</TYPE>
               <ROUTE_REFRESH/>
            </CAP>
         </CAPABILITIES>
      </PARAMETER>


5.6.2.  The UPDATE element

   The following subelements are included in the UPDATE message:
   <withdrawn_routes_len>, <withdrawn_routes>, <path_len>,
   <path_attrib>, and <NLRI>.

      +--------------------+
      | UPDATE             |
      +--------------------+
      |                    |<>----------[ WITHDRAWN_LEN         ]
      |                    |<>----------[ WITHDRAWN             ]
      |                    |<>----------[ PATH_ATTRIBUTES_LEN   ]
      |                    |<>----------[ PATH_ATTRIBUTES       ]
      |                    |<>----------[ NLRI                  ]
      +--------------------+


                                 Figure 9

   The UPDATE element contains the following subelements:



Cheng, et al.            Expires August 19, 2009               [Page 16]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


   WITHDRAWN_LEN
      One. the total length of the withdrawn routes field in octets

   WITHDRAWN
      One. contains zero or more PREFIX subelements, each of which
      contains an address prefix.  This element has attribute "count"
      giving the total number of PREFIX subelements.  PREFIX represents
      an address prefix.  Each PREFIX also has an attirbute "label",
      which carries additional information associated with this prefix,
      such as new announcement, duplicated announcement, etc.  These
      labels are uniquely produced by BGPMon, wich add meaningful
      information to prefixes.

   PATH_ATTRIBUTES_LEN
      One. the total length of the path attributes field in octets

   PATH_ATTRIBUTES
      One. contains zero or more ATTRIBUTE elements and a "count"
      attribute giving the number of such elements.

   NLRI
      One. contains zero or more PREFIX subelements, each of which
      contains an address prefix.  This element has attribute "count"
      giving the total number of PREFIX subelements

5.6.3.  PATH_ATTRIBUTES Class

   PATH_ATTRIBUTES contains zero or more ATTRIBUTE.
    +-----------------+
    | PATH_ATTRIBUTES |
    +-----------------+            +---------------+
    | INTEGER counT   |<>--{0..*}--| ATTRIBUTE     |
    |                 |            +---------------+
    +-----------------+            | INTEGER code  |<>----[ FLAGS     ]
                                   |               |<>----[ LENGTH    ]
                                   |               |<>----[ TYPE      ]
                                   |               |<>-+--[ ORIGIN    ]
                                   +---------------+   |--[ AS_PATH   ]
                                                       |...

   Moreover, the ATTRIBUTE element contains the following attributes:

   count
      Required.  INTEGER.  The number of attributes.

   The ATTRIBUTE element contains the following subelements:





Cheng, et al.            Expires August 19, 2009               [Page 17]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


   FLAGS
      One. This element contains an attribute "code" giving the flag
      byte as an octet.  Additionally, it contains subelements for all
      defined flags.  The subelements for the current flags, as defined
      in RFC 1771, are OPTIONAL, TRANSITIVE, PARTIAL, and EXTENDED.

   LENGTH
      One. The attribute length

   TYPE
      One. The name of the attribute type

   Each type correponds to a specific element.  For brevitiy, the
   attribute types are summarized in the following table.  Please refer
   to the schema and example sections for details.

   +------+----------------------+-------------------------------------+
   | Code | Type                 | Description                         |
   +------+----------------------+-------------------------------------+
   | 1    | ORIGIN               | This is a well-known mandatory      |
   |      |                      | attribute with value IGP, EGP, or   |
   |      |                      | INCOMPLETE.                         |
   | 2    | AS_PATH              | This is a well-known mandatory      |
   |      |                      | attribute with "type" attribute set |
   |      |                      | to either as_set or as_sequence.    |
   |      |                      | It contains one or more AS          |
   |      |                      | subelements, each of which holds an |
   |      |                      | Autonomous System number.           |
   | 3    | NEXT_HOP             | This is a well-known mandatory      |
   |      |                      | attribute that holds the next hop   |
   |      |                      | address as its value.               |
   | 4    | MULTI_EXIT_DISC      | This is an optional non-transitive  |
   |      |                      | attribute with integer value.       |
   | 5    | LOCAL_PREF           | This is a well-known discretionary  |
   |      |                      | attribute with integer value.       |
   | 6    | ATOMIC_AGGREGATE     | This is a well-known discretionary  |
   |      |                      | attribute with no value; the        |
   |      |                      | ATOMIC_AGGREGATE element is         |
   |      |                      | self-closing.                       |
   | 7    | AGGREGATOR           | This is an optional transitive      |
   |      |                      | attribute containing two            |
   |      |                      | subelements: AS, containing an AS   |
   |      |                      | number, and ADDR, containing an     |
   |      |                      | address.                            |
   | 8    | COMMUNITITIES        | This is an optional transitive      |
   |      |                      | attribute containing a 32-bit       |
   |      |                      | integer.  [RFC1997]                 |




Cheng, et al.            Expires August 19, 2009               [Page 18]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


   | 9    | ORIGINATOR_ID        | This is an optional non-transitive  |
   |      |                      | attribute containing a 32-bit       |
   |      |                      | integer.                            |
   | 10   | CLUSTER_LIST         | This is an optional non-transitive  |
   |      |                      | attribute containing zero or more   |
   |      |                      | ID subelements and a "count"        |
   |      |                      | attribute giving the number of such |
   |      |                      | subelements.                        |
   | 12   | ADVERTISER           | This is an optional non-transitive  |
   |      |                      | attribute containing an address.    |
   | 13   | RCID_PATH            | This is an optional non-transitive  |
   |      |                      | attribute containing zero or more   |
   |      |                      | ID subelements and a "count"        |
   |      |                      | attribute giving the number of such |
   |      |                      | subelements.                        |
   | 15   | MP_REACH_NLRI        | This is an optional non-transitive  |
   |      |                      | attribute that contains the         |
   |      |                      | following subelements: AFI contains |
   |      |                      | the name of the Address Family      |
   |      |                      | Identifier being used.  SAFI        |
   |      |                      | contains the Subsequent Address     |
   |      |                      | Family Identifier.  NEXT_HOP        |
   |      |                      | contains the network address of the |
   |      |                      | next hop.  SNPA_LIST_LEN contains   |
   |      |                      | the length of the SNPA_LIST in      |
   |      |                      | octets.  SNPA_LIST contains zero or |
   |      |                      | more SNPA elements and a "count"    |
   |      |                      | attribute giving the total number   |
   |      |                      | of SNPA elements it contains.       |
   |      |                      | Furthermore, each SNPA represents a |
   |      |                      | address.  NLRI contains one or more |
   |      |                      | PREFIX elements and a "count"       |
   |      |                      | attribute giving the number of such |
   |      |                      | elements.[RFC4760]                  |
   | 15   | MP_UNREACH_NLRI      | This is an optional non-transitive  |
   |      |                      | attribute containing the following  |
   |      |                      | subelements: AFI contains the name  |
   |      |                      | of the Address Family Identifier    |
   |      |                      | being used.  SAFI contains the      |
   |      |                      | Subsequent Address Family           |
   |      |                      | Identifier.  WITHDRAWN contains one |
   |      |                      | or more PREFIX elements and a       |
   |      |                      | "count" attribute giving the number |
   |      |                      | of such elements.                   |
   | 16   | EXTENDED_COMMUNITIES | This is an optional non-transitive  |
   |      |                      | attribute containing the octets     |
   |      |                      | value.[Rosen]                       |




Cheng, et al.            Expires August 19, 2009               [Page 19]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


   | .7   | AS4_PATH             | This is a well-known mandatory      |
   |      |                      | attribute with "type" attribute set |
   |      |                      | to either as_set or as_sequence.    |
   |      |                      | It contains one or more AS          |
   |      |                      | subelements, each of which holds an |
   |      |                      | Autonomous System number.           |
   |      |                      | [RFC4893]                           |
   | 18   | AS4_AGGREGATOR       | This is an optional transitive      |
   |      |                      | attribute containing two            |
   |      |                      | subelements: AS, containing an AS   |
   |      |                      | number, and ADDR, containing an AFI |
   |      |                      | address.                            |
   +------+----------------------+-------------------------------------+

   Additional attributes MAY be defined; they MUST follow the structure
   described above.  Suppose that data is stored in the <NAME> element
   or in subelements.In the event that the element contains one
   subelement that may appear a number of times, the main <NAME> tag
   should include a "count" attribute.  The <NAME> element may have any
   desired attributes and elements, but attributes SHOULD describe the
   data while elements SHOULD contain the data.  If the code value is
   not defined, the <type> subelement has the value "UNKNOWN".

5.6.4.  The KEEPALIVE

   The KEEPALIVE element is self-closing and contains no attributes or
   subelements.

      +--------------------+
      | keepalive          |
      +--------------------+
      |                    |
      +--------------------+

                        Figure 10: Keepalive Class

5.6.5.  The ROUTE_REFRESH

   The ROUTE_REFRESH element is self-closing and contains no attributes
   or subelements.

      +--------------------+
      | ROUTE_REFRESH      |
      +--------------------+
      |                    |
      +--------------------+

                      Figure 11: ROUTE_REFRESH Class



Cheng, et al.            Expires August 19, 2009               [Page 20]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


5.6.6.  The CISCO_ROUTE_REFRESH element

   The CISCO_ROUTE_REFRESH is self-closing and contains no attributes or
   subelements.

      +---------------------+
      | CISCO_ROUTE_REFRESH |
      +---------------------+
      |                     |
      +---------------------+

                      Figure 12: CISCO_ROUTE_REFRESH

5.6.7.  The NOTIFICATION

   The notification element contains the information for bgp
   notification.

      +------------------+
      | NOTIFICATION     |
      +------------------+
      |                  |<>----------[ CODE      ]
      |                  |<>----------[ SUBCODE   ]
      |                  |<>----------[ DATA      ]
      +------------------+

                       Figure 13: NOTIFICATION Class

   The notification element contains the following subelements.

   CODE
      One. Human readable error string cooresponding to a numberic
      'value' attribute.

   SUBCODE
      One. Human readable sub error string cooresponding to a numberic
      'value' attribute

   DATA
      One. The remainder of the message, whose content depends on the
      error code and subcode.

   The <error_code> element is set according to the value of the "code"
   attribute:







Cheng, et al.            Expires August 19, 2009               [Page 21]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


                  +-------+----------------------------+
                  | code  | error_code                 |
                  +-------+----------------------------+
                  | 1     | Message Header Errori      |
                  | 2     | OPEN Message Error         |
                  | 3     | UPDATE Message Error       |
                  | 4     | Hold Timer Expired         |
                  | 5     | Finite State Machine Error |
                  | 6     | Cease                      |
                  | 7-255 | Undefined code             |
                  +-------+----------------------------+

   The <error_subcode> element is set according to the value of the
   "subcode" attribute:

         +------+---------+-------------------------------------+
         | code | subcode | error_subcode                       |
         +------+---------+-------------------------------------+
         | 1    | 1       | Connection Not Synchronized         |
         | 1    | 2       | Bad Message Length                  |
         | 1    | 3       | Bad Message Type                    |
         | 2    | 1       | Unsupported Version Number          |
         | 2    | 2       | Bad Peer AS                         |
         | 2    | 3       | Bad BGP Identifier                  |
         | 2    | 4       | Unsupported Optional Parameter      |
         | 2    | 5       | Authentication Failure              |
         | 2    | 6       | Unacceptable Hold Time              |
         | 3    | 1       | Malformed Attribute List            |
         | 3    | 2       | Unrecognized Well-known Attribute   |
         | 3    | 3       | Missing Well-known Attribute        |
         | 3    | 4       | Attribute Flags Error               |
         | 3    | 5       | Attribute Length Error              |
         | 3    | 6       | Invalid ORIGIN Attribute            |
         | 3    | 7       | AS Routing Loop                     |
         | 3    | 8       | Invalid NEXT_HOP Attribute          |
         | 3    | 9       | Optional Attribute Error            |
         | 3    | 10      | Invalid Network Field               |
         | 3    | 11      | Malformed AS_PATH                   |
         | 6    | 1       | Maximum Number of Prefixes Reached" |
         | 6    | 2       | Administrative Shutdown"            |
         | 6    | 3       | Peer De-configured"                 |
         | 6    | 4       | Administrative Reset"               |
         | 6    | 5       | Connection Rejected"                |
         | 6    | 6       | Other Configuration Change"         |
         | 6    | 7       | Connection Collision Resolution"    |
         | 6    | 8       | Out of Resources"                   |
         +------+---------+-------------------------------------+




Cheng, et al.            Expires August 19, 2009               [Page 22]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


   For all other codes, the <error_subcode> subelement has the value
   "Undefined error subcode".  The BGPmon MAY handle additional error
   subcodes.

5.6.7.1.  Example

   The NOTIFICATION message might look like this:
   <NOTIFICATION code=3D"3" subcode=3D"7">
      <error_code>Bad Message Type</error_code>
      <error_subcode>AS Routing Loop</error_code>
      <data>hexadecimal</data>
   </NOTIFICATION>

5.7.  STATUS_MSG

   The STATUS_MSG contains one of four kinds of messages: QUEUE_STATUS,
   SESSION_STATUS, and CHAIN_STATUS, BGPMON_STATUS, representing the
   operation status of the BGPMon internal quque, BGP peering routers,
   peering BGPMon server, and BGPMon server itself respectively.
      +---------------+
      | STATUS_MSG    |
      +---------------+
      |               |<>-----[ BGPMON         ]
      |               |<>--+--[ SESSION_STATUS ]
      |               |    |--[ CHAIN_STATUS   ]
      |               |    |--[ QUEUE_STATUS   ]
      |               |    |--[ BGPMON_STATUS  ]
      +---------------+

                        Figure 14: STATUS_MSG class

5.7.1.  BGPMON

   Because of the BGPMon chaining feature, it is possilbe that a client
   could receive status messages originated from multiple BGPMon
   servers.  This BGPMON element is used by clients to identify the
   origin of the status message.
    +---------------+
    | BGPMON        |
    +---------------+
    |               |<>---------[ ADDR       ]
    |               |<>---------[ PORT       ]
    |               |<>-{0..1}--[ AS         ]
    +---------------+

                             Figure 15: BGPMON

   The BGPMON element contains the following elements



Cheng, et al.            Expires August 19, 2009               [Page 23]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


   ADDR
      One. The BGPMon network address, usually identical to the address
      which accepts user connections.

   PORT
      One. The BGPMon port

   AS
      Zero or one.  Optional AS number

5.7.2.  QUEUE_STATUS / QUEUE

   QUEUE_STATUS includes zero or multiple child QUEUE elements, which in
   turn carry the information about BGPMon internal message queues.
    +---------------+
    | QUEUE_STATUS  |
    +---------------+           +---------+
    | INTEGER count |<>-{0..*}- |  QUEUE  |
    |               |           +---------+
    +---------------+           |         |<>----[ NAME   ]
                                |         |<>----[ ITEM   ]
                                |         |<>----[ READER ]
                                |         |<>----[ WRITER ]
                                |         |<>----[ PACING ]
                                +---------+

                          Figure 16: QUEUE_STATUS

   The QUEUE_STATUS contains the following attributes:

   count
      Required.  INTEGER.  The number of QUEUE elements.

   The QUEUE_STATUS contains the following elements

   QUEUE
      Zero or more.  The QEUEU element which is described as the
      following.

   The QUEUE element contains the following elements

   NAME
      One. Human readalbe name

   ITEM
      One. The statistic information about the queue usage.





Cheng, et al.            Expires August 19, 2009               [Page 24]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


   READER
      One. Ths statistic information about the queue reader.

   WRITER
      One. The statistic information about the queue writer.

   PACING
      One. Configuration and statistic information about the queue
      pacing machanism.  Pacing is used to maintain stable queu usage.
      Please refer BGPMon specification for detail information

    +-----------+
    | PACING    |
    +-----------+
    |           |<>----[ FLAG        ]
    |           |<>----[ COUNT       ]
    |           |<>----[ WRITE_LIMIT ]
    +-----------+

                          Figure 17: QUEUE_STATUS

5.7.3.  CHAIN_STATUS / CHAIN

   CHAIN_STATUS includes zero or multiple child CHAIN elements.
    +---------------+
    | CHAIN_STATUS  |
    +---------------+           +-------+
    | INTEGER count |<>-{0..*}- | CHAIN |
    |               |           +-------+
    +---------------+           |       |<>--------[ ADDR         ]
                                |       |<>--------[ PORT         ]
                                |       |<>-{0..1}-[ AS           ]
                                |       |<>-{0..1}-[ STATE        ]
                                |       |<>-{0..1}-[ STATE_CHANGE ]
                                |       |<>-{0..1}-[ OPTIME       ]
                                |       |<>-{0..1}-[ RECV_MESSAGE ]
                                |       |<>-{0..1}-[ RESET        ]
                                +-------+

                          Figure 18: CHAIN_STATUS

   The CHAIN_STATUS contains the following attributes:

   count
      Required.  INTEGER.  The number of CHAIN elements.

   The CHAIN_STATUS contains the following elements




Cheng, et al.            Expires August 19, 2009               [Page 25]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


   CHAIN
      Zero or more.  The CHAIN element which is described as the
      following.

   The QUEUE element contains the following elements

   ADDR
      One. The address of the peering BGPMon server

   ITEM
      One. The port of the peering BGPMon server

   AS
      Zero or one.  The AS number of the peering BGPMon server

   STATE
      Zero or one.  The current state

   STATE_CHANGE
      Zero or one.  The state change

   OPTIME
      Zero or one.  The operation time, such as uptime, last down, etc.

   RECV_MESSAGE
      Zero or one.  The statstic information about the number of
      messages received

   RESET
      One. The statistic information about the number of chain resets.

5.7.4.  SESSION_STATUS / SESSION

   SESSION_STATUS includes zero or multiple child SESSION elements.

















Cheng, et al.            Expires August 19, 2009               [Page 26]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


    +----------------+
    | SESSION_STATUS |
    +----------------+          +-------+
    | INTEGER count  |<>-{0..*}-|SESSION|
    |                |          +-------+
    +----------------+          |       |<>--------[ ADDR         ]
                                |       |<>--------[ PORT         ]
                                |       |<>-{0..1}-[ AS           ]
                                |       |<>-{0..1}-[ STATE        ]
                                |       |<>-{0..1}-[ STATE_CHANGE ]
                                |       |<>-{0..1}-[ OPTIME       ]
                                |       |<>-{0..1}-[ RECV_MESSAGE ]
                                |       |<>-{0..1}-[ RESET            ]
                                |       |<>-{0..1}-[ PREFIX           ]
                                |       |<>-{0..1}-[ ATTRIBUTE        ]
                                |       |<>-{0..1}-[ MEMORY_USAGE     ]
                                |       |<>-{0..1}-[ ANNOUNCEMENT     ]
                                |       |<>-{0..1}-[ DUP_ANNOUNCEMENT ]
                                |       |<>-{0..1}-[ SAME_PATH        ]
                                |       |<>-{0..1}-[ DIFF_PATH        ]
                                |       |<>-{0..1}-[ WITHDRWAL        ]
                                |       |<>-{0..1}-[ DUP_WITHDRWAL    ]
                                +-------+

                         Figure 19: SESSION_STATUS

   The CHAIN_STATUS contains the following attributes:

   count
      Required.  INTEGER.  The number of CHAIN elements.

   The CHAIN_STATUS contains the following elements

   SESSION
      Zero or more.  The SESSION element which is described as the
      following.

   The QUEUE element contains the following elements.  Please refer to
   CHAIN for identical elements.

   PREFIX
      Zero or one.  The statstic information about the number of
      prefixes received

   ATTRIBUTE
      Zero or one.  The statstic information about the number of path
      attributes received




Cheng, et al.            Expires August 19, 2009               [Page 27]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


   MEMORY_USAGE
      One. The statistic information about the memory usage

   ANNOUNCEMENT
      Zero or one.  The statstic information about the number of
      announcements received

   DUP_ANNOUNCEMENT
      Zero or one.  The statstic information about the number of
      duplicate announcements received

   SAME_PATH
      Zero or one.  The statstic information about the number of same as
      path received

   DIFF_PATH
      Zero or one.  The statstic information about the number of
      different as path received

   WITHDRWAL
      Zero or one.  The statstic information about the number of
      withdrawl received

   DUP_WITHDRWAL
      Zero or one.  The statstic information about the number of
      duplicate withdrawal received


6.  Examples

6.1.  BGP Open Message

   <?xml version=3D"1.0" encoding=3D"utf-8"?>
   <BGP_MESSAGE version=3D"0.1" length=3D"9999">
     <TIME>
       <TIMESTAMP>1228973922</TIMESTAMP>
       <DATETIME>2008-12-09T00:00:00Z</DATETIME>
       <PRECISION_TIME>328</PRECISION_TIME>
     </TIME>
     <PEERING_SESSION>
       <SRC_ADDR afi=3D"IPv4">89.149.178.10</SRC_ADDR>
       <DST_ADDR afi=3D"IPv4">129.82.138.6</DST_ADDR>
       <SRC_PORT>139</SRC_PORT>
       <DST_PORT>139</DST_PORT>
       <SRC_AS>3257</SRC_AS>
       <DST_AS>6447</DST_AS>
     </PEERING_SESSION>
     <ASCII_MSG length=3D"87" type=3D"OPEN">



Cheng, et al.            Expires August 19, 2009               [Page 28]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


       <MARKER>1122220</MARKER>
       <OPEN>
         <VERSION>4.0</VERSION>
         <SRC_AS>3593</SRC_AS>
         <HOLD_TIME>2943</HOLD_TIME>
         <SRC_BGP>89.149.22.11</SRC_BGP>
         <OPT_PAR_LEN>646</OPT_PAR_LEN>
         <OPT_PAR count=3D"3">
           <PARAMETER code=3D"1">
             <TYPE>AUTHENTICATION</TYPE>
             <LENGTH>234</LENGTH>
             <AUTHENTICATION code=3D"8">FFDDEE00E039D2</AUTHENTICATION>
           </PARAMETER>
           <PARAMETER code=3D"2">
             <TYPE>CAPABILITIES</TYPE>
             <LENGTH>2700</LENGTH>
             <CAPABILITIES count=3D"2">
               <CAP>
                 <CODE>11</CODE>
                 <LENGTH>26</LENGTH>
                 <VALUE>CAP_STRING</VALUE>
               </CAP>
               <CAP>
                 <CODE>13</CODE>
                 <LENGTH>6</LENGTH>
                 <VALUE>CAP_STRING</VALUE>
               </CAP>
             </CAPABILITIES>
           </PARAMETER>
           <PARAMETER code=3D"99">
             <TYPE>Unknown</TYPE>
             <LENGTH>1087</LENGTH>
             <UNKNOWN>123423A3D3BBEE</UNKNOWN>
           </PARAMETER>
         </OPT_PAR>
       </OPEN>
     </ASCII_MSG>
     <OCTETS length=3D"3811" type=3D"OPEN">FFFFFFFFFFFFF...</OCTETS>
   </BGP_MESSAGE>


6.2.  BGP Update Message
   <?xml version=3D"1.0" encoding=3D"utf-8"?>
   <BGP_MESSAGE version=3D"0.1" length=3D"9999">
     <TIME>
       <TIMESTAMP>1228973922</TIMESTAMP>
       <DATETIME>2008-12-09T00:00:00Z</DATETIME>
       <PRECISION_TIME>328</PRECISION_TIME>



Cheng, et al.            Expires August 19, 2009               [Page 29]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


     </TIME>
     <PEERING_SESSION>
       <SRC_ADDR afi=3D"IPv4">89.149.178.10</SRC_ADDR>
       <DST_ADDR afi=3D"IPv4">129.82.138.6</DST_ADDR>
       <SRC_PORT>139</SRC_PORT>
       <DST_PORT>139</DST_PORT>
       <SRC_AS>3257</SRC_AS>
       <DST_AS>6447</DST_AS>
     </PEERING_SESSION>
     <ASCII_MSG length=3D"87" type=3D"UPDATE">
       <MARKER>1110011122</MARKER>
       <UPDATE>
         <WITHDRAWN_ROUTES_LEN>5781</WITHDRAWN_ROUTES_LEN>
         <WITHDRAWN_ROUTES count=3D"2">
           <PREFIX label=3D"WITH">66.231.212</PREFIX>
           <PREFIX label=3D"DUPW">66.186.174</PREFIX>
         </WITHDRAWN_ROUTES>
         <PATH_ATTRIBUTES_LEN>814</PATH_ATTRIBUTES_LEN>
         <PATH_ATTRIBUTE count=3D"0">
           <ATTRIBUTE code=3D"1">
             <Flags code=3D"1111">
               <Optional/>
               <Transitive/>
               <Partial/>
               <Extended/>
             </Flags>
             <Length>343</Length>
             <TYPE>ORIGIN</TYPE>
             <ORIGIN>IGP</ORIGIN>
           </ATTRIBUTE>
           <ATTRIBUTE code=3D"1">
             <Flags code=3D"1111">
               <Optional/>
               <Transitive/>
               <Partial/>
               <Extended/>
             </Flags>
             <Length>343</Length>
             <TYPE>AS4_PATH</TYPE>
             <AS_PATH type=3D"AS_SEQUENCE">
               <AS>1524</AS>
               <AS>5936</AS>
               <AS>178</AS>
             </AS_PATH>
           </ATTRIBUTE>
           <ATTRIBUTE code=3D"1">
             <Flags code=3D"1111">
               <Optional/>



Cheng, et al.            Expires August 19, 2009               [Page 30]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


               <Transitive/>
               <Partial/>
               <Extended/>
             </Flags>
             <Length>343</Length>
             <TYPE>NEXT_HOP</TYPE>
             <NEXT_HOP afi=3D"IPv4">1.1.1.1</NEXT_HOP>
           </ATTRIBUTE>
           <ATTRIBUTE code=3D"1">
             <Flags code=3D"0010"><Partial/></Flags>
             <Length>343</Length>
             <TYPE>MULTI_EXIT_DISC</TYPE>
             <MULTI_EXIT_DISC>1905</MULTI_EXIT_DISC>
           </ATTRIBUTE>
           <ATTRIBUTE code=3D"1">
             <Flags code=3D"0010"><Partial/></Flags>
             <Length>343</Length>
             <TYPE>LOCAL_PREFERENCE</TYPE>
             <LOCAL_PREFERENCE>3678</LOCAL_PREFERENCE>
           </ATTRIBUTE>
           <ATTRIBUTE code=3D"1">
             <Flags code=3D"0010"><Partial/></Flags>
             <Length>343</Length>
             <TYPE>ATOMIC_AGGREGATE</TYPE>
             <ATOMIC_AGGREGATE/>
           </ATTRIBUTE>
           <ATTRIBUTE code=3D"1">
             <Flags code=3D"0010"><Partial/></Flags>
             <Length>343</Length>
             <TYPE>AGGREGATOR</TYPE>
             <AGGREGATOR>
               <AS>3547</AS>
               <ADDR afi=3D"IPv4">1.2.2.2</ADDR>
             </AGGREGATOR>
           </ATTRIBUTE>
           <ATTRIBUTE code=3D"1">
             <Flags code=3D"0010"><Partial/></Flags>
             <Length>343</Length>
             <TYPE>COMMUNITY</TYPE>
             <COMMUNITY>6891</COMMUNITY>
           </ATTRIBUTE>
           <ATTRIBUTE code=3D"1">
             <Flags code=3D"0010"><Partial/></Flags>
             <Length>343</Length>
             <TYPE>ORIGINATOR_ID</TYPE>
             <ORIGINATOR_ID>977</ORIGINATOR_ID>
           </ATTRIBUTE>
           <ATTRIBUTE code=3D"1">



Cheng, et al.            Expires August 19, 2009               [Page 31]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


             <Flags code=3D"0010"><Partial/></Flags>
             <Length>343</Length>
             <TYPE>CLUSTER_LIST</TYPE>
             <CLUSTER_LIST count=3D"3">
               <ID>CLUSTER_ID1</ID>
               <ID>CLUSTER_ID2</ID>
               <ID>CLUSTER_ID3</ID>
             </CLUSTER_LIST>
           </ATTRIBUTE>
           <ATTRIBUTE code=3D"1">
             <Flags code=3D"0010"><Partial/></Flags>
             <Length>343</Length>
             <TYPE>ADVERTISER</TYPE>
             <ADVERTISER afi=3D"IPv4">10.1.1.1</ADVERTISER>
           </ATTRIBUTE>
           <ATTRIBUTE code=3D"1">
             <Flags code=3D"0010"><Partial/></Flags>
             <Length>343</Length>
             <TYPE>RCID_PATH</TYPE>
             <RCID_PATH count=3D"2">
               <RCID>RCID1</RCID>
               <RCID>RCID2</RCID>
             </RCID_PATH>
           </ATTRIBUTE>
           <ATTRIBUTE code=3D"1">
             <Flags code=3D"0010"><Partial/></Flags>
             <Length>343</Length>
             <TYPE>MP_REACH_NLRI</TYPE>
             <MP_REACH_NLRI>
               <AFI>IPv6</AFI>
               <SUB_AFI>sub_afi</SUBS_AFI>
               <NEXT_HOP afi=3D"IPv4">10.2.2.2</NEXT_HOP>
               <LENGTH>8890</LENGTH>
               <SNPA_LIST count=3D"3">
                 <SNPA>1.1.1.1</SNPA>
                 <SNPA>1.1.2.1</SNPA>
                 <SNPA>1.1.3.1</SNPA>
               </SNPA_LIST>
               <NLRI count=3D"3">
                 <PREFIX label=3D"NANN">2.2.2.1</PREFIX>
                 <PREFIX label=3D"NANN">2.2.3.1</PREFIX>
                 <PREFIX>2.2.4.1</PREFIX>
               </NLRI>
             </MP_REACH_NLRI>
           </ATTRIBUTE>
           <ATTRIBUTE code=3D"1">
             <Flags code=3D"0010"><Partial/></Flags>
             <Length>343</Length>



Cheng, et al.            Expires August 19, 2009               [Page 32]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


             <TYPE>MP_UNREACH_NLRI</TYPE>
             <MP_UNREACH_NLRI>
               <AFI>IPv6</AFI>
               <SNPA_LIST count=3D"3">
                 <SNPA>1.1.1.1</SNPA>
                 <SNPA>1.1.2.1</SNPA>
                 <SNPA>1.1.3.1</SNPA>
               </SNPA_LIST>
             </MP_UNREACH_NLRI>
           </ATTRIBUTE>
           <ATTRIBUTE code=3D"1">
             <Flags code=3D"0010"><Partial/></Flags>
             <Length>343</Length>
             <TYPE>EXTENDED_COMMUNITIES</TYPE>
             <EXTENDED_COMMUNITIES>
               <FLAGS code=3D"11">
                 <IANA/>
                 <TRANSITIVE/>
               </FLAGS>
               <DATA>ext_community_string</VALUE>
             </EXTENDED_COMMUNITIES>
           </ATTRIBUTE>
           <ATTRIBUTE code=3D"1">
             <Flags code=3D"0010"><Partial/></Flags>
             <Length>343</Length>
             <TYPE>AS4_PATH</TYPE>
             <AS4_PATH type=3D"AS_SEQUENCE">
               <AS>5717</AS>
               <AS>3336</AS>
               <AS>2132</AS>
             </AS4_PATH>
           </ATTRIBUTE>
           <ATTRIBUTE code=3D"1">
             <Flags code=3D"0010"><Partial/></Flags>
             <Length>343</Length>
             <TYPE>AS4_AGGREGATOR</TYPE>
             <AS4_AGGREGATOR>
               <AS>5289</AS>
               <ADDR afi=3D"IPv4">10.1.1.2</ADDR>
             </AS4_AGGREGATOR>
           </ATTRIBUTE>
         </PATH_ATTRIBUTE>
         <NLRI count=3D"3">
           <PREFIX label=3D"NANN">66.231.212.1</PREFIX>
           <PREFIX label=3D"NANN">66.186.174.2</PREFIX>
           <PREFIX label=3D"DANN">66.186.177.3</PREFIX>
         </NLRI>
       </UPDATE>



Cheng, et al.            Expires August 19, 2009               [Page 33]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


     </ASCII_MSG>
     <OCTETS length=3D"3811" type=3D"UPDATE">FFFFFFA..</OCTETS>
   </BGP_MESSAGE>


6.3.  BGP Keepalive Message


 <BGP_MESSAGE xmlns=3D"urn:ietf:params:xml:ns:xfb-0.1"
             length=3D"000723" version=3D"0.1">
   <TIME>
     <TIMESTAMP>1230600402</TIMESTAMP>
     <DATETIME>2008-12-30T01:26:42Z</DATETIME>
     <PRECISION_TIME>805</PRECISION_TIME>
   </TIME>
   <PEERING>
     <SRC_ADDR afi=3D"IPv4">89.149.178.10</SRC_ADDR>
     <DST_ADDR afi=3D"IPv4">129.82.138.6</DST_ADDR>
     <SRC_PORT>139</SRC_PORT>
     <DST_PORT>139</DST_PORT>
     <SRC_AS>3257</SRC_AS>
     <DST_AS>6447</DST_AS>
   </PEERING>
   <ASCII_MSG>
     <MARKER length=3D"16">FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF</MARKER>
     <LENGTH>19</LENGTH>
     <TYPE value=3D"4">KEEPALIVE</TYPE>
     <KEEPALIVE/>
   </ASCII_MSG>
   <OCTET_MSG>
     <MARKER length=3D"16">FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF</MARKER>
     <LENGTH>19</LENGTH>
     <TYPE value=3D"4">KEEPALIVE</TYPE>
     <OCTETS length=3D"19">FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF001304</OCTETS>=

   </OCTET_MSG>
 </BGP_MESSAGE>















Cheng, et al.            Expires August 19, 2009               [Page 34]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


6.4.  BGP Notification Message

 <?xml version=3D"1.0" encoding=3D"utf-8"?>
   <BGP_MESSAGE version=3D"0.1" length=3D"9999">
     <TIME>
     <TIMESTAMP>1228973922</TIMESTAMP>
     <DATETIME>2008-12-09T00:00:00Z</DATETIME>
     <PRECISION_TIME>328</PRECISION_TIME>
   </TIME>
   <PEERING>
     <SRC_ADDR afi=3D"IPv4">89.149.178.10</SRC_ADDR>
     <DST_ADDR afi=3D"IPv4">129.82.138.6</DST_ADDR>
     <SRC_PORT>139</SRC_PORT>
     <DST_PORT>139</DST_PORT>
     <SRC_AS>3257</SRC_AS>
     <DST_AS>6447</DST_AS>
   </PEERING>
   <ASCII_MSG>
     <MARKER length=3D"16">FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF</MARKER>
     <LENGTH>19</LENGTH>
     <TYPE value=3D"5">NOTIFICATION</TYPE>
     <NOTIFICATION>
       <CODE value=3D"3">Bad Message Type</ERROR_CODE>
       <SUBCODE value=3D"7">AS Routing Loop</ERROR_SUBCODE>
       <DATA>hexadecimal</DATA>
     </NOTIFICATION>
   </ASCII_MSG>
   <OCTET_MSG>
     <MARKER length=3D"16">FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF</MARKER>
     <LENGTH>19</LENGTH>
     <TYPE value=3D"5">NOTIFICATION</TYPE>
     <OCTETS length=3D"19">FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF001304</OCTETS>=

   </OCTET_MSG>
 </BGP_MESSAGE>

6.5.  Status Message

6.5.1.  Queue Status Message


   <?xml version=3D"1.0" encoding=3D"utf-8"?>
   <BGP_MESSAGE xmlns=3D"urn:ietf:params:xml:ns:xfb-0.1"
                length=3D"001207" version=3D"0.1">
     <TIME>
       <TIMESTAMP>1233804618</TIMESTAMP>
       <DATETIME>2009-02-05T03:30:18Z</DATETIME>
       <PRECISION_TIME>420</PRECISION_TIME>
     </TIME>



Cheng, et al.            Expires August 19, 2009               [Page 35]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


     <PEERING>
       <SRC_ADDR>ipv4any</SRC_ADDR>
       <SRC_PORT>4321</SRC_PORT>
       <SRC_AS>6447</SRC_AS>
       <DST_ADDR>65.49.129.101</DST_ADDR>
       <DST_PORT>179</DST_PORT>
       <DST_AS>3043</DST_AS>
     </PEERING>
     <STATUS_MSG>
       <QUEUE_STATUS count=3D"3">
         <QUEUE>
           <NAME>PeerQueue</NAME>
           <ITEM max=3D"19588" limit=3D"30000">0</ITEM>
           <WRITER max=3D"5" limit=3D"0">5</WRITER>
           <READER max=3D"1" limit=3D"0">1</READER>
           <PACING>
             <COUNT max=3D"0" limit=3D"0">0</COUNT>
             <WRITE_LIMIT max=3D"0" limit=3D"0">192</WRITE_LIMIT>
           </PACING>
         </QUEUE>
         <QUEUE>
           <NAME>LabelQueue</NAME>
           <ITEM max=3D"15637" limit=3D"30000">11856</ITEM>
           <WRITER max=3D"3" limit=3D"0">3</WRITER>
           <READER max=3D"1" limit=3D"0">1</READER>
           <PACING>
             <COUNT max=3D"0" limit=3D"0">0</COUNT>
             <WRITE_LIMIT max=3D"0" limit=3D"0">197</WRITE_LIMIT>
           </PACING>
         </QUEUE>
         <QUEUE>
           <NAME>XMLQueue</NAME>
           <ITEM max=3D"15476" limit=3D"30000">13216</ITEM>
           <WRITER max=3D"1" limit=3D"0">1</WRITER>
           <READER max=3D"1" limit=3D"0">1</READER>
           <PACING>
             <COUNT max=3D"0" limit=3D"0">0</COUNT>
             <WRITE_LIMIT max=3D"0" limit=3D"0">678</WRITE_LIMIT>
           </PACING>
         </QUEUE>
       </QUEUE_STATUS>
     </STATUS_MSG>
   </BGP_MESSAGE>',








Cheng, et al.            Expires August 19, 2009               [Page 36]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


6.5.2.  Session Status Message


 <BGP_MESSAGE xmlns=3D"urn:ietf:params:xml:ns:xfb-0.1"
              length=3D"003894" version=3D"0.1">
   <TIME>
     <TIMESTAMP>1233804919</TIMESTAMP>
     <DATETIME>2009-02-05T03:35:19Z</DATETIME>
     <PRECISION_TIME>286</PRECISION_TIME>
   </TIME>
   <PEERING>
     <SRC_ADDR>ipv4any</SRC_ADDR>
     <SRC_PORT>4321</SRC_PORT>
     <SRC_AS>6447</SRC_AS>
     <DST_ADDR>65.49.129.101</DST_ADDR>
     <DST_PORT>179</DST_PORT>
     <DST_AS>3043</DST_AS>
   </PEERING>
   <STATUS_MSG>
     <SESSION_STATUS count=3D"3">
       <SESSION>
         <ADDR>65.49.129.101</ADDR>
         <PORT>179</PORT>
         <AS>3043</AS>
         <STATE>6</STATE>
         <OPTIME last_down=3D"0" last_action=3D"1233804913">64516</OPTIME>=

         <RECV_MESSAGE max=3D"0" limit=3D"0">10477308</RECV_MESSAGE>
         <RESET max=3D"0" limit=3D"0">0</RESET>
         <PREFIX max=3D"0" limit=3D"0">275527</PREFIX>
         <ATTRIBUTE max=3D"0" limit=3D"0">47661</ATTRIBUTE>
         <MEMORY_USAGE max=3D"0" limit=3D"0">13562636</MEMORY_USAGE>
         <ANNOUNCEMENT max=3D"0" limit=3D"0">287747</ANNOUNCEMENT>
         <DUP_ANNOUNCEMENT max=3D"0" =
limit=3D"0">29513778</DUP_ANNOUNCEMENT>
         <SAME_PATH max=3D"0" limit=3D"0">4820</SAME_PATH>
         <DIFF_PATH max=3D"0" limit=3D"0">92837</DIFF_PATH>
         <WITHDRAWAL max=3D"0" limit=3D"0">12220</WITHDRAWAL>
         <DUP_WITHDRAWAL max=3D"0" limit=3D"0">0</DUP_WITHDRAWAL>
       </SESSION>
       <SESSION>
         <ADDR>205.167.76.241</ADDR>
         <PORT>179</PORT>
         <AS>10876</AS>
         <STATE>6</STATE>
         <OPTIME last_down=3D"0" last_action=3D"1233804918">64515</OPTIME>=

         <RECV_MESSAGE max=3D"0" limit=3D"0">10383216</RECV_MESSAGE>
         <RESET max=3D"0" limit=3D"0">0</RESET>
         <PREFIX max=3D"0" limit=3D"0">273496</PREFIX>
         <ATTRIBUTE max=3D"0" limit=3D"0">47395</ATTRIBUTE>



Cheng, et al.            Expires August 19, 2009               [Page 37]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


         <MEMORY_USAGE max=3D"0" limit=3D"0">12829036</MEMORY_USAGE>
         <ANNOUNCEMENT max=3D"0" limit=3D"0">287055</ANNOUNCEMENT>
         <DUP_ANNOUNCEMENT max=3D"0" =
limit=3D"0">29225124</DUP_ANNOUNCEMENT>
         <SAME_PATH max=3D"0" limit=3D"0">2239</SAME_PATH>
         <DIFF_PATH max=3D"0" limit=3D"0">59761</DIFF_PATH>
         <WITHDRAWAL max=3D"0" limit=3D"0">13559</WITHDRAWAL>
         <DUP_WITHDRAWAL max=3D"0" limit=3D"0">0</DUP_WITHDRAWAL>
       </SESSION>
       <SESSION>
         <ADDR>89.149.178.10</ADDR>
         <PORT>179</PORT>
         <AS>3257</AS>
         <STATE>6</STATE>
         <OPTIME last_down=3D"0" last_action=3D"1233804918">64515</OPTIME>=

         <RECV_MESSAGE max=3D"0" limit=3D"0">245796</RECV_MESSAGE>
         <RESET max=3D"0" limit=3D"0">0</RESET>
         <PREFIX max=3D"0" limit=3D"0">271825</PREFIX>
         <ATTRIBUTE max=3D"0" limit=3D"0">47476</ATTRIBUTE>
         <MEMORY_USAGE max=3D"0" limit=3D"0">14745401</MEMORY_USAGE>
         <ANNOUNCEMENT max=3D"0" limit=3D"0">290449</ANNOUNCEMENT>
         <DUP_ANNOUNCEMENT max=3D"0" limit=3D"0">0</DUP_ANNOUNCEMENT>
         <SAME_PATH max=3D"0" limit=3D"0">175480</SAME_PATH>
         <DIFF_PATH max=3D"0" limit=3D"0">77044</DIFF_PATH>
         <WITHDRAWAL max=3D"0" limit=3D"0">18624</WITHDRAWAL>
         <DUP_WITHDRAWAL max=3D"0" limit=3D"0">0</DUP_WITHDRAWAL>
       </SESSION>
     </SESSION_STATUS>
   </STATUS_MSG>
 </BGP_MESSAGE>


7.  The XFB Schema


 <?xml version=3D"1.0" encoding=3D"utf-8" ?>
 <xs:schema targetNamespace=3D"urn:ietf:params:xml:ns:xfb-0.1"
            xmlns=3D"urn:ietf:params:xml:ns:xfb-0.1"
            xmlns:xfb=3D"urn:ietf:params:xml:ns:xfb-0.1"
            xmlns:xs=3D"http://www.w3.org/2001/XMLSchema"
            elementFormDefault=3D"qualified"
            attributeFormDefault=3D"unqualified">
   <xs:annotation>
     <xs:documentation>
       XML Format for BGP Information v0.1, see RFC XXX
       </xs:documentation>
   </xs:annotation>
   <xs:element name=3D"BGP_MESSAGE">
     <xs:complexType>



Cheng, et al.            Expires August 19, 2009               [Page 38]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


       <xs:sequence>
         <xs:element ref=3D"xfb:TIME"/>
         <xs:element ref=3D"xfb:PEERING" minOccurs=3D"0" maxOccurs=3D"1"/>=

         <xs:element ref=3D"xfb:ASCII_MSG" minOccurs=3D"0" =
maxOccurs=3D"1"/>
         <xs:element ref=3D"xfb:OCTET_MSG" minOccurs=3D"0" =
maxOccurs=3D"1"/>
         <xs:element minOccurs=3D"0" maxOccurs=3D"1" =
ref=3D"xfb:STATUS_MSG"/>
       </xs:sequence>
       <xs:attribute type=3D"xs:string" name=3D"version"
                     fixed=3D"0.1" use=3D"required"/>
       <xs:attribute use=3D"required" name=3D"length"
                     type=3D"xs:nonNegativeInteger"/>
     </xs:complexType>
   </xs:element>
   <xs:element name=3D"TIME">
     <xs:complexType>
       <xs:sequence>
         <xs:element type=3D"xs:long" name=3D"TIMESTAMP"/>
         <xs:element type=3D"xs:dateTime" name=3D"DATETIME"
                     minOccurs=3D"0" maxOccurs=3D"1"/>
         <xs:element name=3D"PRECISION_TIME" type=3D"xs:long"
                     minOccurs=3D"0" maxOccurs=3D"1"/>
       </xs:sequence>
     </xs:complexType>
   </xs:element>
   <xs:element name=3D"PEERING">
     <xs:complexType>
       <xs:sequence>
         <xs:element name=3D"SRC_ADDR" type=3D"xfb:address"/>
         <xs:element name=3D"SRC_PORT" type=3D"xfb:port"/>
         <xs:element type=3D"xfb:asn" name=3D"SRC_AS"
                     minOccurs=3D"0" maxOccurs=3D"1"/>
         <xs:element type=3D"xfb:address" name=3D"DST_ADDR"/>
         <xs:element name=3D"DST_PORT" type=3D"xfb:port"/>
         <xs:element name=3D"DST_AS" type=3D"xfb:asn"
                     minOccurs=3D"0" maxOccurs=3D"1"/>
       </xs:sequence>
     </xs:complexType>
   </xs:element>
   <xs:element name=3D"OCTET_MSG">
     <xs:complexType>
       <xs:sequence>
         <xs:element name=3D"MARKER" type=3D"xfb:octets"/>
         <xs:element name=3D"LENGTH" type=3D"xs:nonNegativeInteger"/>
         <xs:element name=3D"TYPE" type=3D"xfb:bgp_type"/>
         <xs:element name=3D"OCTETS" type=3D"xfb:octets"/>
       </xs:sequence>
     </xs:complexType>
   </xs:element>



Cheng, et al.            Expires August 19, 2009               [Page 39]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


   <xs:element name=3D"ASCII_MSG">
     <xs:complexType>
       <xs:sequence>
         <xs:element name=3D"MARKER" type=3D"xfb:octets"/>
         <xs:element name=3D"LENGTH" type=3D"xs:nonNegativeInteger"/>
         <xs:element name=3D"TYPE" type=3D"xfb:bgp_type"/>
         <xs:choice>
           <xs:element ref=3D"xfb:OPEN"/>
           <xs:element ref=3D"xfb:UPDATE"/>
           <xs:element ref=3D"xfb:NOTIFICATION"/>
           <xs:element ref=3D"xfb:KEEPALIVE"/>
           <xs:element ref=3D"xfb:ROUTE_REFRESH"/>
           <xs:element ref=3D"xfb:CISCO_ROUTE_REFRESH"/>
           <xs:element ref=3D"xfb:UNKNOWN"/>
         </xs:choice>
       </xs:sequence>
     </xs:complexType>
   </xs:element>
   <xs:element name=3D"STATUS_MSG">
     <xs:complexType>
       <xs:sequence>
         <xs:element ref=3D"xfb:BGPMON"/>
         <xs:choice>
           <xs:element ref=3D"xfb:SESSION_STATUS"
                       minOccurs=3D"0" maxOccurs=3D"1"/>
           <xs:element ref=3D"xfb:CHAIN_STATUS"
                       minOccurs=3D"0" maxOccurs=3D"1"/>
           <xs:element minOccurs=3D"0" maxOccurs=3D"1"
                       ref=3D"xfb:QUEUE_STATUS"/>
           <xs:element ref=3D"xfb:BGPMON_STATUS"
                       minOccurs=3D"0" maxOccurs=3D"1"/>
         </xs:choice>
       </xs:sequence>
     </xs:complexType>
   </xs:element>
   <xs:element name=3D"OPEN">
     <xs:complexType>
       <xs:sequence>
         <xs:element name=3D"VERSION" type=3D"xs:string"/>
         <xs:element name=3D"SRC_AS" type=3D"xfb:asn"/>
         <xs:element name=3D"HOLD_TIME" type=3D"xs:nonNegativeInteger"/>
         <xs:element name=3D"SRC_BGP" type=3D"xfb:address"/>
         <xs:element name=3D"OPT_PAR_LEN" type=3D"xs:nonNegativeInteger"/>=

         <xs:element ref=3D"xfb:OPT_PAR"/>
       </xs:sequence>
     </xs:complexType>
   </xs:element>
   <xs:element name=3D"OPT_PAR">



Cheng, et al.            Expires August 19, 2009               [Page 40]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


     <xs:complexType>
       <xs:sequence>
         <xs:element maxOccurs=3D"unbounded"
                     minOccurs=3D"0" ref=3D"xfb:PARAMETER"/>
       </xs:sequence>
       <xs:attribute name=3D"count" type=3D"xs:nonNegativeInteger"
                     use=3D"required"/>
     </xs:complexType>
   </xs:element>
   <xs:element name=3D"PARAMETER">
     <xs:complexType>
       <xs:sequence>
         <xs:element name=3D"LENGTH" type=3D"xs:nonNegativeInteger"/>
         <xs:element name=3D"TYPE" type=3D"xfb:par_type"/>
         <xs:choice>
           <xs:element ref=3D"xfb:AUTHENTICATION"/>
           <xs:element ref=3D"xfb:CAPABILITIES"/>
           <xs:element ref=3D"xfb:OTHER"/>
         </xs:choice>
       </xs:sequence>
       <xs:attribute name=3D"code" type=3D"xs:string"/>
     </xs:complexType>
   </xs:element>
   <xs:element name=3D"AUTHENTICATION">
     <xs:complexType>
       <xs:simpleContent>
         <xs:extension base=3D"xs:hexBinary">
           <xs:attribute name=3D"code" type=3D"xs:string"/>
         </xs:extension>
       </xs:simpleContent>
     </xs:complexType>
   </xs:element>
   <xs:element name=3D"CAPABILITIES">
     <xs:complexType>
       <xs:sequence>
         <xs:element minOccurs=3D"0" maxOccurs=3D"unbounded" name=3D"CAP">=

           <xs:complexType>
             <xs:sequence>
               <xs:element name=3D"CODE" type=3D"xs:string"/>
               <xs:element name=3D"LENGTH" type=3D"xs:long"/>
               <xs:element name=3D"DATA" type=3D"xs:string"/>
             </xs:sequence>
           </xs:complexType>
         </xs:element>
       </xs:sequence>
       <xs:attribute name=3D"count" type=3D"xs:integer" use=3D"required"/>=

     </xs:complexType>
   </xs:element>



Cheng, et al.            Expires August 19, 2009               [Page 41]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


   <xs:element name=3D"UNKNOWN" type=3D"xs:hexBinary"/>
   <xs:element name=3D"UPDATE">
     <xs:complexType>
       <xs:sequence>
         <xs:element name=3D"WITHDRAWN_LEN" =
type=3D"xs:nonNegativeInteger"/>
         <xs:element ref=3D"xfb:WITHDRAWN"/>
         <xs:element name=3D"PATH_ATTRIBUTES_LEN"
                     type=3D"xs:nonNegativeInteger"/>
         <xs:element ref=3D"xfb:PATH_ATTRIBUTES"/>
         <xs:element ref=3D"xfb:NLRI"/>
       </xs:sequence>
     </xs:complexType>
   </xs:element>
   <xs:element name=3D"PATH_ATTRIBUTES">
     <xs:complexType>
       <xs:sequence>
         <xs:element minOccurs=3D"0" maxOccurs=3D"unbounded"
                     ref=3D"xfb:ATTRIBUTE"/>
       </xs:sequence>
       <xs:attribute name=3D"count" type=3D"xs:nonNegativeInteger"/>
     </xs:complexType>
   </xs:element>
   <xs:element name=3D"ATTRIBUTE">
     <xs:complexType>
       <xs:sequence>
         <xs:element name=3D"FLAGS">
           <xs:complexType>
             <xs:sequence>
               <xs:element name=3D"OPTIONAL"
                           minOccurs=3D"0" maxOccurs=3D"1"/>
               <xs:element name=3D"TRANSITIVE"
                           minOccurs=3D"0" maxOccurs=3D"1"/>
               <xs:element name=3D"PARTIAL" minOccurs=3D"0" =
maxOccurs=3D"1"/>
               <xs:element name=3D"EXTENDED" minOccurs=3D"0" =
maxOccurs=3D"1"/>
             </xs:sequence>
             <xs:attribute name=3D"code" type=3D"xs:string"/>
           </xs:complexType>
         </xs:element>
         <xs:element name=3D"LENGTH" type=3D"xs:long"/>
         <xs:element name=3D"TYPE" type=3D"xfb:attr_type"/>
         <xs:choice>
           <xs:element ref=3D"xfb:ORIGIN"/>
           <xs:element ref=3D"xfb:AS_PATH"/>
           <xs:element ref=3D"xfb:NEXT_HOP"/>
           <xs:element ref=3D"xfb:MULTI_EXIT_DISC"/>
           <xs:element ref=3D"xfb:LOCAL_PREF"/>
           <xs:element ref=3D"xfb:ATOMIC_AGGREGATE"/>
           <xs:element ref=3D"xfb:AGGREGATOR"/>



Cheng, et al.            Expires August 19, 2009               [Page 42]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


           <xs:element ref=3D"xfb:COMMUNITIES"/>
           <xs:element ref=3D"xfb:ORIGINATOR_ID"/>
           <xs:element ref=3D"xfb:CLUSTER_LIST"/>
           <xs:element ref=3D"xfb:ADVERTISER"/>
           <xs:element ref=3D"xfb:RCID_PATH"/>
           <xs:element ref=3D"xfb:MP_REACH_NLRI"/>
           <xs:element ref=3D"xfb:MP_UNREACH_NLRI"/>
           <xs:element ref=3D"xfb:EXTENDED_COMMUNITIES"/>
           <xs:element ref=3D"xfb:AS4_PATH"/>
           <xs:element ref=3D"xfb:AS4_AGGREGATOR"/>
           <xs:element ref=3D"xfb:OTHER"/>
         </xs:choice>
       </xs:sequence>
     </xs:complexType>
   </xs:element>
   <xs:element name=3D"ORIGIN" type=3D"xfb:origin_type"/>
   <xs:element name=3D"AS_PATH" type=3D"xfb:as_path"/>
   <xs:element name=3D"NEXT_HOP" type=3D"xfb:address"/>
   <xs:element name=3D"MULTI_EXIT_DISC" type=3D"xs:integer"/>
   <xs:element name=3D"LOCAL_PREF" type=3D"xs:integer"/>
   <xs:element name=3D"ATOMIC_AGGREGATE"/>
   <xs:element name=3D"AGGREGATOR" type=3D"xfb:aggregator"/>
   <xs:element name=3D"COMMUNITIES">
     <xs:complexType>
       <xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded">
         <xs:element name=3D"NO_EXPORT"/>
         <xs:element name=3D"NO_ADVERTISE"/>
         <xs:element name=3D"NO_EXPORT_SUBCONFED"/>
         <xs:element ref=3D"xfb:COMMUNITY"/>
         <xs:element ref=3D"xfb:RESERVED_COMMUNITY"/>
       </xs:choice>
     </xs:complexType>
   </xs:element>
   <xs:element name=3D"COMMUNITY" type=3D"xfb:community_type"/>
   <xs:element name=3D"RESERVED_COMMUNITY" type=3D"xfb:community_type"/>
   <xs:element name=3D"ORIGINATOR_ID" type=3D"xs:integer"/>
   <xs:element name=3D"CLUSTER_LIST">
     <xs:complexType>
       <xs:sequence>
         <xs:element name=3D"ID" type=3D"xs:string"
                     minOccurs=3D"0" maxOccurs=3D"unbounded"/>
       </xs:sequence>
       <xs:attribute name=3D"count" type=3D"xs:integer"/>
     </xs:complexType>
   </xs:element>
   <xs:element name=3D"ADVERTISER" type=3D"xfb:address"/>
   <xs:element name=3D"RCID_PATH">
     <xs:complexType>



Cheng, et al.            Expires August 19, 2009               [Page 43]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


       <xs:sequence>
         <xs:element name=3D"ID" type=3D"xs:string"
                     minOccurs=3D"0" maxOccurs=3D"unbounded"/>
       </xs:sequence>
       <xs:attribute name=3D"count" type=3D"xs:integer"/>
     </xs:complexType>
   </xs:element>
   <xs:element name=3D"MP_REACH_NLRI">
     <xs:complexType>
       <xs:sequence>
         <xs:element name=3D"AFI" type=3D"xfb:afi_type"/>
         <xs:element name=3D"SAFI" type=3D"xfb:safi_type"/>
         <xs:element ref=3D"xfb:NEXT_HOP"/>
         <xs:element name=3D"SNPA_LIST_LEN" =
type=3D"xs:nonNegativeInteger"/>
         <xs:element ref=3D"xfb:SNPA_LIST"/>
         <xs:element ref=3D"xfb:NLRI"/>
       </xs:sequence>
     </xs:complexType>
   </xs:element>
   <xs:element name=3D"SNPA_LIST">
     <xs:complexType>
       <xs:sequence>
         <xs:element name=3D"SNPA" type=3D"xfb:prefix"
                     minOccurs=3D"0" maxOccurs=3D"unbounded"/>
       </xs:sequence>
       <xs:attribute name=3D"count" type=3D"xs:nonNegativeInteger"/>
     </xs:complexType>
   </xs:element>
   <xs:element name=3D"MP_UNREACH_NLRI">
     <xs:complexType>
       <xs:sequence>
         <xs:element name=3D"AFI" type=3D"xfb:afi_type"/>
         <xs:element name=3D"SAFI" type=3D"xfb:safi_type"/>
         <xs:element ref=3D"xfb:WITHDRAWN"/>
       </xs:sequence>
     </xs:complexType>
   </xs:element>
   <xs:element name=3D"EXTENDED_COMMUNITIES" =
type=3D"xfb:octets_attribute"/>
   <xs:element name=3D"AS4_PATH" type=3D"xfb:as_path"/>
   <xs:element name=3D"AS4_AGGREGATOR" type=3D"xfb:aggregator"/>
   <xs:element name=3D"OTHER">
     <xs:complexType>
       <xs:sequence>
         <xs:element name=3D"OCTETS" type=3D"xfb:octets"/>
       </xs:sequence>
     </xs:complexType>
   </xs:element>
   <xs:element name=3D"WITHDRAWN" type=3D"xfb:prefixes"/>



Cheng, et al.            Expires August 19, 2009               [Page 44]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


   <xs:element name=3D"NLRI" type=3D"xfb:prefixes"/>
   <xs:element name=3D"NOTIFICATION">
     <xs:complexType>
       <xs:sequence>
         <xs:element name=3D"CODE" type=3D"xfb:error_type"/>
         <xs:element name=3D"SUBCODE" type=3D"xfb:error_type"/>
         <xs:element name=3D"DATA" type=3D"xs:string"/>
       </xs:sequence>
     </xs:complexType>
   </xs:element>
   <xs:element name=3D"KEEPALIVE"/>
   <xs:element name=3D"ROUTE_REFRESH">
     <xs:complexType>
       <xs:attributeGroup ref=3D"xfb:attr_group_afi"/>
     </xs:complexType>
   </xs:element>
   <xs:element name=3D"CISCO_ROUTE_REFRESH"/>
   <xs:element name=3D"BGPMON_STATUS">
     <xs:complexType>
       <xs:choice>
         <xs:element name=3D"START"/>
         <xs:element name=3D"STOP"/>
       </xs:choice>
     </xs:complexType>
   </xs:element>
   <xs:element name=3D"QUEUE_STATUS">
     <xs:complexType>
       <xs:sequence>
         <xs:element minOccurs=3D"0" maxOccurs=3D"unbounded"
                     ref=3D"xfb:QUEUE"/>
       </xs:sequence>
       <xs:attribute name=3D"count" type=3D"xs:nonNegativeInteger"/>
     </xs:complexType>
   </xs:element>
   <xs:element name=3D"QUEUE">
     <xs:complexType>
       <xs:sequence>
         <xs:element name=3D"NAME" type=3D"xs:string"/>
         <xs:element name=3D"ITEM" type=3D"xfb:stat_type"/>
         <xs:element name=3D"WRITER" type=3D"xfb:stat_type"/>
         <xs:element name=3D"READER" type=3D"xfb:stat_type"/>
         <xs:element name=3D"PACING">
           <xs:complexType>
             <xs:sequence>
               <xs:element name=3D"FLAG" type=3D"xs:string"/>
               <xs:element name=3D"COUNT" type=3D"xfb:stat_type"/>
               <xs:element type=3D"xfb:stat_type" name=3D"WRITE_LIMIT"/>
             </xs:sequence>



Cheng, et al.            Expires August 19, 2009               [Page 45]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


           </xs:complexType>
         </xs:element>
       </xs:sequence>
     </xs:complexType>
   </xs:element>
   <xs:element name=3D"CHAIN_STATUS">
     <xs:complexType>
       <xs:sequence>
         <xs:element ref=3D"xfb:CHAIN"
                     minOccurs=3D"0" maxOccurs=3D"unbounded"/>
       </xs:sequence>
       <xs:attribute name=3D"count" type=3D"xs:nonNegativeInteger"/>
     </xs:complexType>
   </xs:element>
   <xs:element name=3D"CHAIN">
     <xs:complexType>
       <xs:sequence>
         <xs:group ref=3D"PEERING_STAT"/>
       </xs:sequence>
     </xs:complexType>
   </xs:element>
   <xs:element name=3D"SESSION_STATUS">
     <xs:complexType>
       <xs:sequence>
         <xs:element ref=3D"xfb:SESSION"
                     minOccurs=3D"0" maxOccurs=3D"unbounded"/>
       </xs:sequence>
       <xs:attribute name=3D"count" type=3D"xs:nonNegativeInteger"/>
     </xs:complexType>
   </xs:element>
   <xs:element name=3D"SESSION">
     <xs:complexType>
       <xs:sequence>
         <xs:group ref=3D"xfb:PEERING_STAT"/>
         <xs:group ref=3D"xfb:SESSION_STAT"
                   minOccurs=3D"0" maxOccurs=3D"1"/>
       </xs:sequence>
     </xs:complexType>
   </xs:element>
   <xs:element name=3D"BGPMON">
     <xs:complexType>
       <xs:sequence>
         <xs:element name=3D"ADDR" type=3D"xfb:address"/>
         <xs:element name=3D"PORT" type=3D"xfb:port"/>
         <xs:element type=3D"xfb:asn" name=3D"AS"
                     minOccurs=3D"0" maxOccurs=3D"1"/>
       </xs:sequence>
     </xs:complexType>



Cheng, et al.            Expires August 19, 2009               [Page 46]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


   </xs:element>
   <xs:group name=3D"PEERING_STAT">
     <xs:sequence>
       <xs:element type=3D"xfb:address" name=3D"ADDR"/>
       <xs:element name=3D"PORT" type=3D"xfb:port"
                   minOccurs=3D"0" maxOccurs=3D"1"/>
       <xs:element name=3D"AS" type=3D"xfb:asn"
                   minOccurs=3D"0" maxOccurs=3D"1"/>
       <xs:element name=3D"STATE" type=3D"xs:integer"
                   minOccurs=3D"0" maxOccurs=3D"1"/>
       <xs:element name=3D"STATE_CHANGE" minOccurs=3D"0" maxOccurs=3D"1">
         <xs:complexType>
           <xs:sequence>
             <xs:element name=3D"OLD_STATE" type=3D"xs:integer"/>
             <xs:element name=3D"NEW_STATE" type=3D"xs:integer"/>
             <xs:element name=3D"REASON" type=3D"xs:integer"/>
           </xs:sequence>
         </xs:complexType>
       </xs:element>
       <xs:element name=3D"OPTIME" type=3D"xfb:time_type"
                   minOccurs=3D"0" maxOccurs=3D"1"/>
       <xs:element name=3D"RECV_MESSAGE" type=3D"xfb:stat_type"
                   minOccurs=3D"0" maxOccurs=3D"1"/>
       <xs:element name=3D"RESET" type=3D"xfb:stat_type"
                   minOccurs=3D"0" maxOccurs=3D"1"/>
     </xs:sequence>
   </xs:group>
   <xs:group name=3D"SESSION_STAT">
     <xs:sequence>
       <xs:element name=3D"PREFIX"/>
       <xs:element name=3D"ATTRIBUTE"/>
       <xs:element name=3D"MEMORY_USAGE"/>
       <xs:element name=3D"ANNOUNCEMENT" type=3D"xfb:stat_type"/>
       <xs:element name=3D"DUP_ANNOUNCEMENT" type=3D"xfb:stat_type"/>
       <xs:element name=3D"SAME_PATH" type=3D"xfb:stat_type"/>
       <xs:element name=3D"DIFF_PATH" type=3D"xfb:stat_type"/>
       <xs:element name=3D"WITHDRAWAL" type=3D"xfb:stat_type"/>
       <xs:element name=3D"DUP_WITHDRAWAL" type=3D"xfb:stat_type"/>
     </xs:sequence>
   </xs:group>
   <xs:complexType name=3D"address">
     <xs:simpleContent>
       <xs:extension base=3D"xs:string">
         <xs:attributeGroup ref=3D"attr_group_afi"/>
       </xs:extension>
     </xs:simpleContent>
   </xs:complexType>
   <xs:complexType name=3D"prefix">



Cheng, et al.            Expires August 19, 2009               [Page 47]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


     <xs:simpleContent>
       <xs:extension base=3D"xs:string">
         <xs:attribute name=3D"label" type=3D"xs:string"/>
         <xs:attributeGroup ref=3D"attr_group_afi"/>
       </xs:extension>
     </xs:simpleContent>
   </xs:complexType>
   <xs:complexType name=3D"prefixes">
     <xs:sequence>
       <xs:element minOccurs=3D"0" maxOccurs=3D"unbounded"
                   type=3D"xfb:prefix" name=3D"PREFIX"/>
     </xs:sequence>
     <xs:attribute name=3D"count" type=3D"xs:nonNegativeInteger"/>
   </xs:complexType>
   <xs:simpleType name=3D"port">
     <xs:restriction base=3D"xs:integer">
       <xs:maxInclusive value=3D"65535"/>
       <xs:minInclusive value=3D"0"/>
     </xs:restriction>
   </xs:simpleType>
   <xs:simpleType name=3D"asn">
     <xs:restriction base=3D"xs:nonNegativeInteger"/>
   </xs:simpleType>
   <xs:complexType name=3D"as_path">
     <xs:sequence>
       <xs:element name=3D"AS" type=3D"xfb:asn"
                   minOccurs=3D"1" maxOccurs=3D"unbounded"/>
     </xs:sequence>
     <xs:attribute name=3D"type" type=3D"xfb:enum_as_path_type"/>
   </xs:complexType>
   <xs:complexType name=3D"aggregator">
     <xs:sequence>
       <xs:element name=3D"AS" type=3D"xfb:asn"/>
       <xs:element name=3D"ADDR" type=3D"xfb:address"/>
     </xs:sequence>
   </xs:complexType>
   <xs:complexType name=3D"octets">
     <xs:simpleContent xml:base=3D"xs:hexBinary">
       <xs:extension base=3D"xs:string">
         <xs:attribute name=3D"length" type=3D"xs:nonNegativeInteger"
                       use=3D"optional"/>
       </xs:extension>
     </xs:simpleContent>
   </xs:complexType>
   <xs:complexType name=3D"bgp_type">
     <xs:simpleContent>
       <xs:extension base=3D"enum_bgp_type">
         <xs:attribute type=3D"xs:nonNegativeInteger" name=3D"value"/>



Cheng, et al.            Expires August 19, 2009               [Page 48]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


       </xs:extension>
     </xs:simpleContent>
   </xs:complexType>
   <xs:complexType name=3D"origin_type">
     <xs:simpleContent>
       <xs:extension base=3D"enum_origin_type">
         <xs:attribute type=3D"xs:nonNegativeInteger" name=3D"value"/>
       </xs:extension>
     </xs:simpleContent>
   </xs:complexType>
   <xs:complexType name=3D"par_type">
     <xs:simpleContent>
       <xs:extension base=3D"enum_par_type">
         <xs:attribute type=3D"xs:nonNegativeInteger" name=3D"value"/>
       </xs:extension>
     </xs:simpleContent>
   </xs:complexType>
   <xs:complexType name=3D"afi_type">
     <xs:simpleContent>
       <xs:extension base=3D"enum_afi_type">
         <xs:attribute type=3D"xs:nonNegativeInteger" name=3D"value"/>
       </xs:extension>
     </xs:simpleContent>
   </xs:complexType>
   <xs:complexType name=3D"safi_type">
     <xs:simpleContent>
       <xs:extension base=3D"enum_safi_type">
         <xs:attribute type=3D"xs:nonNegativeInteger" name=3D"value"/>
       </xs:extension>
     </xs:simpleContent>
   </xs:complexType>
   <xs:complexType name=3D"attr_type">
     <xs:simpleContent>
       <xs:extension base=3D"xs:string">
         <xs:attribute type=3D"xs:nonNegativeInteger" name=3D"value"/>
       </xs:extension>
     </xs:simpleContent>
   </xs:complexType>
   <xs:complexType name=3D"error_type">
     <xs:simpleContent>
       <xs:extension base=3D"xs:string">
         <xs:attribute type=3D"xs:nonNegativeInteger" name=3D"value"/>
       </xs:extension>
     </xs:simpleContent>
   </xs:complexType>
   <xs:complexType name=3D"community_type">
     <xs:sequence>
       <xs:element name=3D"AS" type=3D"xfb:asn"/>



Cheng, et al.            Expires August 19, 2009               [Page 49]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


       <xs:element name=3D"VALUE" type=3D"xs:nonNegativeInteger"/>
     </xs:sequence>
   </xs:complexType>
   <xs:complexType name=3D"octets_attribute">
     <xs:sequence>
       <xs:element type=3D"xfb:octets" name=3D"OCTETS"/>
     </xs:sequence>
   </xs:complexType>
   <xs:simpleType name=3D"enum_yes_no_type">
     <xs:restriction base=3D"xs:string">
       <xs:enumeration value=3D"YES"/>
       <xs:enumeration value=3D"NO"/>
     </xs:restriction>
   </xs:simpleType>
   <xs:simpleType name=3D"enum_origin_type">
     <xs:restriction base=3D"xs:NMTOKEN">
       <xs:enumeration value=3D"IGP"/>
       <xs:enumeration value=3D"BGP"/>
       <xs:enumeration value=3D"INCOMPLETE"/>
       <xs:enumeration value=3D"OTHER"/>
     </xs:restriction>
   </xs:simpleType>
   <xs:simpleType name=3D"enum_par_type">
     <xs:restriction base=3D"xs:NMTOKEN">
       <xs:enumeration value=3D"AUTHENTICATION"/>
       <xs:enumeration value=3D"CAPABILITIES"/>
       <xs:enumeration value=3D"OTHER"/>
     </xs:restriction>
   </xs:simpleType>
   <xs:simpleType name=3D"enum_bgp_type">
     <xs:restriction base=3D"xs:NMTOKEN">
       <xs:enumeration value=3D"OPEN"/>
       <xs:enumeration value=3D"UPDATE"/>
       <xs:enumeration value=3D"NOTIFICATION"/>
       <xs:enumeration value=3D"KEEPALIVE"/>
       <xs:enumeration value=3D"ROUTE_REFRESH"/>
       <xs:enumeration value=3D"CISCO_ROUTE_REFRESH"/>
       <xs:enumeration value=3D"UNKNOWN"/>
     </xs:restriction>
   </xs:simpleType>
   <xs:simpleType name=3D"enum_afi_type">
     <xs:restriction base=3D"xs:NMTOKEN">
       <xs:enumeration value=3D"IPV4"/>
       <xs:enumeration value=3D"IPV6"/>
       <xs:enumeration value=3D"OTHER"/>
     </xs:restriction>
   </xs:simpleType>
   <xs:simpleType name=3D"enum_as_path_type">



Cheng, et al.            Expires August 19, 2009               [Page 50]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


     <xs:restriction base=3D"xs:NMTOKEN">
       <xs:enumeration value=3D"as_sequence"/>
       <xs:enumeration value=3D"as_set"/>
     </xs:restriction>
   </xs:simpleType>
   <xs:simpleType name=3D"enum_safi_type">
     <xs:restriction base=3D"xs:NMTOKEN">
       <xs:enumeration value=3D"NLRI_UNICAST"/>
       <xs:enumeration value=3D"NLRI_MULTICAST"/>
       <xs:enumeration value=3D"NLRI_MPLS"/>
       <xs:enumeration value=3D"OTHER"/>
     </xs:restriction>
   </xs:simpleType>
   <xs:complexType name=3D"stat_type">
     <xs:simpleContent>
       <xs:extension base=3D"xs:float">
         <xs:attributeGroup ref=3D"xfb:attr_group_stat"/>
       </xs:extension>
     </xs:simpleContent>
   </xs:complexType>
   <xs:complexType name=3D"time_type">
     <xs:simpleContent>
       <xs:extension base=3D"xs:float">
         <xs:attributeGroup ref=3D"xfb:attr_group_time"/>
       </xs:extension>
     </xs:simpleContent>
   </xs:complexType>
   <xs:attributeGroup name=3D"attr_group_stat">
     <xs:attribute name=3D"avg" use=3D"optional" type=3D"xs:float"/>
     <xs:attribute name=3D"sdv" use=3D"optional" type=3D"xs:float"/>
     <xs:attribute name=3D"min" type=3D"xs:float" use=3D"optional"/>
     <xs:attribute name=3D"max" type=3D"xs:float" use=3D"optional"/>
     <xs:attribute name=3D"accu" type=3D"xs:float"/>
     <xs:attribute name=3D"limit" type=3D"xs:float" use=3D"optional"/>
   </xs:attributeGroup>
   <xs:attributeGroup name=3D"attr_group_time">
     <xs:attribute name=3D"last_startup" use=3D"optional" =
type=3D"xs:long"/>
     <xs:attribute name=3D"last_down" use=3D"optional" type=3D"xs:long"/>
     <xs:attribute name=3D"last_action" use=3D"optional" =
type=3D"xs:long"/>
   </xs:attributeGroup>
   <xs:attributeGroup name=3D"attr_group_afi">
     <xs:attribute name=3D"afi" type=3D"xfb:enum_afi_type" =
use=3D"optional"/>
     <xs:attribute name=3D"afi_value" type=3D"xs:nonNegativeInteger"
                   use=3D"optional"/>
     <xs:attribute name=3D"safi" type=3D"xfb:enum_safi_type"
                   use=3D"optional"/>
     <xs:attribute name=3D"safi_value" type=3D"xs:nonNegativeInteger"
                   use=3D"optional"/>



Cheng, et al.            Expires August 19, 2009               [Page 51]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


   </xs:attributeGroup>
 </xs:schema>



8.  Acknowledgements


9.  IANA Considerations

   This document uses URNs to describe an XML namespace and schema.  Two
   registrations are needed: (1) registration for the XFB namespace:
   urn:ietf:params:xml:ns:xfb-0.1 and (2) registration for the XFB XML
   schema: urn:ietf:params:xml:schema:xfb-0.1


10.  Security Considerations

   The XFB format untilizes XML to flexibly represent BGP information.
   The XFB document structure and fields are only descriptive and do not
   create additional security risks.


11.  References

11.1.  Normative References

   [I-D.ietf-grow-mrt]
              Blunk, L., Karir, M., and C. Labovitz, "MRT routing
              information export format", draft-ietf-grow-mrt-08 (work
              in progress), July 2008.

   [RFC1997]  Chandrasekeran, R., Traina, P., and T. Li, "BGP
              Communities Attribute", RFC 1997, August 1996.

   [RFC2119]  Bradner, S., "Key words for use in RFCs to Indicate
              Requirement Levels", BCP 14, RFC 2119, March 1997.

   [RFC2918]  Chen, E., "Route Refresh Capability for BGP-4", RFC 2918,
              September 2000.

   [RFC4271]  Rekhter, Y., Li, T., and S. Hares, "A Border Gateway
              Protocol 4 (BGP-4)", RFC 4271, January 2006.

   [RFC4760]  Bates, T., Chandra, R., Katz, D., and Y. Rekhter,
              "Multiprotocol Extensions for BGP-4", RFC 4760,
              January 2007.




Cheng, et al.            Expires August 19, 2009               [Page 52]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


   [RFC4893]  Vohra, Q. and E. Chen, "BGP Support for Four-octet AS
              Number Space", RFC 4893, May 2007.

11.2.  Informative References

   [Rosen]    Rosen, Eric.,
              "draft-ramachandra-bgp-ext-communities-00.txt",
              March 1999.

URIs

   [1]  <http://bgpmon.netsec.colostate.edu/>

   [2]  <http://www.w3.org/TR/xmlschema-2/>


Appendix A.  Storage Size Comparison

   Experiment results are promising using the default compression
   parameters for bzip2.  As shown in the table below, the uncompressed
   XFB require more space, but the compressed XFB require less space.
   Compared with bgpdump format, less storage will be used in compressed
   XFB format.  Even compared with MRT [I-D.ietf-grow-mrt] binary
   format, XFB almost consumes the same storage.  This table shows the
   size of data used in the above comparison, using MRT as the baseline.

          +---------+--------------+-------+------------+-------+
          | format  | umcompressed | ratio | compressed | ratio |
          +---------+--------------+-------+------------+-------+
          | XFB     | 74389091     | 7.22  | 2200472    | 1.03  |
          | bgpdump | 54466310     | 5.29  | 2418845    | 1.13  |
          | MRT     | 10298545     | 1.0   | 2142657    | 1.00  |
          +---------+--------------+-------+------------+-------+

                          Storage Size Comparison
















Cheng, et al.            Expires August 19, 2009               [Page 53]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


Authors' Addresses

   Peichun Cheng (editor)
   UCLA IRL
   Los Angeles, CA
   US

   Phone:
   Fax:
   Email: pccheng@cs.ucla.edu
   URI:


   He Yan (editor)
   CSU-Netsec Group
   Fort Collins, CO
   US

   Phone:
   Fax:
   Email: yanhe@cs.colostate.edu
   URI:


   Kevin Burnett (editor)
   CSU-Netsec Group
   Fort Collins, CO
   US

   Phone:
   Fax:
   Email: burnet@cs.colostate.edu
   URI:


   Daniel F. Massey (editor)
   CSU-Netsec Group
   Fort Collins, CO
   US

   Phone:
   Email: massey@cs.colostate.edu









Cheng, et al.            Expires August 19, 2009               [Page 54]
=0C
Internet-Draft                 BGP in XML                       Feb 2009


   Lixia Zhang (editor)
   UCLA IRL
   Los Angeles, CA
   US

   Phone:
   Fax:
   Email: lixia@cs.ucla.edu
   URI:










































Cheng, et al.            Expires August 19, 2009               [Page 55]
=0C


--Apple-Mail-35--895214221
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed
Content-Transfer-Encoding: 7bit



Any questions, comments and suggestions are appreciated.

Thanks,
Yan
--Apple-Mail-35--895214221--

From eromijn@ripe.net  Tue Feb 24 01:43:38 2009
Return-Path: <eromijn@ripe.net>
X-Original-To: grow@core3.amsl.com
Delivered-To: grow@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EA6933A6A84 for <grow@core3.amsl.com>; Tue, 24 Feb 2009 01:43:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.11
X-Spam-Level: 
X-Spam-Status: No, score=-1.11 tagged_above=-999 required=5 tests=[BAYES_05=-1.11]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uMYzXGrVx71t for <grow@core3.amsl.com>; Tue, 24 Feb 2009 01:43:38 -0800 (PST)
Received: from postlady.ripe.net (postlady.ripe.net [193.0.19.65]) by core3.amsl.com (Postfix) with ESMTP id 2E9D03A680F for <grow@ietf.org>; Tue, 24 Feb 2009 01:43:38 -0800 (PST)
Received: from herring.ripe.net ([193.0.1.203]) by postlady.ripe.net with esmtp (Exim 4.63) (envelope-from <eromijn@ripe.net>) id 1Lbsub-0006kT-Na; Tue, 24 Feb 2009 09:45:10 +0100
Received: from guest-wv-19.ripe.net (gw.office.nsrp.ripe.net [193.0.1.126]) by herring.ripe.net (Postfix) with ESMTP id AD9832F593; Tue, 24 Feb 2009 09:45:09 +0100 (CET)
Message-ID: <49A3B395.2060705@ripe.net>
Date: Tue, 24 Feb 2009 09:45:09 +0100
From: Erik Romijn <eromijn@ripe.net>
Organization: RIPE NCC
User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209)
MIME-Version: 1.0
To: He Yan <yanhe@CS.ColoState.EDU>
References: <3C7E8D88-B398-42B1-95F1-673CA568E50B@CS.ColoState.EDU>
In-Reply-To: <3C7E8D88-B398-42B1-95F1-673CA568E50B@CS.ColoState.EDU>
X-Enigmail-Version: 0.95.7
OpenPGP: id=C1AB2068
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-RIPE-Spam-Level: ----
X-RIPE-Signature: a2f8b28ab3a871f9fe83cfe5712c99cff39d575592cc14b0428d61c1e1bb6b6e
Cc: grow@ietf.org
Subject: Re: [GROW] BGP routing information in XML format
X-BeenThere: grow@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Grow Working Group Mailing List <grow.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/grow>, <mailto:grow-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/grow>
List-Post: <mailto:grow@ietf.org>
List-Help: <mailto:grow-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/grow>, <mailto:grow-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Feb 2009 09:43:39 -0000

Hi,

He Yan wrote:
> Toward
> this end, we have BGP data available in an XML format rather than MRT.
> Compared with MRT, XML is more extensible, human and machine-readable
> and can serve as a common interface for a variety of tools.

This looks interesting. A quick question: what is the amount of on-disk
data that you collect with this?

With RIS, we now collect 22GB of gzipped MRT per month, for ~110 full
peers. So every full peer gets us about 200MB of gzipped data per month.

Are these figures higher with your XML-based format (with compression -
I imagine the XML compresses better than MRT) ?

I know that disk space is considered cheap, but we still have
limitations in this.

cheers,
Erik Romijn
RIPE NCC RIS

From yanhe@CS.ColoState.EDU  Tue Feb 24 02:03:00 2009
Return-Path: <yanhe@CS.ColoState.EDU>
X-Original-To: grow@core3.amsl.com
Delivered-To: grow@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7EF5A3A6A84 for <grow@core3.amsl.com>; Tue, 24 Feb 2009 02:03:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.516
X-Spam-Level: 
X-Spam-Status: No, score=-1.516 tagged_above=-999 required=5 tests=[AWL=1.083,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9AsXPIuf32ba for <grow@core3.amsl.com>; Tue, 24 Feb 2009 02:02:59 -0800 (PST)
Received: from mail.halls.colostate.edu (mail.halls.colostate.edu [129.82.88.10]) by core3.amsl.com (Postfix) with ESMTP id AE0903A6991 for <grow@ietf.org>; Tue, 24 Feb 2009 02:02:59 -0800 (PST)
Received: from [192.168.0.2] (nagg217062.halls.colostate.edu [129.82.217.62]) by mail.halls.colostate.edu (8.12.11/8.12.11) with ESMTP id n1OA3Iwu004675; Tue, 24 Feb 2009 03:03:18 -0700
Message-Id: <E4256EBE-37C2-40B0-A02A-88E17177DD64@CS.ColoState.EDU>
From: He Yan <yanhe@CS.ColoState.EDU>
To: Erik Romijn <eromijn@ripe.net>
In-Reply-To: <49A3B395.2060705@ripe.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v930.3)
Date: Tue, 24 Feb 2009 03:03:17 -0700
References: <3C7E8D88-B398-42B1-95F1-673CA568E50B@CS.ColoState.EDU> <49A3B395.2060705@ripe.net>
X-Mailer: Apple Mail (2.930.3)
Cc: grow@ietf.org
Subject: Re: [GROW] BGP routing information in XML format
X-BeenThere: grow@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Grow Working Group Mailing List <grow.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/grow>, <mailto:grow-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/grow>
List-Post: <mailto:grow@ietf.org>
List-Help: <mailto:grow-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/grow>, <mailto:grow-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Feb 2009 10:03:00 -0000

On Feb 24, 2009, at 1:45 AM, Erik Romijn wrote:

> Hi,
>
> He Yan wrote:
>> Toward
>> this end, we have BGP data available in an XML format rather than  
>> MRT.
>> Compared with MRT, XML is more extensible, human and machine-readable
>> and can serve as a common interface for a variety of tools.
>
> This looks interesting. A quick question: what is the amount of on- 
> disk
> data that you collect with this?
>
> With RIS, we now collect 22GB of gzipped MRT per month, for ~110 full
> peers. So every full peer gets us about 200MB of gzipped data per  
> month.
>
> Are these figures higher with your XML-based format (with  
> compression -
> I imagine the XML compresses better than MRT) ?
Thanks for your comments.
Based on our experiment's result,  XML is 1.03 times larger then MRT  
by using the default compression parameters for bzip2.
If you now collect 22GB compressed MRT data per month,  with XML you  
need to collect about 22*1.03 = 22.66GB XML compressed data per month.

He Yan

>
>
> I know that disk space is considered cheap, but we still have
> limitations in this.
>
> cheers,
> Erik Romijn
> RIPE NCC RIS


From root@core3.amsl.com  Wed Feb 25 07:15:01 2009
Return-Path: <root@core3.amsl.com>
X-Original-To: grow@ietf.org
Delivered-To: grow@core3.amsl.com
Received: by core3.amsl.com (Postfix, from userid 0) id 2C8FB3A68A9; Wed, 25 Feb 2009 07:15:00 -0800 (PST)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20090225151501.2C8FB3A68A9@core3.amsl.com>
Date: Wed, 25 Feb 2009 07:15:01 -0800 (PST)
Cc: grow@ietf.org
Subject: [GROW] I-D Action:draft-ietf-grow-mrt-09.txt
X-BeenThere: grow@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Grow Working Group Mailing List <grow.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/grow>, <mailto:grow-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/grow>
List-Post: <mailto:grow@ietf.org>
List-Help: <mailto:grow-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/grow>, <mailto:grow-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Feb 2009 15:15:01 -0000

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Global Routing Operations Working Group of the IETF.


	Title           : MRT routing information export format
	Author(s)       : L. Blunk, et al.
	Filename        : draft-ietf-grow-mrt-09.txt
	Pages           : 28
	Date            : 2009-02-25

This document describes the MRT format for routing information
export.  This format was developed in concert with the Multi-threaded
Routing Toolkit (MRT) from whence the format takes it name.  The
format can be used to export routing protocol messages, state
changes, and routing information base contents.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-grow-mrt-09.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-grow-mrt-09.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2009-02-25070012.I-D@ietf.org>


--NextPart--

From pds@lugs.com  Wed Feb 25 10:40:25 2009
Return-Path: <pds@lugs.com>
X-Original-To: grow@core3.amsl.com
Delivered-To: grow@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B6E5B28C299 for <grow@core3.amsl.com>; Wed, 25 Feb 2009 10:40:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9jtc9okQLVH2 for <grow@core3.amsl.com>; Wed, 25 Feb 2009 10:40:24 -0800 (PST)
Received: from murdock.lugs.com (ipv6.murdock.lugs.com [IPv6:2001:418:c01::4]) by core3.amsl.com (Postfix) with ESMTP id A7B483A6848 for <grow@ietf.org>; Wed, 25 Feb 2009 10:40:24 -0800 (PST)
Received: from six.dgsi.com (six.dgsi.com [204.62.232.6] (may be forged)) (authenticated bits=0) by murdock.lugs.com (8.13.8/8.13.8) with ESMTP id n1PIedbG051062 for <grow@ietf.org>; Wed, 25 Feb 2009 13:40:42 -0500 (EST) (envelope-from pds@lugs.com)
Message-Id: <9E41C8FD-69DE-4B69-971B-29FAFAB51AF2@lugs.com>
From: Peter Schoenmaker <pds@lugs.com>
To: grow@ietf.org
Content-Type: multipart/mixed; boundary=Apple-Mail-6--417999353
Mime-Version: 1.0 (Apple Message framework v930.3)
Date: Wed, 25 Feb 2009 10:40:38 -0800
References: <20090225151501.2C8FB3A68A9@core3.amsl.com>
X-Mailer: Apple Mail (2.930.3)
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (murdock.lugs.com [192.80.15.4]); Wed, 25 Feb 2009 13:40:43 -0500 (EST)
Subject: [GROW] Last call draft-ietf-grow-mrt-09.txt
X-BeenThere: grow@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Grow Working Group Mailing List <grow.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/grow>, <mailto:grow-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/grow>
List-Post: <mailto:grow@ietf.org>
List-Help: <mailto:grow-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/grow>, <mailto:grow-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Feb 2009 18:40:25 -0000

--Apple-Mail-6--417999353
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: 7bit

Hello,

I would like to issue last call for draft-ietf-grow-mrt-09.txt.   
Please provide any final comments by March 20th (just before IETF 74  
San Francisco.)

thanks

peter



Begin forwarded message:

> From: Internet-Drafts@ietf.org
> Date: February 25, 2009 7:15:01 AM PST
> To: i-d-announce@ietf.org
> Cc: grow@ietf.org
> Subject: [GROW] I-D Action:draft-ietf-grow-mrt-09.txt
>
> A New Internet-Draft is available from the on-line Internet-Drafts  
> directories.
> This draft is a work item of the Global Routing Operations Working  
> Group of the IETF.
>
>
> 	Title           : MRT routing information export format
> 	Author(s)       : L. Blunk, et al.
> 	Filename        : draft-ietf-grow-mrt-09.txt
> 	Pages           : 28
> 	Date            : 2009-02-25
>
> This document describes the MRT format for routing information
> export.  This format was developed in concert with the Multi-threaded
> Routing Toolkit (MRT) from whence the format takes it name.  The
> format can be used to export routing protocol messages, state
> changes, and routing information base contents.
>
> A URL for this Internet-Draft is:
> http://www.ietf.org/internet-drafts/draft-ietf-grow-mrt-09.txt
>
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>
> Below is the data which will enable a MIME compliant mail reader
> implementation to automatically retrieve the ASCII version of the
> Internet-Draft.

--Apple-Mail-6--417999353
Content-Disposition: attachment;
	filename=mime-attachment
Content-Type: message/external-body;
	x-unix-mode=0666;
	name="mime-attachment"
Content-Transfer-Encoding: 7bit

Content-Type: text/plain<BR>Content-ID: &lt;2009-02-25070012.I-D@ietf.org&gt;<BR><BR>


--Apple-Mail-6--417999353
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed
Content-Transfer-Encoding: 7bit

> _______________________________________________
> GROW mailing list
> GROW@ietf.org
> https://www.ietf.org/mailman/listinfo/grow


--Apple-Mail-6--417999353--

From francis@mpi-sws.org  Thu Feb 26 00:19:44 2009
Return-Path: <francis@mpi-sws.org>
X-Original-To: grow@core3.amsl.com
Delivered-To: grow@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A2C5D28C205; Thu, 26 Feb 2009 00:19:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.249
X-Spam-Level: 
X-Spam-Status: No, score=-6.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GrNLhV0XLCzJ; Thu, 26 Feb 2009 00:19:43 -0800 (PST)
Received: from apollo.mpi-sb.mpg.de (apollo.mpi-sb.mpg.de [139.19.1.50]) by core3.amsl.com (Postfix) with ESMTP id 4134928C1C5; Thu, 26 Feb 2009 00:19:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mpi-sb.mpg.de; s=mail200803; h=In-Reply-To:References:To:Cc: MIME-Version:Subject:From:Message-ID:Date:Content-Type; bh=R6UZq lDXN3+ANMY659oxQx18u81c4cpXJnTaBP9hiR8=; b=WFBaDM4/H9jJQQxkRGT9e 3lfcJLs5Pdq5n1fLhtFwOMoGR363LRp7bg2KbnsUPLV/XjnSnkk1Ow2OMX6RIt46 R20qDbBjjeG7uCE80jTsNwzWDq4zesffQa09hjBQI4zSWCnCnEeH/nR/ZKiaFEf/ TnX+oqIme87ycS2H2HcRG4=
Received: from domino.mpi-inf.mpg.de ([139.19.3.53]:1567) by apollo.mpi-sb.mpg.de (envelope-from <francis@mpi-sws.org>)  with esmtp (Exim 4.69) id 1LcbTG-00039W-6a; Thu, 26 Feb 2009 09:20:01 +0100
In-Reply-To: <5744814C-0183-4D88-97C6-E02C86DB67DE@lugs.com>
References: <5744814C-0183-4D88-97C6-E02C86DB67DE@lugs.com>
To: Peter Schoenmaker <pds@lugs.com>
MIME-Version: 1.0
X-KeepSent: 9AA260AC:CCB8142F-C1257569:002D2964; type=4; name=$KeepSent
X-Mailer: Lotus Notes Release 8.0.2 HF88 September 24, 2008
From: Paul Francis <francis@mpi-sws.org>
Message-ID: <OF9AA260AC.CCB8142F-ONC1257569.002D2964-C1257569.002D84B8@notes.mpi-sb.mpg.de>
Date: Thu, 26 Feb 2009 09:17:00 +0100
X-MIMETrack: Serialize by Router on domino/MPII/DE(Release 8.0.2|August 07, 2008) at 02/26/2009 09:19:42, Serialize complete at 02/26/2009 09:19:42
Content-Type: text/plain; charset="US-ASCII"
Cc: grow@ietf.org, grow-bounces@ietf.org
Subject: Re: [GROW] Agenda Items for SF
X-BeenThere: grow@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Grow Working Group Mailing List <grow.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/grow>, <mailto:grow-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/grow>
List-Post: <mailto:grow@ietf.org>
List-Help: <mailto:grow-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/grow>, <mailto:grow-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Feb 2009 08:19:44 -0000

Actually, besides the intra-domain virtual aggregation drafts I posted 
earlier (http://tools.ietf.org/html/draft-francis-intra-va-00, 
http://tools.ietf.org/html/draft-francis-va-tunnels-mpls-00, and 
http://tools.ietf.org/html/draft-xu-va-tunnels-gre-00), there is an 
additional inter-domain draft that represents the logical extension of 
where the intra-domain work would go were it to become widespread (
http://www.ietf.org/internet-drafts/draft-xu-tunnel-00.txt).  I think it'd 
be useful to present this draft after the intra-domain drafts if there is 
time.

PF




From:
Peter Schoenmaker <pds@lugs.com>
To:
grow@ietf.org
Date:
02/17/2009 08:15 PM
Subject:
[GROW] Agenda Items for SF
Sent by:
grow-bounces@ietf.org



Hi,

GROW has 1.5 hours at the SF IETF.  We currently have one agenda 
item.  I would like to find out if there are any additional agenda 
items for the San Francisco IETF?

thanks

peter


_______________________________________________
GROW mailing list
GROW@ietf.org
https://www.ietf.org/mailman/listinfo/grow




From payne.cheng@gmail.com  Fri Feb 27 16:11:53 2009
Return-Path: <payne.cheng@gmail.com>
X-Original-To: grow@core3.amsl.com
Delivered-To: grow@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 70D7A3A676A for <grow@core3.amsl.com>; Fri, 27 Feb 2009 16:11:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.976
X-Spam-Level: 
X-Spam-Status: No, score=-1.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GSl6URUCMujg for <grow@core3.amsl.com>; Fri, 27 Feb 2009 16:11:52 -0800 (PST)
Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.240]) by core3.amsl.com (Postfix) with ESMTP id 6E47728C123 for <grow@ietf.org>; Fri, 27 Feb 2009 16:11:52 -0800 (PST)
Received: by an-out-0708.google.com with SMTP id b2so1223651ana.4 for <grow@ietf.org>; Fri, 27 Feb 2009 16:12:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=9VT4upapLlmTDb/H+dm0QvBYl7EDPxtUOw077Q5ycRs=; b=C52H0XAKA984HvyhU+0UKs4WfJLqt2s+T3KO34CFcl15uzD9e/4o4RT9sMlh5Cv+bx 6amZeLymN+/P0XZodnFslakaXSlYVwkMxTvxKP6eUGJ7LQxeuseHxv3MBnS9dbcEHA2D jHIOyCdMBFLEmEWptP63WcClGUezFykZYPVWk=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=ECRzhRTQ/2tHsi6wZzLiyp1p+egUv6fllWBPqZy/Ne8ZDhe1OR3xKxkM9JcdhPXNqY 4fq8BLLzu6BrQPQKBgWCMu96XTtXZjX6KxMSV22tBEdEym4MgQsomLkKmkVNEd336Ma+ vWaMrb9fc+b0boViCB1ijWydnGm6WRRwl5JDE=
MIME-Version: 1.0
Sender: payne.cheng@gmail.com
Received: by 10.100.14.2 with SMTP id 2mr3250289ann.27.1235779935213; Fri, 27  Feb 2009 16:12:15 -0800 (PST)
In-Reply-To: <49A3B395.2060705@ripe.net>
References: <3C7E8D88-B398-42B1-95F1-673CA568E50B@CS.ColoState.EDU> <49A3B395.2060705@ripe.net>
Date: Fri, 27 Feb 2009 16:12:15 -0800
X-Google-Sender-Auth: 773f33408e760e5b
Message-ID: <d9e4ad7b0902271612t7f37d0ecu81b3a2476006d9d1@mail.gmail.com>
From: "Payne@Eng" <payne.cheng@engineering.ucla.edu>
To: grow@ietf.org
Content-Type: multipart/alternative; boundary=0016e64652e20f18250463ef7027
Cc: clue <clue@cs.ucla.edu>
Subject: Re: [GROW] BGP routing information in XML format
X-BeenThere: grow@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Grow Working Group Mailing List <grow.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/grow>, <mailto:grow-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/grow>
List-Post: <mailto:grow@ietf.org>
List-Help: <mailto:grow-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/grow>, <mailto:grow-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Feb 2009 00:14:20 -0000

--0016e64652e20f18250463ef7027
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

On Tue, Feb 24, 2009 at 12:45 AM, Erik Romijn <eromijn@ripe.net> wrote:

> Hi,
>
> This looks interesting. A quick question: what is the amount of on-disk
> data that you collect with this?
>
> With RIS, we now collect 22GB of gzipped MRT per month, for ~110 full
> peers. So every full peer gets us about 200MB of gzipped data per month.
>
> Are these figures higher with your XML-based format (with compression -
> I imagine the XML compresses better than MRT) ?
>
> I know that disk space is considered cheap, but we still have
> limitations in this.
>

Hi, the latest version of XML format includes more information and more
verbose.
We have new experiment results based on data from route-views4 (2009 Jan).

+-----------+--------------+-------+------------+-------+
| format    | umcompressed | ratio | compressed | ratio |
+-----------+--------------+-------+------------+-------+
| XFB       |   12,564(MB) | 14.87 |    211(MB) |  1.99 |
| XFB(full) |   15,039     | 17.80 |    368     |  3.47 |
| bgpdump   |    2,315     |  2.74 |    103     |  0.97 |
| MRT       |      845     |  1.00 |    106     |  1.00 |
+-----------+--------------+-------+------------+-------+
                Storage Size Comparison

. XFB is the PURE xml representation of BGP updates,
  while XFB(full) also includes the MRT binary data in the xml string.
  The lastest xml format takes around double storage space compared with
MRT.

. The bzip2 compression is promising, it compress 12G uncompressed xml
  to 211MB bz2 files.

-Payne

--0016e64652e20f18250463ef7027
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div class=3D"gmail_quote">On Tue, Feb 24, 2009 at 12:45 AM, Erik Romijn <s=
pan dir=3D"ltr">&lt;<a href=3D"mailto:eromijn@ripe.net">eromijn@ripe.net</a=
>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"border-le=
ft: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: =
1ex;">
Hi,<br>
<div class=3D"Ih2E3d"><br>
</div>This looks interesting. A quick question: what is the amount of on-di=
sk<br>
data that you collect with this?<br>
<br>
With RIS, we now collect 22GB of gzipped MRT per month, for ~110 full<br>
peers. So every full peer gets us about 200MB of gzipped data per month.<br=
>
<br>
Are these figures higher with your XML-based format (with compression -<br>
I imagine the XML compresses better than MRT) ?<br>
<br>
I know that disk space is considered cheap, but we still have<br>
limitations in this.<br>
</blockquote><div><br>Hi, the latest version of XML format includes more in=
formation and more verbose.<br>We have new experiment results based on data=
 from route-views4 (2009 Jan).<br><br><span style=3D"font-family: courier n=
ew,monospace;">+-----------+--------------+-------+------------+-------+</s=
pan><br style=3D"font-family: courier new,monospace;">
<span style=3D"font-family: courier new,monospace;">| format=A0=A0=A0 | umc=
ompressed | ratio | compressed | ratio |</span><br style=3D"font-family: co=
urier new,monospace;"><span style=3D"font-family: courier new,monospace;">+=
-----------+--------------+-------+------------+-------+</span><br style=3D=
"font-family: courier new,monospace;">
<span style=3D"font-family: courier new,monospace;">| XFB=A0=A0=A0=A0=A0=A0=
 |=A0=A0 12,564(MB) | 14.87 |=A0=A0=A0 211(MB) |=A0 1.99 |</span><br style=
=3D"font-family: courier new,monospace;"><span style=3D"font-family: courie=
r new,monospace;">| XFB(full) |=A0=A0 15,039=A0=A0=A0=A0 | 17.80 |=A0=A0=A0=
 368=A0=A0=A0=A0 |=A0 3.47 |</span><br style=3D"font-family: courier new,mo=
nospace;">
<span style=3D"font-family: courier new,monospace;">| bgpdump=A0=A0 |=A0=A0=
=A0 2,315=A0=A0=A0=A0 |=A0 2.74 |=A0=A0=A0 103=A0=A0=A0=A0 |=A0 0.97 |</spa=
n><br style=3D"font-family: courier new,monospace;"><span style=3D"font-fam=
ily: courier new,monospace;">| MRT=A0=A0=A0=A0=A0=A0 |=A0=A0=A0=A0=A0 845=
=A0=A0=A0=A0 |=A0 1.00 |=A0=A0=A0 106=A0=A0=A0=A0 |=A0 1.00 |</span><br sty=
le=3D"font-family: courier new,monospace;">
<span style=3D"font-family: courier new,monospace;">+-----------+----------=
----+-------+------------+-------+</span><br style=3D"font-family: courier =
new,monospace;"><span style=3D"font-family: courier new,monospace;">=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Storage Size Comparison</span><br>
<br>. XFB is the PURE xml representation of BGP updates, <br>=A0 while XFB(=
full) also includes the MRT binary data in the xml string.<br>=A0 The laste=
st xml format takes around double storage space compared with MRT.<br><br>.=
 The bzip2 compression is promising, it compress 12G uncompressed xml<br>
=A0 to 211MB bz2 files. <br><br>-Payne<br><br><br><br><br></div></div>

--0016e64652e20f18250463ef7027--

From massey@cs.colostate.edu  Fri Feb 27 20:36:21 2009
Return-Path: <massey@cs.colostate.edu>
X-Original-To: grow@core3.amsl.com
Delivered-To: grow@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3C0C328C13D for <grow@core3.amsl.com>; Fri, 27 Feb 2009 20:36:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gQA-E8bWf6gb for <grow@core3.amsl.com>; Fri, 27 Feb 2009 20:36:20 -0800 (PST)
Received: from akron.ACNS.ColoState.EDU (akron.acns.colostate.edu [129.82.100.160]) by core3.amsl.com (Postfix) with ESMTP id DA83928C13B for <grow@ietf.org>; Fri, 27 Feb 2009 20:36:19 -0800 (PST)
Received: from eagle.ACNS.ColoState.EDU (eagle.acns.colostate.edu [129.82.100.90]) by akron.ACNS.ColoState.EDU (8.13.8/8.12.11) with ESMTP id n1S4agDh018751 for <grow@ietf.org>; Fri, 27 Feb 2009 21:36:42 -0700
Received: from [10.0.1.2] (c-71-56-227-39.hsd1.co.comcast.net [71.56.227.39]) by eagle.ACNS.ColoState.EDU (AIX5.3/8.13.4/8.11.0) with ESMTP id n1S4afV89252868; Fri, 27 Feb 2009 21:36:41 -0700
Message-Id: <F4B55670-77AF-47C0-B883-95417033E7BE@cs.colostate.edu>
From: Daniel Massey <massey@cs.colostate.edu>
To: grow@ietf.org
In-Reply-To: <d9e4ad7b0902271612t7f37d0ecu81b3a2476006d9d1@mail.gmail.com>
Content-Type: multipart/alternative; boundary=Apple-Mail-8--209437131
Mime-Version: 1.0 (Apple Message framework v930.3)
Date: Fri, 27 Feb 2009 21:36:40 -0700
References: <3C7E8D88-B398-42B1-95F1-673CA568E50B@CS.ColoState.EDU> <49A3B395.2060705@ripe.net> <d9e4ad7b0902271612t7f37d0ecu81b3a2476006d9d1@mail.gmail.com>
X-Mailer: Apple Mail (2.930.3)
Subject: Re: [GROW] BGP routing information in XML format
X-BeenThere: grow@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Grow Working Group Mailing List <grow.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/grow>, <mailto:grow-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/grow>
List-Post: <mailto:grow@ietf.org>
List-Help: <mailto:grow-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/grow>, <mailto:grow-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Feb 2009 04:36:21 -0000

--Apple-Mail-8--209437131
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: 7bit


On Feb 27, 2009, at 5:12 PM, Payne@Eng wrote:
>
>
> Hi, the latest version of XML format includes more information and  
> more verbose.
> We have new experiment results based on data from route-views4 (2009  
> Jan).
>
> +-----------+--------------+-------+------------+-------+
> | format    | umcompressed | ratio | compressed | ratio |
> +-----------+--------------+-------+------------+-------+
> | XFB       |   12,564(MB) | 14.87 |    211(MB) |  1.99 |
> | XFB(full) |   15,039     | 17.80 |    368     |  3.47 |
> | bgpdump   |    2,315     |  2.74 |    103     |  0.97 |
> | MRT       |      845     |  1.00 |    106     |  1.00 |
> +-----------+--------------+-------+------------+-------+
>                 Storage Size Comparison
>
> . XFB is the PURE xml representation of BGP updates,
>   while XFB(full) also includes the MRT binary data in the xml string.

well, not quite.   it doesn't really include the MRT data in the xml  
string, it just includes the bytes off the wire.

Regardless of whether you use MRT or XFB or whatever, every archived  
BGP message needs to include some header information describing the  
peer that sent the update, the time received, and so forth.    So for  
example we can think of MRT as MRT = binary HEADER + binary BYTES OFF  
WIRE.

With XFB, you have a choice of what to include.     Again, we need a  
header to identify the peer, message time, etc.     After that we can  
include the bytes off the wire which are encoded as  <OCTET> bytes off  
wire in hex </OCTET>.   We can also expand these bytes into an ASCII  
format with tags like <AS_PATH> and so forth.       Since it is XML,  
the  format allows you to include either the binary format or the  
human readable version or both.

Choice 1:    store  <HEADER> + <OCTET>  + <ASCII>.    This is the  
format we are currently using to provide data as gives maximum  
flexibility.   But note the same data is encoded twice;  once as hex  
in the <OCTET> field and the again in more human readable ASCII fields  
like <AS_PATH>.    The is the large ratio number in the table above.

Choice 2:   store <HEADER> + <OCTET>.      To get this,  one could  
easily strip (or never generate) the <ASCII> parts.      The ASCII  
tags can be easily recreated from the binary data at any time.    This  
saves disk space, but requires the data user to convert the bytes back  
into <ASCII> part.       Payne and He Yan,  please correct me if wrong  
but I don't think that choice is shown in the table above.     We will  
generate these numbers and send in a future message.

Choice 3:  store <HEADER + <ASCII>.    To get this,  one could easily  
strip (or never generate) the <OCTET> field.     All the data is still  
there and this is sufficient for many applications,   but this could  
be insufficient if you want to do something like replay the bytes as  
they came off the wire.       This is row one in the table above.

Note that if you have only the <ASCII> fields, you could regenerate  
the binary <OCTET> string but there are some limitations.    For  
example, suppose the original message had two community attributes, A  
and B.    Both of these are encoded in the ASCII string as say   
<COMMUNITY> A </COMMUNITY> and <COMMUNITY> B </COMMUNITY>.    The  
challenge in recreating the binary message is that XML does not impose  
ordering and so you can't be certain whether A or B was actually  
encoded first in the bytes off the wire.        This may or may not  
matter....    the reconstructed binary octet string is equivalent to  
one that would have been sent over the wire.   In other words both  
have community A and community B in the binary.    It may have them in  
the wrong order....   if the problem you are trying to debug is that  
some router is scrambling bits 100-200, then the order might matter a  
great deal.

Thanks,
Dan






--Apple-Mail-8--209437131
Content-Type: text/html;
	charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><br><div><div>On Feb 27, 2009, =
at 5:12 PM, Payne@Eng wrote:</div><blockquote type=3D"cite"><div =
class=3D"gmail_quote"><blockquote class=3D"gmail_quote" =
style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt =
0.8ex; padding-left: 1ex;"><br> </blockquote><div><br>Hi, the latest =
version of XML format includes more information and more verbose.<br>We =
have new experiment results based on data from route-views4 (2009 =
Jan).<br><br><span style=3D"font-family: courier =
new,monospace;">+-----------+--------------+-------+------------+-------+<=
/span><br style=3D"font-family: courier new,monospace;"> <span =
style=3D"font-family: courier new,monospace;">| format&nbsp;&nbsp;&nbsp; =
| umcompressed | ratio | compressed | ratio |</span><br =
style=3D"font-family: courier new,monospace;"><span style=3D"font-family: =
courier =
new,monospace;">+-----------+--------------+-------+------------+-------+<=
/span><br style=3D"font-family: courier new,monospace;"> <span =
style=3D"font-family: courier new,monospace;">| =
XFB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp; 12,564(MB) | 14.87 =
|&nbsp;&nbsp;&nbsp; 211(MB) |&nbsp; 1.99 |</span><br style=3D"font-family:=
 courier new,monospace;"><span style=3D"font-family: courier =
new,monospace;">| XFB(full) |&nbsp;&nbsp; 15,039&nbsp;&nbsp;&nbsp;&nbsp; =
| 17.80 |&nbsp;&nbsp;&nbsp; 368&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; 3.47 =
|</span><br style=3D"font-family: courier new,monospace;"> <span =
style=3D"font-family: courier new,monospace;">| bgpdump&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp; 2,315&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; 2.74 =
|&nbsp;&nbsp;&nbsp; 103&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; 0.97 |</span><br =
style=3D"font-family: courier new,monospace;"><span style=3D"font-family: =
courier new,monospace;">| MRT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 845&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; 1.00 =
|&nbsp;&nbsp;&nbsp; 106&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; 1.00 |</span><br =
style=3D"font-family: courier new,monospace;"> <span style=3D"font-family:=
 courier =
new,monospace;">+-----------+--------------+-------+------------+-------+<=
/span><br style=3D"font-family: courier new,monospace;"><span =
style=3D"font-family: courier =
new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Storage Size Comparison</span><br> =
<br>. XFB is the PURE xml representation of BGP updates, <br>&nbsp; =
while XFB(full) also includes the MRT binary data in the xml =
string.</div></div></blockquote><div><br></div>well, not quite. =
&nbsp;&nbsp;it doesn't really include the MRT data in the xml string, it =
just includes the bytes off the wire. =
&nbsp;&nbsp;</div><div><br></div><div>Regardless of whether you use MRT =
or XFB or whatever, every archived BGP message needs to include some =
header information describing the peer that sent the update, the time =
received, and so forth. &nbsp; &nbsp;So for example we can think of MRT =
as MRT =3D binary HEADER + binary BYTES OFF =
WIRE.</div><div><br></div><div>With XFB, you have a choice of what to =
include. &nbsp; &nbsp; Again, we need a header to identify the peer, =
message time, etc. &nbsp; &nbsp; After that we can include the bytes off =
the wire which are encoded as &nbsp;&lt;OCTET> bytes off wire in hex =
&lt;/OCTET>. &nbsp; We can also expand these bytes into an ASCII format =
with tags like &lt;AS_PATH> and so forth. &nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;Since it is XML, the &nbsp;format allows you to =
include either the binary format or the human readable version or =
both.</div><div><br></div><div>Choice 1: &nbsp; =
&nbsp;store&nbsp;&nbsp;&lt;HEADER> + &lt;OCTET> &nbsp;+ &lt;ASCII>. =
&nbsp; &nbsp;This is the format we are currently using to provide data =
as gives maximum flexibility. &nbsp; But note the same data is encoded =
twice; &nbsp;once as hex in the &lt;OCTET> field and the again in more =
human readable ASCII fields like &lt;AS_PATH>. &nbsp; &nbsp;The is the =
large ratio number in the table above. =
&nbsp;&nbsp;</div><div><br></div><div>Choice 2: &nbsp; store &lt;HEADER> =
+ &lt;OCTET>. &nbsp; &nbsp; &nbsp;To get this, &nbsp;one could easily =
strip (or never generate) the &lt;ASCII> parts. &nbsp; &nbsp; &nbsp;The =
ASCII tags can be easily recreated from the binary data at any time. =
&nbsp; &nbsp;This saves disk space, but requires the data user to =
convert the bytes back into &lt;ASCII> part. &nbsp; &nbsp; &nbsp; Payne =
and He Yan, &nbsp;please correct me if wrong but I don't think that =
choice is shown in the table above. &nbsp; &nbsp; We will generate these =
numbers and send in a future message. =
&nbsp;&nbsp;</div><div><br></div><div>Choice 3: &nbsp;store &lt;HEADER + =
&lt;ASCII>. &nbsp; &nbsp;To get this, &nbsp;one could easily strip (or =
never generate) the &lt;OCTET> field. &nbsp; &nbsp; All the data is =
still there and this is sufficient for many applications, &nbsp; but =
this could be insufficient if you want to do something like replay the =
bytes as they came off the wire. &nbsp; &nbsp; &nbsp; This is row one in =
the table above.</div><div><br></div><div>Note that if you have only the =
&lt;ASCII> fields, you could regenerate the binary &lt;OCTET> string but =
there are some limitations. &nbsp; &nbsp;For example, suppose the =
original message had two community attributes, A and B. &nbsp; =
&nbsp;Both of these are encoded in the ASCII string as say =
&nbsp;&lt;COMMUNITY> A &lt;/COMMUNITY> and &lt;COMMUNITY> B =
&lt;/COMMUNITY>. &nbsp; &nbsp;The challenge in recreating the binary =
message is that XML does not impose ordering and so you can't be certain =
whether A or B was actually encoded first in the bytes off the wire. =
&nbsp; &nbsp; &nbsp; &nbsp;This may or may not matter.... &nbsp; =
&nbsp;the reconstructed binary octet string is equivalent to one that =
would have been sent over the wire. &nbsp; In other words both have =
community A and community B in the binary. &nbsp; &nbsp;It may have them =
in the wrong order.... &nbsp; if the problem you are trying to debug is =
that some router is scrambling bits 100-200, then the order might matter =
a great =
deal.</div><div><br></div><div>Thanks,</div><div>Dan</div><div><br></div><=
div><br></div><div><br></div><div>&nbsp;&nbsp;</div><div><br></div></body>=
</html>=

--Apple-Mail-8--209437131--
