NIKSS-vSwitch / nikss

Native In-Kernel P4-programmable Software Switch for Software-Defined Networking (previously PSA-eBPF)
Apache License 2.0
48 stars 4 forks source link

Remove extern type from output JSON #18

Closed tatry closed 2 years ago

tatry commented 2 years ago

For externs: Counter, Digest.

Now output JSON from get operation for these externs looks like this (example uses Digest extern):

{
    "Digest": {
        "instance_name": {
            <extern specific data>
        }
    }
}

It should look like this:

{
    "instance_name": {
        <extern specific data>
    }
}