BGPmon-Validate-1

 view release on metacpan or  search on metacpan

etc/bgp_monitor_2_00.xsd  view on Meta::CPAN

  elementFormDefault="qualified">
  <xsd:import id="xfb" namespace="urn:ietf:params:xml:ns:xfb"
    schemaLocation="xfb_2_00.xsd" />
  <xsd:import id="ne" namespace="urn:ietf:params:xml:ns:network_elements"
    schemaLocation="network_elements_2_00.xsd" />

  <xsd:element name="BGP_MONITOR_MESSAGE" type="bgpm:bgp_monitor_message_type" />

  <xsd:complexType name="bgp_monitor_message_type">
    <xsd:sequence>
      <xsd:element name="SOURCE" type="bgpm:endpoint_type" minOccurs="0" maxOccurs="1"/>
      <xsd:element name="DEST" type="bgpm:endpoint_type" minOccurs="0" maxOccurs="1" />
      <xsd:element name="MONITOR" type="bgpm:endpoint_type" minOccurs="1" maxOccurs="1"/>
      <xsd:element name="RELAY" type="bgpm:endpoint_type" minOccurs="0" maxOccurs="1"/>
      <xsd:element name="OBSERVED_TIME" type="bgpm:observed_time_type" minOccurs="1" maxOccurs="1" />
      <xsd:element name="SEQUENCE_NUMBER" type="xsd:unsignedLong" minOccurs="1" maxOccurs="1"/>
      <xsd:element name="COLLECTION" type="xsd:string" minOccurs="0" maxOccurs="1"/>
      <xsd:element name="PARSE_ERROR"  type="xfb:parse_error_type" maxOccurs="1" minOccurs="0" />
      <xsd:choice minOccurs="1" maxOccurs="1">
      	<xsd:element name="STATUS" type="bgpm:status_type" minOccurs="0" maxOccurs="1"/>
        <xsd:element ref="xfb:OPEN" /> 
        <xsd:element ref="xfb:UPDATE" />
        <xsd:element ref="xfb:NOTIFICATION" />
        <xsd:element ref="xfb:KEEP_ALIVE" />

etc/bgp_monitor_2_00.xsd  view on Meta::CPAN

    </xsd:sequence>
  </xsd:complexType>
  
  <xsd:complexType name="metadata_type">
  <xsd:sequence>
  <xsd:element minOccurs="1" maxOccurs="1" name="NODE_PATH" type="xsd:string"/>
  <xsd:element minOccurs="1" maxOccurs="1" name="ANNOTATION" type="xsd:string"/>
  </xsd:sequence>
  </xsd:complexType>

  <xsd:complexType name="endpoint_type">
    <xsd:sequence>
      <xsd:element name="ADDRESS" type="ne:network_address_type" />
      <xsd:element name="PORT" type="ne:port_type" />
      <xsd:choice minOccurs="1" maxOccurs="1">
      <xsd:element name="ASN2" type="ne:asn2_type" />
      <xsd:element name="ASN4" type="ne:asn4_type"/>
      </xsd:choice>
      
    </xsd:sequence>
    <xsd:attribute name="name" type="xsd:token" />



( run in 1.482 second using v1.01-cache-2.11-cpan-49f99fa48dc )