NVIDIA
SONiC WJH
Container
NVIDIA
SONiC WJH

SONiC What Just Happened

LayerLabelCreated
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4LABEL
nvidia-sdk=4.6.1062
09/04/2023 12:53 PM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4LABEL
com.azure.sonic.yang-module=module sonic-wjh {      namespace "http://github.com/Azure/sonic-wjh";      prefix wjh;      yang-version 1.1;      import sonic-port {         prefix port;     }      description "SONIC-WJH Yang model for SONiC OS";      revision 2022-01-01 {         description "First Revision";     }      typedef channel-name {         type enumeration {             enum forwarding;             enum layer-1;             enum buffer;             enum acl;         }     }      typedef port-name {         type leafref {             path "/port:sonic-port/port:PORT/port:PORT_LIST/port:name";         }     }      container sonic-wjh {          container WJH {              description "What-Just-Happened global configuration";              container global {                  leaf pci_bandwidth {                     type uint8 {                         range 1..100;                     }                     default 50;                 }                  leaf nice_level {                     type int8 {                         range "-20..19";                     }                     default 1;                 }                  leaf mode {                     type enumeration {                         enum debug;                     }                 }             }             /* end of container global */         }         /* end of container WJH */          container WJH_CHANNEL {              description "What-Just-Happened channels configuration";              list WJH_CHANNEL_LIST {                  key "channel";                  leaf channel {                     type channel-name;                 }                  leaf type {                     type enumeration {                         enum "raw_and_aggregate";                         enum "raw";                         enum "aggregate";                     }                     mandatory true;                 }                  leaf-list drop_category_list {                     type enumeration {                         enum L2;                         enum L3;                         enum Tunnel;                         enum L1;                         enum Buffer;                         enum ACL;                     }                     min-elements 1;                 }             }         }         /* end of container WJH_CHANNEL */          container WJH_QUEUE_BUFFER_THRESHOLD {              description "What-Just-Happened port buffer queues congestion threshold configuration";              list WJH_QUEUE_BUFFER_THRESHOLD_LIST {                  key "port_name";                  leaf port_name {                     type port-name;                 }                  leaf threshold_value {                     type uint8 {                         range 0..100;                     }                 }             }          }         /* end of container WJH_QUEUE_BUFFER_THRESHOLD */          container WJH_QUEUE_LATENCY_THRESHOLD {              description "What-Just-Happened port buffer queues latency threshold configuration";              list WJH_QUEUE_LATENCY_THRESHOLD_LIST {                  key "port_name";                  leaf port_name {                     type port-name;                 }                  leaf threshold_value {                     type uint32 {                         range 1..1048575;                     }                 }             }         }         /* end of WJH_QUEUE_LATENCY_THRESHOLD container */     }     /* end of top level container */ } /* end of module sonic-wjh */
09/04/2023 12:53 PM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4LABEL
com.azure.sonic.manifest={     "version": "1.0.0",     "package": {         "name": "what-just-happened",         "version": "1.5.4-202211",         "depends": ["swss^1.0.0", "syncd^1.0.0"],         "base-os-conflicts": ">=1.0.0",         "changelog": {             "1.4.0-202211": {                 "changes": [                     "Internal initial version for 202211 branch"                     ],                 "author": "David Zagury",                 "email": "davidza@nvidia.com",                 "date": "Tue, 7 Feb 2023 12:00:00 +0300"             }         },         "init-cfg": {             "WJH": {                 "global": {                     "pci_bandwidth": "50",                     "nice_level": "1",                     "mode": "debug"                 }             },             "WJH_CHANNEL": {                 "forwarding": {                     "type": "raw_and_aggregate",                     "drop_category_list": ["L2", "L3", "Tunnel"]                 },                 "layer-1": {                     "type": "raw_and_aggregate",                     "drop_category_list": ["L1"]                 },                 "buffer": {                     "type": "raw_and_aggregate",                     "drop_category_list": ["Buffer"]                 },                 "acl": {                     "type": "raw_and_aggregate",                     "drop_category_list": ["ACL"]                 }             }         },         "debug-dump": "dump.sh"     },     "service": {         "name": "what-just-happened",         "requires": ["updategraph"],         "requisite": ["swss", "syncd"],         "wanted-by": ["swss"],         "after": ["updategraph", "swss", "syncd"],         "before": ["ntp-config"],         "host-service": false,         "asic-service": true,         "delayed": true     },     "container": {         "privileged": true,         "volumes": [             "/host/machine.conf:/etc/machine.conf",             "/etc/sonic:/etc/sonic:ro",             "/var/run/wjh:/var/run/wjh",             "/dev/shm:/dev/shm:rw",             "mlnx_sdk_socket:/var/run/sx_sdk",             "/var/log/mellanox:/var/log/mellanox:rw",             "mlnx_sdk_ready:/tmp",             "/var/run/redis:/var/run/redis:rw"             ],         "mounts": [             {                 "source": "/sys/kernel/debug/",                 "target": "/sys/kernel/debug/",                 "type": "bind"             }         ],         "environment": {             "SX_API_SOCKET_FILE": "/var/run/sx_sdk/sx_api.sock"         }     },     "cli": {         "show": "/cli/show/plugins/wjh.py",         "config": "/cli/config/plugins/wjh.py"     },     "processes": [         {             "critical": true,             "name": "wjhd",             "command": "/usr/bin/wjhd"         }     ] }
09/04/2023 12:53 PM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4LABEL
description=What-Just-Happened docker image for SONiC
09/04/2023 12:53 PM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4LABEL
build-commit=925d03cb17d0ecbe807b446f549aa064d2c45741
09/04/2023 12:53 PM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4LABEL
build-date=2023-09-04T12:53:07Z
09/04/2023 12:53 PM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4LABEL
version=1.5.4-202211
09/04/2023 12:39 PM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4LABEL
maintainer=stepanb@mellanox.com
09/04/2023 12:39 PM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
SDK_VERSION
09/04/2023 12:39 PM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
yang
09/04/2023 12:39 PM UTC