Skip to content

Instantly share code, notes, and snippets.

@nati
Created January 17, 2014 17:46
Show Gist options
  • Select an option

  • Save nati/8477957 to your computer and use it in GitHub Desktop.

Select an option

Save nati/8477957 to your computer and use it in GitHub Desktop.
ubuntu@contrail01:~$ grep -E 'src_ip|src_plen|src_vrf|RouteUcSandeshData' routes.xml
<RouteUcSandeshData>
<src_ip type="string" identifier="1">0.0.0.0</src_ip>
<src_plen type="i32" identifier="2">0</src_plen>
<src_vrf type="string" identifier="3" link="VrfListReq">default-domain:default-project:ip-fabric:__default__</src_vrf>
</RouteUcSandeshData>
<RouteUcSandeshData>
<src_ip type="string" identifier="1">10.99.99.0</src_ip>
<src_plen type="i32" identifier="2">24</src_plen>
<src_vrf type="string" identifier="3" link="VrfListReq">default-domain:default-project:ip-fabric:__default__</src_vrf>
</RouteUcSandeshData>
<RouteUcSandeshData>
<src_ip type="string" identifier="1">216.69.95.0</src_ip>
<src_plen type="i32" identifier="2">25</src_plen>
<src_vrf type="string" identifier="3" link="VrfListReq">default-domain:default-project:ip-fabric:__default__</src_vrf>
</RouteUcSandeshData>
<RouteUcSandeshData>
<src_ip type="string" identifier="1">216.69.95.1</src_ip>
<src_plen type="i32" identifier="2">32</src_plen>
<src_vrf type="string" identifier="3" link="VrfListReq">default-domain:default-project:ip-fabric:__default__</src_vrf>
</RouteUcSandeshData>
<RouteUcSandeshData>
<src_ip type="string" identifier="1">216.69.95.61</src_ip>
<src_plen type="i32" identifier="2">32</src_plen>
<src_vrf type="string" identifier="3" link="VrfListReq">default-domain:default-project:ip-fabric:__default__</src_vrf>
</RouteUcSandeshData>
<RouteUcSandeshData>
<src_ip type="string" identifier="1">216.69.95.127</src_ip>
<src_plen type="i32" identifier="2">32</src_plen>
<src_vrf type="string" identifier="3" link="VrfListReq">default-domain:default-project:ip-fabric:__default__</src_vrf>
</RouteUcSandeshData>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment