Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New p4 platform based on SAI behavioral model software switch - pull request to master #1117

Merged
merged 4 commits into from
Nov 7, 2017
Merged

Conversation

YonatanPitz
Copy link
Contributor

What I did:
new software switch is aligned to SAI v1.0.3 tag, and currently supports basic L2, L3 (only via vlan interfaces) and host interface.

Build is the same as previous p4 platform.

How to verify it:
A similliar testbed to p4-test was created (same topology, only with vlan interface connections):
p4-test.tar.gz

to run the test (almost identical instructions found in the link):
• extract the tar
• install docker_ovs if you don't have already using the install_docker_ovs.sh script
• load the built image using the load_image.sh script
• start the switches and hosts using the start.sh
• wait about ~1-2 minutes until switches load entirely (until they run quagga services).
• Run the test using the test_patch.sh
Remark:
There is an open issue regarding misses in neighbor table in ipv4, which is why the test is patched by first pinging from the host

A picture of a cute animal (not mandatory but encouraged):
image

@lguohan
Copy link
Collaborator

lguohan commented Nov 4, 2017

in the build message:

Unable to checkout '3603a3c9cbe31e3e1467e8e04171215142616d47' in submodule path 'platform/p4/SAI-P4-BM'

@YonatanPitz
Copy link
Contributor Author

Fixed

@lguohan lguohan merged commit 28eb62f into sonic-net:master Nov 7, 2017
@YonatanPitz YonatanPitz deleted the v1.0.3-b branch December 11, 2017 18:14
jleveque added a commit that referenced this pull request Sep 21, 2020
We are moving toward building all Python packages for SONiC as wheel packages rather than Debian packages. This will also allow us to more easily transition to Python 3.

Python files are now packaged in "sonic-utilities" Pyhton wheel. Data files are now packaged in "sonic-utilities-data" Debian package.

**- How I did it**
- Build and install sonic-utilities as a Python package
- Remove explicit installation of wheel dependencies, as these will now get installed implicitly by pip when installing sonic-utilities as a wheel
- Build and install new sonic-utilities-data package to install data files required by sonic-utilities applications
- Update all references to sonic-utilities scripts/entrypoints to either reference the new /usr/local/bin/ location or remove absolute path entirely where applicable

Submodule updates:

* src/sonic-utilities aa27dd9...2244d7b (5):
  > Support building sonic-utilities as a Python wheel package instead of a Debian package (#1122)
  > [consutil] Display remote device name in show command (#1120)
  > [vrf] fix check state_db error when vrf moving (#1119)
  > [consutil] Fix issue where the ConfigDBConnector's reference is missing (#1117)
  > Update to make config load/reload backward compatible. (#1115)

* src/sonic-ztp dd025bc...911d622 (1):
  > Update paths to reflect new sonic-utilities install location, /usr/local/bin/ (#19)
santhosh-kt pushed a commit to santhosh-kt/sonic-buildimage that referenced this pull request Feb 25, 2021
…net#5409)

We are moving toward building all Python packages for SONiC as wheel packages rather than Debian packages. This will also allow us to more easily transition to Python 3.

Python files are now packaged in "sonic-utilities" Pyhton wheel. Data files are now packaged in "sonic-utilities-data" Debian package.

**- How I did it**
- Build and install sonic-utilities as a Python package
- Remove explicit installation of wheel dependencies, as these will now get installed implicitly by pip when installing sonic-utilities as a wheel
- Build and install new sonic-utilities-data package to install data files required by sonic-utilities applications
- Update all references to sonic-utilities scripts/entrypoints to either reference the new /usr/local/bin/ location or remove absolute path entirely where applicable

Submodule updates:

* src/sonic-utilities aa27dd9...2244d7b (5):
  > Support building sonic-utilities as a Python wheel package instead of a Debian package (sonic-net#1122)
  > [consutil] Display remote device name in show command (sonic-net#1120)
  > [vrf] fix check state_db error when vrf moving (sonic-net#1119)
  > [consutil] Fix issue where the ConfigDBConnector's reference is missing (sonic-net#1117)
  > Update to make config load/reload backward compatible. (sonic-net#1115)

* src/sonic-ztp dd025bc...911d622 (1):
  > Update paths to reflect new sonic-utilities install location, /usr/local/bin/ (sonic-net#19)
stepanblyschak pushed a commit to stepanblyschak/sonic-buildimage that referenced this pull request May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants