Open juztas opened 1 year ago
Why we noticed that? Arista in LA had this parameter:
interface Port-Channel501
description Port Channel to Caltech
mtu 9214
switchport trunk allowed vlan 1-3872,3874-4094
switchport mode trunk
!
Which adds all VLANs and their labels from 1 to 3872 into the model, and the model gets big. So for this, there are two fixes:
json-ld
? It will be optional via API - so Orchestrator can decide either turtle
or json-ld
@xi-yang This happens if we go with a very very big model. As it is in working version - I would leave this as a feature and in future to implement it via configuration parameter - if we see one or another site being slow in model generation.
Closing for now.
Currently SiteRM<->Orchestrator depends on turtle format for model parse and serialize. Just noticed, that once model becomes big (e.g. enable all vlans on switch - and model becomes ~2MB Size) - load time is way too long:
Test Script:
Move all internals to json-ld (which is also easy to represent in GUI)? Also - API to get model allows to specify model type (currently only turtle). We should allow to specify 'turtle', 'xml', 'json-ld'.