diff --git a/packages/platforms/accton/x86-64/x86-64-accton-wedge100s-32x/Makefile b/packages/platforms/accton/x86-64/x86-64-accton-wedge100s-32x/Makefile new file mode 100644 index 00000000..dc1e7b86 --- /dev/null +++ b/packages/platforms/accton/x86-64/x86-64-accton-wedge100s-32x/Makefile @@ -0,0 +1 @@ +include $(ONL)/make/pkg.mk diff --git a/packages/platforms/accton/x86-64/x86-64-accton-wedge100s-32x/modules/Makefile b/packages/platforms/accton/x86-64/x86-64-accton-wedge100s-32x/modules/Makefile new file mode 100644 index 00000000..003238cf --- /dev/null +++ b/packages/platforms/accton/x86-64/x86-64-accton-wedge100s-32x/modules/Makefile @@ -0,0 +1 @@ +include $(ONL)/make/pkg.mk \ No newline at end of file diff --git a/packages/platforms/accton/x86-64/x86-64-accton-wedge100s-32x/modules/PKG.yml b/packages/platforms/accton/x86-64/x86-64-accton-wedge100s-32x/modules/PKG.yml new file mode 100644 index 00000000..37dc3877 --- /dev/null +++ b/packages/platforms/accton/x86-64/x86-64-accton-wedge100s-32x/modules/PKG.yml @@ -0,0 +1 @@ +!include $ONL_TEMPLATES/no-platform-modules.yml ARCH=amd64 VENDOR=accton BASENAME=x86-64-accton-wedge100s-32x diff --git a/packages/platforms/accton/x86-64/x86-64-accton-wedge100s-32x/onlp/Makefile b/packages/platforms/accton/x86-64/x86-64-accton-wedge100s-32x/onlp/Makefile new file mode 100644 index 00000000..dc1e7b86 --- /dev/null +++ b/packages/platforms/accton/x86-64/x86-64-accton-wedge100s-32x/onlp/Makefile @@ -0,0 +1 @@ +include $(ONL)/make/pkg.mk diff --git a/packages/platforms/accton/x86-64/x86-64-accton-wedge100s-32x/onlp/PKG.yml b/packages/platforms/accton/x86-64/x86-64-accton-wedge100s-32x/onlp/PKG.yml new file mode 100644 index 00000000..b1524668 --- /dev/null +++ b/packages/platforms/accton/x86-64/x86-64-accton-wedge100s-32x/onlp/PKG.yml @@ -0,0 +1,16 @@ +variables: + platform: x86-64-accton-wedge100s-32x-r0 + install: /lib/platform-config/${platform}/onl + +common: + version: 1.0.0 + arch: amd64 + copyright: Copyright 2013, 2014, 2015 Big Switch Networks + maintainer: support@bigswitch.com + support: opennetworklinux@googlegroups.com + comment: dummy package for ONLP on Wedge +packages: + - name: onlp-${platform} + summary: ONLP Package for the ${platform} platform. + + changelog: initial version diff --git a/packages/platforms/accton/x86-64/x86-64-accton-wedge100s-32x/platform-config/Makefile b/packages/platforms/accton/x86-64/x86-64-accton-wedge100s-32x/platform-config/Makefile new file mode 100644 index 00000000..dc1e7b86 --- /dev/null +++ b/packages/platforms/accton/x86-64/x86-64-accton-wedge100s-32x/platform-config/Makefile @@ -0,0 +1 @@ +include $(ONL)/make/pkg.mk diff --git a/packages/platforms/accton/x86-64/x86-64-accton-wedge100s-32x/platform-config/r0/Makefile b/packages/platforms/accton/x86-64/x86-64-accton-wedge100s-32x/platform-config/r0/Makefile new file mode 100644 index 00000000..dc1e7b86 --- /dev/null +++ b/packages/platforms/accton/x86-64/x86-64-accton-wedge100s-32x/platform-config/r0/Makefile @@ -0,0 +1 @@ +include $(ONL)/make/pkg.mk diff --git a/packages/platforms/accton/x86-64/x86-64-accton-wedge100s-32x/platform-config/r0/PKG.yml b/packages/platforms/accton/x86-64/x86-64-accton-wedge100s-32x/platform-config/r0/PKG.yml new file mode 100644 index 00000000..34ea7f0c --- /dev/null +++ b/packages/platforms/accton/x86-64/x86-64-accton-wedge100s-32x/platform-config/r0/PKG.yml @@ -0,0 +1 @@ +!include $ONL_TEMPLATES/platform-config-platform.yml ARCH=amd64 VENDOR=accton BASENAME=x86-64-accton-wedge100s-32x REVISION=r0 diff --git a/packages/platforms/accton/x86-64/x86-64-accton-wedge100s-32x/platform-config/r0/src/lib/x86-64-accton-wedge100s-32x-r0.yml b/packages/platforms/accton/x86-64/x86-64-accton-wedge100s-32x/platform-config/r0/src/lib/x86-64-accton-wedge100s-32x-r0.yml new file mode 100644 index 00000000..b72d94a8 --- /dev/null +++ b/packages/platforms/accton/x86-64/x86-64-accton-wedge100s-32x/platform-config/r0/src/lib/x86-64-accton-wedge100s-32x-r0.yml @@ -0,0 +1,34 @@ +--- + +###################################################################### +# +# platform-config for WEDGE +# +###################################################################### + +x86-64-accton-wedge100s-32x-r0: + + grub: + + serial: >- + --unit=0 + --speed=57600 + --word=8 + --parity=0 + --stop=1 + + kernel: + <<: *kernel-4-9 + + args: >- + nopat + console=ttyS0,57600n8 + rd_NO_MD + rd_NO_LUKS + intel_iommu=off + + ##network + ## interfaces: + ## ma1: + ## name: ~ + ## syspath: pci0000:00/0000:00:14.0 diff --git a/packages/platforms/accton/x86-64/x86-64-accton-wedge100s-32x/platform-config/r0/src/python/x86_64_accton_wedge100s_32x_r0/__init__.py b/packages/platforms/accton/x86-64/x86-64-accton-wedge100s-32x/platform-config/r0/src/python/x86_64_accton_wedge100s_32x_r0/__init__.py new file mode 100644 index 00000000..3ec4b68d --- /dev/null +++ b/packages/platforms/accton/x86-64/x86-64-accton-wedge100s-32x/platform-config/r0/src/python/x86_64_accton_wedge100s_32x_r0/__init__.py @@ -0,0 +1,8 @@ +from onl.platform.base import * +from onl.platform.accton import * + +class OnlPlatform_x86_64_accton_wedge100s_32x_r0(OnlPlatformAccton, + OnlPlatformPortConfig_32x100): + MODEL="Wedge-100s-32x" + PLATFORM="x86-64-accton-wedge100s-32x-r0" + SYS_OBJECT_ID=".100.2"