[yang-models]: Change name-space from Azure to sonic-net. (#12416)

Changes:
-- Change name-space from Azure to sonic-net.
-- Sort yang list in setup.py for yang-models list.

#### Why I did it
Sonic repo has moved to Linux-foundation.

#### How I did it
[yang-models]: Change name-space from Azure to sonic-net.

#### How to verify it
PR Tests are good enough to verify.
This commit is contained in:
Praveen Chaudhary 2022-10-31 16:37:25 -07:00 committed by GitHub
parent 45d174663a
commit 2b7a3ac6c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
87 changed files with 88 additions and 87 deletions

View File

@ -2,7 +2,7 @@ module sonic-auto_techsupport {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-auto_techsupport";
namespace "http://github.com/sonic-net/sonic-auto_techsupport";
prefix auto_techsupport;
import sonic-types {

View File

@ -1,5 +1,5 @@
module sonic-bgp-allowed-prefix {
namespace "http://github.com/Azure/sonic-bgp-allowed-prefix";
namespace "http://github.com/sonic-net/sonic-bgp-allowed-prefix";
prefix bgppre;
yang-version 1.1;

View File

@ -1,5 +1,5 @@
module sonic-bgp-common {
namespace "http://github.com/Azure/sonic-bgp-common";
namespace "http://github.com/sonic-net/sonic-bgp-common";
prefix bgpcmn;
yang-version 1.1;

View File

@ -1,5 +1,5 @@
module sonic-bgp-device-global {
namespace "http://github.com/Azure/sonic-bgp-device-global";
namespace "http://github.com/sonic-net/sonic-bgp-device-global";
prefix bgp_device_global;
yang-version 1.1;

View File

@ -1,5 +1,5 @@
module sonic-bgp-global {
namespace "http://github.com/Azure/sonic-bgp-global";
namespace "http://github.com/sonic-net/sonic-bgp-global";
prefix bgpg;
yang-version 1.1;

View File

@ -1,5 +1,5 @@
module sonic-bgp-internal-neighbor {
namespace "http://github.com/Azure/sonic-bgp-internal-neighbor";
namespace "http://github.com/sonic-net/sonic-bgp-internal-neighbor";
prefix bgpintnbr;
yang-version 1.1;

View File

@ -1,5 +1,5 @@
module sonic-bgp-monitor {
namespace "http://github.com/Azure/sonic-bgp-monitor";
namespace "http://github.com/sonic-net/sonic-bgp-monitor";
prefix bgpmon;
yang-version 1.1;

View File

@ -1,5 +1,5 @@
module sonic-bgp-neighbor {
namespace "http://github.com/Azure/sonic-bgp-neighbor";
namespace "http://github.com/sonic-net/sonic-bgp-neighbor";
prefix bgpnbr;
yang-version 1.1;

View File

@ -1,5 +1,5 @@
module sonic-bgp-peergroup {
namespace "http://github.com/Azure/sonic-bgp-peergroup";
namespace "http://github.com/sonic-net/sonic-bgp-peergroup";
prefix pg;
yang-version 1.1;

View File

@ -1,5 +1,5 @@
module sonic-bgp-peerrange {
namespace "http://github.com/Azure/sonic-bgp-peerrange";
namespace "http://github.com/sonic-net/sonic-bgp-peerrange";
prefix pr;
yang-version 1.1;

View File

@ -1,5 +1,5 @@
module sonic-bgp-voq-chassis-neighbor {
namespace "http://github.com/Azure/sonic-bgp-voq-chassis-neighbor";
namespace "http://github.com/sonic-net/sonic-bgp-voq-chassis-neighbor";
prefix bgpintnbr;
yang-version 1.1;

View File

@ -2,7 +2,7 @@ module sonic-breakout_cfg {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-breakout_cfg";
namespace "http://github.com/sonic-net/sonic-breakout_cfg";
prefix breakout_cfg;
import sonic-extension {

View File

@ -1,5 +1,5 @@
module sonic-buffer-pg {
namespace "http://github.com/Azure/sonic-buffer-pg";
namespace "http://github.com/sonic-net/sonic-buffer-pg";
prefix bpg;
yang-version 1.1;

View File

@ -1,5 +1,5 @@
module sonic-buffer-pool {
namespace "http://github.com/Azure/sonic-buffer-pool";
namespace "http://github.com/sonic-net/sonic-buffer-pool";
prefix bpl;
organization

View File

@ -1,5 +1,5 @@
module sonic-buffer-port-egress-profile-list {
namespace "http://github.com/Azure/sonic-buffer-port-egress-profile-list";
namespace "http://github.com/sonic-net/sonic-buffer-port-egress-profile-list";
prefix bpg;
import sonic-extension {

View File

@ -1,5 +1,5 @@
module sonic-buffer-port-ingress-profile-list {
namespace "http://github.com/Azure/sonic-buffer-port-ingress-profile-list";
namespace "http://github.com/sonic-net/sonic-buffer-port-ingress-profile-list";
prefix bpg;
import sonic-extension {

View File

@ -1,5 +1,5 @@
module sonic-buffer-profile {
namespace "http://github.com/Azure/sonic-buffer-profile";
namespace "http://github.com/sonic-net/sonic-buffer-profile";
prefix bpf;
import sonic-buffer-pool {

View File

@ -1,5 +1,5 @@
module sonic-buffer-queue {
namespace "http://github.com/Azure/sonic-buffer-queue";
namespace "http://github.com/sonic-net/sonic-buffer-queue";
prefix bqueue;
import sonic-extension {

View File

@ -2,7 +2,7 @@ module sonic-cable-length {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-cable-length";
namespace "http://github.com/sonic-net/sonic-cable-length";
prefix cable-length;

View File

@ -1,6 +1,6 @@
module sonic-console {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-console";
namespace "http://github.com/sonic-net/sonic-console";
prefix console;
import sonic-types {

View File

@ -2,7 +2,7 @@ module sonic-copp {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-copp";
namespace "http://github.com/sonic-net/sonic-copp";
prefix copp;
import sonic-types {

View File

@ -2,7 +2,7 @@ module sonic-crm {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-crm";
namespace "http://github.com/sonic-net/sonic-crm";
prefix crm;
import sonic-types {

View File

@ -2,7 +2,7 @@ module sonic-default-lossless-buffer-parameter {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-default-lossless-buffer-parameter";
namespace "http://github.com/sonic-net/sonic-default-lossless-buffer-parameter";
prefix default-lossless-buffer-parameter;

View File

@ -2,7 +2,7 @@ module sonic-device_metadata {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-device_metadata";
namespace "http://github.com/sonic-net/sonic-device_metadata";
prefix device_metadata;
import ietf-yang-types {

View File

@ -2,7 +2,7 @@ module sonic-device_neighbor {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-device_neighbor";
namespace "http://github.com/sonic-net/sonic-device_neighbor";
prefix device_neighbor;
import ietf-inet-types {

View File

@ -2,7 +2,7 @@ module sonic-device_neighbor_metadata {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-device_neighbor_metadata";
namespace "http://github.com/sonic-net/sonic-device_neighbor_metadata";
prefix device_neighbor_metadata;
import ietf-yang-types {

View File

@ -2,7 +2,7 @@ module sonic-dhcp-server {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-dhcp-server";
namespace "http://github.com/sonic-net/sonic-dhcp-server";
prefix dhcp-server;

View File

@ -1,6 +1,6 @@
module sonic-dhcpv6-relay {
namespace "http://github.com/Azure/sonic-dhcpv6-relay";
namespace "http://github.com/sonic-net/sonic-dhcpv6-relay";
prefix sdhcpv6relay;

View File

@ -2,7 +2,7 @@ module sonic-dot1p-tc-map {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-dot1p-tc-map";
namespace "http://github.com/sonic-net/sonic-dot1p-tc-map";
prefix dot1ptm;

View File

@ -2,7 +2,7 @@ module sonic-dscp-fc-map {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-dscp-fc-map";
namespace "http://github.com/sonic-net/sonic-dscp-fc-map";
prefix dtm;

View File

@ -2,7 +2,7 @@ module sonic-dscp-tc-map {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-dscp-tc-map";
namespace "http://github.com/sonic-net/sonic-dscp-tc-map";
prefix dtm;

View File

@ -2,7 +2,7 @@ module sonic-exp-fc-map {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-exp-fc-map";
namespace "http://github.com/sonic-net/sonic-exp-fc-map";
prefix dtm;

View File

@ -2,7 +2,7 @@ module sonic-feature{
yang-version 1.1;
namespace "http://github.com/Azure/sonic-feature";
namespace "http://github.com/sonic-net/sonic-feature";
prefix feature;
import sonic-types {

View File

@ -2,7 +2,7 @@ module sonic-flex_counter {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-flex_counter";
namespace "http://github.com/sonic-net/sonic-flex_counter";
prefix flex_counter;
import ietf-inet-types {

View File

@ -2,7 +2,7 @@ module sonic-interface {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-interface";
namespace "http://github.com/sonic-net/sonic-interface";
prefix intf;
import sonic-types {

View File

@ -1,5 +1,5 @@
module sonic-kdump {
namespace "http://github.com/Azure/sonic-kdump";
namespace "http://github.com/sonic-net/sonic-kdump";
prefix kdump;
yang-version 1.1;

View File

@ -2,7 +2,8 @@ module sonic-kubernetes_master {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-kubernetes_master";
namespace "http://github.com/sonic-net/sonic-kubernetes_master";
prefix kubernetes_master;
import ietf-inet-types {

View File

@ -1,5 +1,5 @@
module sonic-lldp {
namespace "http://github.com/Azure/sonic-lldp";
namespace "http://github.com/sonic-net/sonic-lldp";
prefix slldp;
yang-version 1.1;

View File

@ -2,7 +2,7 @@ module sonic-loopback-interface {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-loopback-interface";
namespace "http://github.com/sonic-net/sonic-loopback-interface";
prefix lointf;
import sonic-types {

View File

@ -2,7 +2,7 @@ module sonic-lossless-traffic-pattern {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-lossless-traffic-pattern";
namespace "http://github.com/sonic-net/sonic-lossless-traffic-pattern";
prefix lossless-traffic-pattern;

View File

@ -2,7 +2,7 @@ module sonic-macsec {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-macsec";
namespace "http://github.com/sonic-net/sonic-macsec";
prefix macsec;

View File

@ -1,5 +1,5 @@
module sonic-mclag {
namespace "http://github.com/Azure/sonic-mclag";
namespace "http://github.com/sonic-net/sonic-mclag";
prefix smclag;
yang-version 1.1;

View File

@ -2,7 +2,7 @@ module sonic-mgmt_interface {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-mgmt_interface";
namespace "http://github.com/sonic-net/sonic-mgmt_interface";
prefix mgmtintf;
import sonic-mgmt_port {

View File

@ -2,7 +2,7 @@ module sonic-mgmt_port {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-mgmt_port";
namespace "http://github.com/sonic-net/sonic-mgmt_port";
prefix mgmtprt;
import sonic-types {

View File

@ -2,7 +2,7 @@ module sonic-mgmt_vrf {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-mgmt_vrf";
namespace "http://github.com/sonic-net/sonic-mgmt_vrf";
prefix mvrf;
description

View File

@ -2,7 +2,7 @@ module sonic-mirror-session {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-mirror-session";
namespace "http://github.com/sonic-net/sonic-mirror-session";
prefix sms;
import ietf-inet-types {

View File

@ -2,7 +2,7 @@ module sonic-mpls-tc-map {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-mpls-tc-map";
namespace "http://github.com/sonic-net/sonic-mpls-tc-map";
prefix mpls_tc_map;

View File

@ -1,5 +1,5 @@
module sonic-mux-cable {
namespace "http://github.com/Azure/sonic-mux-cable";
namespace "http://github.com/sonic-net/sonic-mux-cable";
prefix mux_cable;
yang-version 1.1;

View File

@ -1,5 +1,5 @@
module sonic-nat {
namespace "http://github.com/Azure/sonic-nat";
namespace "http://github.com/sonic-net/sonic-nat";
prefix snat;
yang-version 1.1;

View File

@ -2,7 +2,7 @@ module sonic-ntp {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-system-ntp";
namespace "http://github.com/sonic-net/sonic-system-ntp";
prefix ntp;
import ietf-inet-types {

View File

@ -2,7 +2,7 @@ module sonic-nvgre-tunnel {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-nvgre-tunnel";
namespace "http://github.com/sonic-net/sonic-nvgre-tunnel";
prefix nvgre;
import ietf-inet-types {

View File

@ -1,6 +1,6 @@
module sonic-passwh {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-passwh";
namespace "http://github.com/sonic-net/sonic-passwh";
prefix password;
description "PASSWORD HARDENING YANG Module for SONiC OS";

View File

@ -2,7 +2,7 @@ module sonic-pbh {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-pbh";
namespace "http://github.com/sonic-net/sonic-pbh";
prefix pbh;
import ietf-inet-types {

View File

@ -1,6 +1,6 @@
module sonic-peer-switch {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-peer-switch";
namespace "http://github.com/sonic-net/sonic-peer-switch";
prefix peer_switch;
import ietf-inet-types {

View File

@ -2,7 +2,7 @@ module sonic-pfc-priority-priority-group-map {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-pfc-priority-priority-group-map";
namespace "http://github.com/sonic-net/sonic-pfc-priority-priority-group-map";
prefix pppgm;

View File

@ -2,7 +2,7 @@ module sonic-pfc-priority-queue-map {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-pfc-priority-queue-map";
namespace "http://github.com/sonic-net/sonic-pfc-priority-queue-map";
prefix ppqm;

View File

@ -1,5 +1,5 @@
module sonic-pfcwd {
namespace "http://github.com/Azure/sonic-pfcwd";
namespace "http://github.com/sonic-net/sonic-pfcwd";
prefix sonic-pfcwd;
yang-version 1.1;

View File

@ -2,7 +2,7 @@ module sonic-port-qos-map {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-port-qos-map";
namespace "http://github.com/sonic-net/sonic-port-qos-map";
prefix pqm;

View File

@ -2,7 +2,7 @@ module sonic-port{
yang-version 1.1;
namespace "http://github.com/Azure/sonic-port";
namespace "http://github.com/sonic-net/sonic-port";
prefix port;
import sonic-types {

View File

@ -2,7 +2,7 @@ module sonic-portchannel {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-portchannel";
namespace "http://github.com/sonic-net/sonic-portchannel";
prefix lag;
import sonic-types {

View File

@ -2,7 +2,7 @@ module sonic-queue {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-queue";
namespace "http://github.com/sonic-net/sonic-queue";
prefix squeue;

View File

@ -2,7 +2,7 @@ module sonic-restapi {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-restapi";
namespace "http://github.com/sonic-net/sonic-restapi";
prefix restapi;
import ietf-inet-types {

View File

@ -1,5 +1,5 @@
module sonic-route-common {
namespace "http://github.com/Azure/sonic-route-common";
namespace "http://github.com/sonic-net/sonic-route-common";
prefix rtcmn;
yang-version 1.1;

View File

@ -1,5 +1,5 @@
module sonic-route-map {
namespace "http://github.com/Azure/sonic-route-map";
namespace "http://github.com/sonic-net/sonic-route-map";
prefix rmap;
yang-version 1.1;

View File

@ -1,5 +1,5 @@
module sonic-routing-policy-sets {
namespace "http://github.com/Azure/sonic-routing-policy-lists";
namespace "http://github.com/sonic-net/sonic-routing-policy-lists";
prefix rpolsets;
yang-version 1.1;

View File

@ -2,7 +2,7 @@ module sonic-scheduler {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-scheduler";
namespace "http://github.com/sonic-net/sonic-scheduler";
prefix sch;

View File

@ -1,6 +1,6 @@
module sonic-sflow{
namespace "http://github.com/Azure/sonic-sflow";
namespace "http://github.com/sonic-net/sonic-sflow";
prefix sflow;
yang-version 1.1;

View File

@ -1,5 +1,5 @@
module sonic-snmp {
namespace "http://github.com/Azure/sonic-snmp";
namespace "http://github.com/sonic-net/sonic-snmp";
prefix ssnmp;
yang-version 1.1;

View File

@ -1,6 +1,6 @@
module sonic-static-route {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-static-route";
namespace "http://github.com/sonic-net/sonic-static-route";
prefix sroute;
import sonic-vrf {

View File

@ -1,5 +1,5 @@
module sonic-storm-control {
namespace "http://github.com/Azure/sonic-storm-control";
namespace "http://github.com/sonic-net/sonic-storm-control";
yang-version "1";
prefix ssc;

View File

@ -2,7 +2,7 @@ module sonic-syslog {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-system-syslog";
namespace "http://github.com/sonic-net/sonic-system-syslog";
prefix syslog;
import ietf-inet-types {

View File

@ -1,5 +1,5 @@
module sonic-system-aaa {
namespace "http://github.com/Azure/sonic-system-aaa";
namespace "http://github.com/sonic-net/sonic-system-aaa";
prefix ssys;
yang-version 1.1;

View File

@ -1,5 +1,5 @@
module sonic-system-tacacs {
namespace "http://github.com/Azure/sonic-system-tacacs";
namespace "http://github.com/sonic-net/sonic-system-tacacs";
prefix ssys;
yang-version 1.1;

View File

@ -2,7 +2,7 @@ module sonic-tc-priority-group-map {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-tc-priority-group-map";
namespace "http://github.com/sonic-net/sonic-tc-priority-group-map";
prefix tpgm;

View File

@ -2,7 +2,7 @@ module sonic-tc-queue-map {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-tc-queue-map";
namespace "http://github.com/sonic-net/sonic-tc-queue-map";
prefix tqm;

View File

@ -2,7 +2,7 @@ module sonic-telemetry {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-telemetry";
namespace "http://github.com/sonic-net/sonic-telemetry";
prefix telemetry;
import ietf-inet-types {

View File

@ -2,7 +2,7 @@ module sonic-versions {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-versions";
namespace "http://github.com/sonic-net/sonic-versions";
prefix versions;

View File

@ -2,7 +2,7 @@ module sonic-vlan-sub-interface {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-vlan-sub-interface";
namespace "http://github.com/sonic-net/sonic-vlan-sub-interface";
prefix vlan-sub-interface;

View File

@ -2,7 +2,7 @@ module sonic-vlan {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-vlan";
namespace "http://github.com/sonic-net/sonic-vlan";
prefix vlan;
import ietf-inet-types {

View File

@ -1,5 +1,5 @@
module sonic-vrf {
namespace "http://github.com/Azure/sonic-vrf";
namespace "http://github.com/sonic-net/sonic-vrf";
prefix vrf;
import sonic-extension {

View File

@ -1,6 +1,6 @@
module sonic-vxlan {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-vxlan";
namespace "http://github.com/sonic-net/sonic-vxlan";
prefix svxlan;
import ietf-yang-types {

View File

@ -2,7 +2,7 @@ module sonic-warm-restart {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-warm-restart";
namespace "http://github.com/sonic-net/sonic-warm-restart";
prefix wrm;
description "SONIC WARMRESTART";

View File

@ -2,7 +2,7 @@ module sonic-wred-profile {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-wred-profile";
namespace "http://github.com/sonic-net/sonic-wred-profile";
prefix wrd;

View File

@ -7,7 +7,7 @@ module sonic-acl {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-acl";
namespace "http://github.com/sonic-net/sonic-acl";
prefix acl;
import ietf-inet-types {

View File

@ -2,7 +2,7 @@ module sonic-extension {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-extension";
namespace "http://github.com/sonic-net/sonic-extension";
prefix sonic-extension;
description "Extension yang Module for SONiC OS";

View File

@ -7,7 +7,7 @@ module sonic-policer {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-policer";
namespace "http://github.com/sonic-net/sonic-policer";
prefix policer;
import sonic-types {

View File

@ -2,7 +2,7 @@ module sonic-types {
yang-version 1.1;
namespace "http://github.com/Azure/sonic-head";
namespace "http://github.com/sonic-net/sonic-head";
prefix sonic-types;
description "SONiC type for yang Models of SONiC OS";