Creating dictionary of ICF_OrderedDataSet
search cancel

Creating dictionary of ICF_OrderedDataSet

book

Article ID: 421911

calendar_today

Updated On:

Products

VMware Smart Assurance Network Observability

Issue/Introduction

This article provides sample steps to create a ICF_OrderedDataSet dictionary

Environment

All Supported Smarts versions

Resolution

Note: The required data values pushed into the data-set, and implementation may vary (i.e., instead of creating one instance and adding multiple keys, one may choose to create one instance per key) which is purely based on custom-requirements. 

Example steps to create a sample set of Ports on the domain is as follows:

./dmctl -s <Domain> create ICF_OrderedDataSet::Ports  | tee
./dmctl -s <Domain> invoke ICF_OrderedDataSet :: Ports insert PortKey1 SAMPLE_DEVICE_1/1 PartOf=SAMPLE_DEVICE_1 Oper=UP Admin=UP Type=ACCESS
./dmctl -s <Domain> invoke ICF_OrderedDataSet :: Ports insert PortKey2 SAMPLE_DEVICE_1/2 PartOf=SAMPLE_DEVICE_1 Oper=UP Admin=UP Type=ACCESS
./dmctl -s <Domain> invoke ICF_OrderedDataSet :: Ports insert PortKey3 SAMPLE_DEVICE_1/3 PartOf=SAMPLE_DEVICE_1 Oper=DOWN Admin=UP Type=TRUNK
./dmctl -s <Domain> invoke ICF_OrderedDataSet :: Ports insert PortKey4 SAMPLE_DEVICE_2/1 PartOf=SAMPLE_DEVICE_2 Oper=UP Admin=UP Type=TRUNK
./dmctl -s <Domain> invoke ICF_OrderedDataSet :: Ports insert PortKey5 SAMPLE_DEVICE_2/2 PartOf=SAMPLE_DEVICE_2 Oper=UP Admin=UP Type=ACCESS

./dmctl -s <Domain> invoke ICF_OrderedDataSet::Ports get | tee
{
 {
   PortKey1
   SAMPLE_DEVICE_1/1
   PartOf=SAMPLE_DEVICE_1
   Oper=UP
   Admin=UP
   Type=ACCESS
 }
 {
   PortKey2
   SAMPLE_DEVICE_1/2
   PartOf=SAMPLE_DEVICE_1
   Oper=UP
   Admin=UP
   Type=ACCESS
 }
 {
   PortKey3
   SAMPLE_DEVICE_1/3
   PartOf=SAMPLE_DEVICE_1
   Oper=DOWN
   Admin=UP
   Type=TRUNK
 }
 {
   PortKey4
   SAMPLE_DEVICE_2/1
   PartOf=SAMPLE_DEVICE_2
   Oper=UP
   Admin=UP
   Type=TRUNK
 }
 {
   PortKey5
   SAMPLE_DEVICE_2/2
   PartOf=SAMPLE_DEVICE_2
   Oper=UP
   Admin=UP
   Type=ACCESS
 }
}

Additional Information

The impact would be directly proportional to the size of the data that you are going to feed into the DataSets. Hence the growth on RPS or query times would be directly proportional to the data loaded on to these dictionary.
Broadcom Support has no visibility about customer environment. If you are looking for a detailed impact analysis, and query timelines to these custom instances, it would fall outside the purview of Support as this is associated with the customizations.

Please get in touch with the Accounts Team to engage with the Professional Solutions Services for any review and recommendations on the customizations you wish to achieve.