NVIDIA
NVIDIA
SONiC WJH
Container
NVIDIA
NVIDIA
SONiC WJH

SONiC What Just Happened

LayerLabelCreated
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 */
03/21/2023 9:30 AM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4LABEL
com.azure.sonic.manifest={     "version": "1.0.0",     "package": {         "name": "what-just-happened",         "version": "1.3.4-202205",         "depends": ["swss^1.0.0", "syncd^1.0.0"],         "base-os-conflicts": ">=1.0.0",         "changelog": {             "1.3.0-202205-internal": {                 "changes": [                     "Internal initial version for 202205 branch"                     ],                 "author": "Noa Or",                 "email": "noaor@nvidia.com",                 "date": "Sun, 20 Mar 2022 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"         }     ] }
03/21/2023 9:30 AM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4LABEL
description=What-Just-Happened docker image for SONiC
03/21/2023 9:30 AM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4LABEL
build-commit=959908b70afbe272cb9b8c72b081edb1021e64ba
03/21/2023 9:30 AM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4LABEL
build-date=2023-03-21T08:56:38Z
03/21/2023 9:30 AM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4LABEL
version=1.3.4-202205
03/21/2023 9:30 AM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4LABEL
maintainer=stepanb@mellanox.com
03/21/2023 9:30 AM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
yang
03/21/2023 9:30 AM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
manifest
03/21/2023 9:30 AM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
BUILD_COMMIT
03/21/2023 9:30 AM UTC

NVIDIA uses cookies to improve your experience on our web site. We and our third-party partners also use cookies and other tools to collect and record information you provide as well as information about your interactions with our websites for performance improvement, analytics, and to assist in marketing efforts. By clicking "Accept All", you consent to our use of cookies and other tools as described in our Cookie Policy. You can manage your cookie settings by clicking on "Manage Settings." By continuing to use this site or by clicking one of the buttons below, you agree to our Terms of Service (which contains important waivers). Please see our Privacy Policy for more information on our privacy practices.