Skip to content

Commit 9f22ed1

Browse files
ghoooqiluo-msft
authored andcommitted
Revert "[Barefoot] Added CLI to list/set P4 profile (#1951)"
This reverts commit fa23bfc.
1 parent 11eae4b commit 9f22ed1

3 files changed

Lines changed: 0 additions & 143 deletions

File tree

config/plugins/barefoot.py

Lines changed: 0 additions & 57 deletions
This file was deleted.

doc/Command-Reference.md

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,6 @@
119119
* [Platform Component Firmware config commands](#platform-component-firmware-config-commands)
120120
* [Platform Component Firmware vendor specific behaviour](#platform-component-firmware-vendor-specific-behaviour)
121121
* [Platform Specific Commands](#platform-specific-commands)
122-
* [Mellanox Platform Specific Commands](#mellanox-platform-specific-commands)
123-
* [Barefoot Platform Specific Commands](#barefoot-platform-specific-commands)
124122
* [PortChannels](#portchannels)
125123
* [PortChannel Show commands](#portchannel-show-commands)
126124
* [PortChannel Config commands](#portchannel-config-commands)
@@ -6585,8 +6583,6 @@ Go Back To [Beginning of the document](#) or [Beginning of this section](#platfo
65856583
65866584
## Platform Specific Commands
65876585
6588-
### Mellanox Platform Specific Commands
6589-
65906586
There are few commands that are platform specific. Mellanox has used this feature and implemented Mellanox specific commands as follows.
65916587
65926588
**show platform mlnx sniffer**
@@ -6656,41 +6652,6 @@ In order to avoid that confirmation the -y / --yes option should be used.
66566652
NOTE: In order to avoid that confirmation the -y / --yes option should be used.
66576653
```
66586654
6659-
### Barefoot Platform Specific Commands
6660-
6661-
**show platform barefoot profile**
6662-
6663-
This command displays active P4 profile and lists available ones.
6664-
6665-
- Usage:
6666-
```
6667-
show platform barefoot profile
6668-
```
6669-
6670-
- Example:
6671-
```
6672-
admin@sonic:~$ show platform barefoot profile
6673-
Current profile: x1
6674-
Available profile(s):
6675-
x1
6676-
x2
6677-
```
6678-
6679-
**config platform barefoot profile**
6680-
6681-
This command sets P4 profile.
6682-
6683-
- Usage:
6684-
```
6685-
config platform barefoot profile <p4_profile> [-y|--yes]
6686-
```
6687-
6688-
- Example:
6689-
```
6690-
admin@sonic:~$ sudo config platform barefoot profile x1
6691-
Swss service will be restarted, continue? [y/N]: y
6692-
```
6693-
66946655
Go Back To [Beginning of the document](#) or [Beginning of this section](#platform-specific-commands)
66956656
66966657

show/plugins/barefoot.py

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)