If the virtual-network is deleted, the derived stats of the corresponding virtual-network doesn't get deleted.
root@nodec41(analytics):/# curl -u admin:contrail123 localhost:8181/analytics/uves/virtual-network/default-domain:ctest-WebuiTestSanity-08644118:left_vn?flat | python -m json.tool % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1218 0 1218 0 0 75333 0 --:--:-- --:--:-- --:--:-- 76125 { "AggProxySum-UveVirtualNetworkAgent-egress_flow_count": { "deleted": false, "proxy": "UveVirtualNetworkAgent-egress_flow_count", "value": { "value": 0 } }, "AggProxySum-UveVirtualNetworkAgent-ingress_flow_count": { "deleted": false, "proxy": "UveVirtualNetworkAgent-ingress_flow_count", "value": { "value": 0 } }, "RoutingInstanceStatsData": { "ermvpn_stats": { "nodec41:Control:contrail-control:0:\"default-domain:ctest-WebuiTestSanity-08644118:left_vn:left_vn\"": { "infeasible_paths": 0, "prefixes": 0, "primary_paths": 0, "secondary_paths": 0, "total_paths": 0 } }, "evpn_stats": { "nodec41:Control:contrail-control:0:\"default-domain:ctest-WebuiTestSanity-08644118:left_vn:left_vn\"": { "infeasible_paths": 0, "prefixes": 0, "primary_paths": 0, "secondary_paths": 0, "total_paths": 0 } }, "ipv4_stats": { "nodec41:Control:contrail-control:0:\"default-domain:ctest-WebuiTestSanity-08644118:left_vn:left_vn\"": { "infeasible_paths": 0, "prefixes": 0, "primary_paths": 0, "secondary_paths": 0, "total_paths": 0 } }, "ipv6_stats": { "nodec41:Control:contrail-control:0:\"default-domain:ctest-WebuiTestSanity-08644118:left_vn:left_vn\"": { "infeasible_paths": 0, "prefixes": 0, "primary_paths": 0, "secondary_paths": 0, "total_paths": 0 } } } }
root@nodec41(analytics):/# curl -u admin:contrail123 localhost:8181/analytics/uves/virtual-network/default-domain:ctest-WebuiTestSanity-84112158:vn-test?flat | python -m json.tool % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 912 0 912 0 0 127k 0 --:--:-- --:--:-- --:--:-- 148k { "RoutingInstanceStatsData": { "ermvpn_stats": { "nodec41:Control:contrail-control:0:\"default-domain:ctest-WebuiTestSanity-84112158:vn-test:vn-test\"": { "infeasible_paths": 0, "prefixes": 0, "primary_paths": 0, "secondary_paths": 0, "total_paths": 0 } }, "evpn_stats": { "nodec41:Control:contrail-control:0:\"default-domain:ctest-WebuiTestSanity-84112158:vn-test:vn-test\"": { "infeasible_paths": 0, "prefixes": 0, "primary_paths": 0, "secondary_paths": 0, "total_paths": 0 } }, "ipv4_stats": { "nodec41:Control:contrail-control:0:\"default-domain:ctest-WebuiTestSanity-84112158:vn-test:vn-test\"": { "infeasible_paths": 0, "prefixes": 0, "primary_paths": 0, "secondary_paths": 0, "total_paths": 0 } }, "ipv6_stats": { "nodec41:Control:contrail-control:0:\"default-domain:ctest-WebuiTestSanity-84112158:vn-test:vn-test\"": { "infeasible_paths": 0, "prefixes": 0, "primary_paths": 0, "secondary_paths": 0, "total_paths": 0 } } } }
root@nodec41(analytics):/# curl -u admin:contrail123 localhost:8181/analytics/uves/virtual-network/default-domain:ctest-WebuiTestSanity-08644118:right_vn?flat | python -m json.tool % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1226 0 1226 0 0 75279 0 --:--:-- --:--:-- --:--:-- 76625 { "AggProxySum-UveVirtualNetworkAgent-egress_flow_count": { "deleted": false, "proxy": "UveVirtualNetworkAgent-egress_flow_count", "value": { "value": 0 } }, "AggProxySum-UveVirtualNetworkAgent-ingress_flow_count": { "deleted": false, "proxy": "UveVirtualNetworkAgent-ingress_flow_count", "value": { "value": 0 } }, "RoutingInstanceStatsData": { "ermvpn_stats": { "nodec41:Control:contrail-control:0:\"default-domain:ctest-WebuiTestSanity-08644118:right_vn:right_vn\"": { "infeasible_paths": 0, "prefixes": 0, "primary_paths": 0, "secondary_paths": 0, "total_paths": 0 } }, "evpn_stats": { "nodec41:Control:contrail-control:0:\"default-domain:ctest-WebuiTestSanity-08644118:right_vn:right_vn\"": { "infeasible_paths": 0, "prefixes": 0, "primary_paths": 0, "secondary_paths": 0, "total_paths": 0 } }, "ipv4_stats": { "nodec41:Control:contrail-control:0:\"default-domain:ctest-WebuiTestSanity-08644118:right_vn:right_vn\"": { "infeasible_paths": 0, "prefixes": 0, "primary_paths": 0, "secondary_paths": 0, "total_paths": 0 } }, "ipv6_stats": { "nodec41:Control:contrail-control:0:\"default-domain:ctest-WebuiTestSanity-08644118:right_vn:right_vn\"": { "infeasible_paths": 0, "prefixes": 0, "primary_paths": 0, "secondary_paths": 0, "total_paths": 0 } } } }
If the virtual-network is deleted, the derived stats of the corresponding virtual-network doesn't get deleted.
root@nodec41( analytics) :/# curl -u admin:contrail123 localhost: 8181/analytics/ uves/virtual- network/ default- domain: ctest-WebuiTest Sanity- 08644118: left_vn? flat | python -m json.tool
Dload Upload Total Spent Left Speed m-UveVirtualNet workAgent- egress_ flow_count" : { orkAgent- egress_ flow_count" ,
"value" : 0 m-UveVirtualNet workAgent- ingress_ flow_count" : { orkAgent- ingress_ flow_count" ,
"value" : 0 tanceStatsData" : {
"ermvpn_ stats": {
"nodec41: Control: contrail- control: 0:\"default- domain: ctest-WebuiTest Sanity- 08644118: left_vn: left_vn\ "": {
"infeasible_ paths": 0,
"prefixes" : 0,
"primary_ paths": 0,
"secondary_ paths": 0,
"total_ paths": 0
"evpn_ stats": {
"nodec41: Control: contrail- control: 0:\"default- domain: ctest-WebuiTest Sanity- 08644118: left_vn: left_vn\ "": {
"infeasible_ paths": 0,
"prefixes" : 0,
"primary_ paths": 0,
"secondary_ paths": 0,
"total_ paths": 0
"ipv4_ stats": {
"nodec41: Control: contrail- control: 0:\"default- domain: ctest-WebuiTest Sanity- 08644118: left_vn: left_vn\ "": {
"infeasible_ paths": 0,
"prefixes" : 0,
"primary_ paths": 0,
"secondary_ paths": 0,
"total_ paths": 0
"ipv6_ stats": {
"nodec41: Control: contrail- control: 0:\"default- domain: ctest-WebuiTest Sanity- 08644118: left_vn: left_vn\ "": {
"infeasible_ paths": 0,
"prefixes" : 0,
"primary_ paths": 0,
"secondary_ paths": 0,
"total_ paths": 0
% Total % Received % Xferd Average Speed Time Time Time Current
100 1218 0 1218 0 0 75333 0 --:--:-- --:--:-- --:--:-- 76125
{
"AggProxySu
"deleted": false,
"proxy": "UveVirtualNetw
"value": {
}
},
"AggProxySu
"deleted": false,
"proxy": "UveVirtualNetw
"value": {
}
},
"RoutingIns
}
},
}
},
}
},
}
}
}
}
root@nodec41( analytics) :/# curl -u admin:contrail123 localhost: 8181/analytics/ uves/virtual- network/ default- domain: ctest-WebuiTest Sanity- 84112158: vn-test? flat | python -m json.tool
Dload Upload Total Spent Left Speed tanceStatsData" : {
"ermvpn_ stats": {
"nodec41: Control: contrail- control: 0:\"default- domain: ctest-WebuiTest Sanity- 84112158: vn-test: vn-test\ "": {
"infeasible_ paths": 0,
"prefixes" : 0,
"primary_ paths": 0,
"secondary_ paths": 0,
"total_ paths": 0
"evpn_ stats": {
"nodec41: Control: contrail- control: 0:\"default- domain: ctest-WebuiTest Sanity- 84112158: vn-test: vn-test\ "": {
"infeasible_ paths": 0,
"prefixes" : 0,
"primary_ paths": 0,
"secondary_ paths": 0,
"total_ paths": 0
"ipv4_ stats": {
"nodec41: Control: contrail- control: 0:\"default- domain: ctest-WebuiTest Sanity- 84112158: vn-test: vn-test\ "": {
"infeasible_ paths": 0,
"prefixes" : 0,
"primary_ paths": 0,
"secondary_ paths": 0,
"total_ paths": 0
"ipv6_ stats": {
"nodec41: Control: contrail- control: 0:\"default- domain: ctest-WebuiTest Sanity- 84112158: vn-test: vn-test\ "": {
"infeasible_ paths": 0,
"prefixes" : 0,
"primary_ paths": 0,
"secondary_ paths": 0,
"total_ paths": 0
% Total % Received % Xferd Average Speed Time Time Time Current
100 912 0 912 0 0 127k 0 --:--:-- --:--:-- --:--:-- 148k
{
"RoutingIns
}
},
}
},
}
},
}
}
}
}
root@nodec41( analytics) :/# curl -u admin:contrail123 localhost: 8181/analytics/ uves/virtual- network/ default- domain: ctest-WebuiTest Sanity- 08644118: right_vn? flat | python -m json.tool
Dload Upload Total Spent Left Speed m-UveVirtualNet workAgent- egress_ flow_count" : { orkAgent- egress_ flow_count" ,
"value" : 0 m-UveVirtualNet workAgent- ingress_ flow_count" : { orkAgent- ingress_ flow_count" ,
"value" : 0 tanceStatsData" : {
"ermvpn_ stats": {
"nodec41: Control: contrail- control: 0:\"default- domain: ctest-WebuiTest Sanity- 08644118: right_vn: right_vn\ "": {
"infeasible_ paths": 0,
"prefixes" : 0,
"primary_ paths": 0,
"secondary_ paths": 0,
"total_ paths": 0
"evpn_ stats": {
"nodec41: Control: contrail- control: 0:\"default- domain: ctest-WebuiTest Sanity- 08644118: right_vn: right_vn\ "": {
"infeasible_ paths": 0,
"prefixes" : 0,
"primary_ paths": 0,
"secondary_ paths": 0,
"total_ paths": 0
"ipv4_ stats": {
"nodec41: Control: contrail- control: 0:\"default- domain: ctest-WebuiTest Sanity- 08644118: right_vn: right_vn\ "": {
"infeasible_ paths": 0,
"prefixes" : 0,
"primary_ paths": 0,
"secondary_ paths": 0,
"total_ paths": 0
"ipv6_ stats": {
"nodec41: Control: contrail- control: 0:\"default- domain: ctest-WebuiTest Sanity- 08644118: right_vn: right_vn\ "": {
"infeasible_ paths": 0,
"prefixes" : 0,
"primary_ paths": 0,
"secondary_ paths": 0,
"total_ paths": 0
% Total % Received % Xferd Average Speed Time Time Time Current
100 1226 0 1226 0 0 75279 0 --:--:-- --:--:-- --:--:-- 76625
{
"AggProxySu
"deleted": false,
"proxy": "UveVirtualNetw
"value": {
}
},
"AggProxySu
"deleted": false,
"proxy": "UveVirtualNetw
"value": {
}
},
"RoutingIns
}
},
}
},
}
},
}
}
}
}