Skip to content

Commit

Permalink
[yang-models]: Change name-space from Azure to sonic-net. (#12416)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Praveen Chaudhary authored Oct 31, 2022
1 parent 45d1746 commit 2b7a3ac
Show file tree
Hide file tree
Showing 87 changed files with 88 additions and 87 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-bgp-common.yang
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-bgp-global.yang
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-bgp-monitor.yang
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-bgp-neighbor.yang
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-bgp-peergroup.yang
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-bgp-peerrange.yang
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-breakout_cfg.yang
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-buffer-pg.yang
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-buffer-pool.yang
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-buffer-queue.yang
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-cable-length.yang
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-console.yang
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-copp.yang
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-crm.yang
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-dhcp-server.yang
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-dhcpv6-relay.yang
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-dot1p-tc-map.yang
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-dscp-fc-map.yang
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-dscp-tc-map.yang
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-exp-fc-map.yang
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-feature.yang
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-flex_counter.yang
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-interface.yang
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-kdump.yang
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-lldp.yang
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-macsec.yang
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-mclag.yang
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-mgmt_port.yang
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-mgmt_vrf.yang
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-mpls-tc-map.yang
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-mux-cable.yang
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-nat.yang
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
Loading

0 comments on commit 2b7a3ac

Please sign in to comment.