Skip to content

Instantly share code, notes, and snippets.

@noelbk
Created June 27, 2014 22:37
Show Gist options
  • Save noelbk/14b152f36e1d637d8069 to your computer and use it in GitHub Desktop.
Save noelbk/14b152f36e1d637d8069 to your computer and use it in GitHub Desktop.
curl http://10.144.14.215:8085/Snh_KFlowReq?flow_idx=
<?xml-stylesheet type="text/xsl" href="/universal_parse.xsl"?>
<KFlowResp type="sandesh">
<flow_list type="list" identifier="1">
<list type="struct" size="2">
<KFlowInfo>
<index type="i32" identifier="1">176552</index>
<rflow type="i32" identifier="2">213412</rflow>
<sip type="string" identifier="3">172.18.47.145</sip>
<sport type="i32" identifier="4">36918</sport>
<dip type="string" identifier="5">10.144.15.189</dip>
<dport type="i32" identifier="6">22</dport>
<proto type="byte" identifier="7">6</proto>
<vrf_id type="i16" identifier="8">1</vrf_id>
<action type="string" identifier="9">FORWARD</action>
<flags type="string" identifier="10"> ACTIVE </flags>
<d_vrf_id type="i16" identifier="11">0</d_vrf_id>
<bytes type="i32" identifier="12">360</bytes>
<pkts type="i32" identifier="13">6</pkts>
<insight type="i32" identifier="14">0</insight>
</KFlowInfo>
<KFlowInfo>
<index type="i32" identifier="1">213412</index>
<rflow type="i32" identifier="2">176552</rflow>
<sip type="string" identifier="3">10.144.15.189</sip>
<sport type="i32" identifier="4">22</sport>
<dip type="string" identifier="5">172.18.47.145</dip>
<dport type="i32" identifier="6">36918</dport>
<proto type="byte" identifier="7">6</proto>
<vrf_id type="i16" identifier="8">1</vrf_id>
<action type="string" identifier="9">FORWARD</action>
<flags type="string" identifier="10"> ACTIVE </flags>
<d_vrf_id type="i16" identifier="11">0</d_vrf_id>
<bytes type="i32" identifier="12">0</bytes>
<pkts type="i32" identifier="13">0</pkts>
<insight type="i32" identifier="14">0</insight>
</KFlowInfo>
</list>
</flow_list>
<flow_handle type="string" identifier="2" link="NextKFlowReq">0</flow_handle>
<more type="bool" identifier="0">false</more>
</KFlowResp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment