In the WebUI, there is a tab named as Debug
that you can use to interrogate the Context database.
In particular, there is a link named as Dummy Contexts
. This link produces a JSON descriptor file containing all the contexts, topologies, devices, links, slices, services, connections, constraints, and configuration rules present in Context. The resulting file can be onboarded in a blank TeraFlowSDN instance for testing purposes.
IMPORTANT: The Dummy Contexts feature might take few seconds to respond while it composes the reply.
IMPORTANT: The produced file is labelled as "dummy": true
; that means it is a snapshot of the database that can be loaded directly into Context. This means it does not pass through the Device/Service/Slice components to onboard the records, but it drops the records directly in Context. This is useful to investigate the content on the database when an issue arises.
WARNING: The dump retrieves all the information in clear text! Remember to manually anonymize your sensitive data such as credentials, IP addresses, etc.