Skip to content

Commit

Permalink
Project import generated by Copybara.
Browse files Browse the repository at this point in the history
FolderOrigin-RevId: /usr/local/google/home/gdennis/copybara/temp/folder-destination11492771771057580247/.
  • Loading branch information
GGN Engprod Team authored and greg-dennis committed Nov 4, 2022
1 parent 66d3c2d commit a05f012
Show file tree
Hide file tree
Showing 6 changed files with 84,403 additions and 84,213 deletions.
67 changes: 61 additions & 6 deletions device.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,67 @@ func (p *Port) CardModel() string {
type PMD opb.Port_Pmd

const (
// PMD100GFR is a PMD of 100G-FR.
PMD100GFR = PMD(opb.Port_PMD_100G_FR)
// PMD100GLR4 is a PMD of 100G-LR4.
PMD100GLR4 = PMD(opb.Port_PMD_100G_LR4)
// PMD400GFR4 is a PMD of 400G-FR4.
PMD400GFR4 = PMD(opb.Port_PMD_400G_FR4)
// PMD100GFR is the PMD 100GBASE-FR.
// Deprecated: use PMD100GBASEFR.
// TODO: Remove this constant.
PMD100GFR = PMD(opb.Port_PMD_100GBASE_FR)

// PMD10GBASELRM is the PMD 10GBASE-LRM
PMD10GBASELRM = PMD(opb.Port_PMD_10GBASE_LRM)
// PMD10GBASELR is the PMD 10GBASE-LR.
PMD10GBASELR = PMD(opb.Port_PMD_10GBASE_LR)
// PMD10GBASEZR is the PMD 10GBASE-ZR.
PMD10GBASEZR = PMD(opb.Port_PMD_10GBASE_ZR)
// PMD10GBASEER is the PMD 10GBASE-ER.
PMD10GBASEER = PMD(opb.Port_PMD_10GBASE_ER)
// PMD10GBASESR is the PMD 10GBASE-SR.
PMD10GBASESR = PMD(opb.Port_PMD_10GBASE_SR)
// PMD40GBASECR4 is the PMD 40GBASE-CR4.
PMD40GBASECR4 = PMD(opb.Port_PMD_40GBASE_CR4)
// PMD40GBASESR4 is the PMD 40GBASE-SR4.
PMD40GBASESR4 = PMD(opb.Port_PMD_40GBASE_SR4)
// PMD40GBASELR4 is the PMD 40GBASE-LR4.
PMD40GBASELR4 = PMD(opb.Port_PMD_40GBASE_LR4)
// PMD40GBASEER4 is the PMD 40GBASE-ER4.
PMD40GBASEER4 = PMD(opb.Port_PMD_40GBASE_ER4)
// PMD40GBASEPSM4 is the PMD 40GBASE-PSM4.
PMD40GBASEPSM4 = PMD(opb.Port_PMD_40GBASE_PSM4)
// PMD4X10GBASELR is the PMD 4X10GBASE-LR.
PMD4X10GBASELR = PMD(opb.Port_PMD_4X10GBASE_LR)
// PMD4X10GBASESR is the PMD 4X10GBASE-SR.
PMD4X10GBASESR = PMD(opb.Port_PMD_4X10GBASE_SR)
// PMD100GAOC is the PMD 100G-AOC.
PMD100GAOC = PMD(opb.Port_PMD_100G_AOC)
// PMD100GACC is the PMD 100G-ACC.
PMD100GACC = PMD(opb.Port_PMD_100G_ACC)
// PMD100GBASESR10 is the PMD 100GBASE-SR10.
PMD100GBASESR10 = PMD(opb.Port_PMD_100GBASE_SR10)
// PMD100GBASESR4 is the PMD 100GBASE-SR4.
PMD100GBASESR4 = PMD(opb.Port_PMD_100GBASE_SR4)
// PMD100GBASELR4 is the PMD 100GBASE-LR4.
PMD100GBASELR4 = PMD(opb.Port_PMD_100GBASE_LR4)
// PMD100GBASEER4 is the PMD 100GBASE-ER4.
PMD100GBASEER4 = PMD(opb.Port_PMD_100GBASE_ER4)
// PMD100GBASECWDM4 is the PMD 100GBASE-CWDM4.
PMD100GBASECWDM4 = PMD(opb.Port_PMD_100GBASE_CWDM4)
// PMD100GBASECLR4 is the PMD 100GBASE-CLR4.
PMD100GBASECLR4 = PMD(opb.Port_PMD_100GBASE_CLR4)
// PMD100GBASEPSM4 is the PMD 100GBASE-PSM4.
PMD100GBASEPSM4 = PMD(opb.Port_PMD_100GBASE_PSM4)
// PMD100GBASECR4 is the PMD 100GBASE-CR4.
PMD100GBASECR4 = PMD(opb.Port_PMD_100GBASE_CR4)
// PMD100GBASEFR is the PMD 100GBASE-FR.
PMD100GBASEFR = PMD(opb.Port_PMD_100GBASE_FR)
// PMD400GBASEZR is the PMD 400GBASE-ZR.
PMD400GBASEZR = PMD(opb.Port_PMD_400GBASE_ZR)
// PMD400GBASELR4 is the PMD 400GBASE-LR4.
PMD400GBASELR4 = PMD(opb.Port_PMD_400GBASE_LR4)
// PMD400GBASEFR4 is the PMD 400GBASE-FR4.
PMD400GBASEFR4 = PMD(opb.Port_PMD_400GBASE_FR4)
// PMD400GBASELR8 is the PMD 400GBASE-LR8.
PMD400GBASELR8 = PMD(opb.Port_PMD_400GBASE_LR8)
// PMD400GBASEDR4 is the PMD 400GBASE-DR4.
PMD400GBASEDR4 = PMD(opb.Port_PMD_400GBASE_DR4)
)

func (pmd PMD) String() string {
Expand Down
Loading

0 comments on commit a05f012

Please sign in to comment.