Skip to content

Commit

Permalink
Revert "[Barefoot] Added CLI to list/set P4 profile (sonic-net#1951)"
Browse files Browse the repository at this point in the history
This reverts commit fa23bfc.
  • Loading branch information
ghooo authored and qiluo-msft committed Jan 16, 2022
1 parent 11eae4b commit 9f22ed1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 143 deletions.
57 changes: 0 additions & 57 deletions config/plugins/barefoot.py

This file was deleted.

39 changes: 0 additions & 39 deletions doc/Command-Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@
* [Platform Component Firmware config commands](#platform-component-firmware-config-commands)
* [Platform Component Firmware vendor specific behaviour](#platform-component-firmware-vendor-specific-behaviour)
* [Platform Specific Commands](#platform-specific-commands)
* [Mellanox Platform Specific Commands](#mellanox-platform-specific-commands)
* [Barefoot Platform Specific Commands](#barefoot-platform-specific-commands)
* [PortChannels](#portchannels)
* [PortChannel Show commands](#portchannel-show-commands)
* [PortChannel Config commands](#portchannel-config-commands)
Expand Down Expand Up @@ -6585,8 +6583,6 @@ Go Back To [Beginning of the document](#) or [Beginning of this section](#platfo
## Platform Specific Commands
### Mellanox Platform Specific Commands
There are few commands that are platform specific. Mellanox has used this feature and implemented Mellanox specific commands as follows.
**show platform mlnx sniffer**
Expand Down Expand Up @@ -6656,41 +6652,6 @@ In order to avoid that confirmation the -y / --yes option should be used.
NOTE: In order to avoid that confirmation the -y / --yes option should be used.
```
### Barefoot Platform Specific Commands
**show platform barefoot profile**
This command displays active P4 profile and lists available ones.
- Usage:
```
show platform barefoot profile
```
- Example:
```
admin@sonic:~$ show platform barefoot profile
Current profile: x1
Available profile(s):
x1
x2
```
**config platform barefoot profile**
This command sets P4 profile.
- Usage:
```
config platform barefoot profile <p4_profile> [-y|--yes]
```
- Example:
```
admin@sonic:~$ sudo config platform barefoot profile x1
Swss service will be restarted, continue? [y/N]: y
```
Go Back To [Beginning of the document](#) or [Beginning of this section](#platform-specific-commands)
Expand Down
47 changes: 0 additions & 47 deletions show/plugins/barefoot.py

This file was deleted.

0 comments on commit 9f22ed1

Please sign in to comment.