Skip to content

Commit

Permalink
skeletton for program
Browse files Browse the repository at this point in the history
  • Loading branch information
hb9cwp committed Dec 30, 2015
1 parent f81ebc5 commit eccf0fd
Showing 1 changed file with 7 additions and 39 deletions.
46 changes: 7 additions & 39 deletions src/apps/intel/txIntel1.lua
Original file line number Diff line number Diff line change
@@ -1,51 +1,19 @@
-- skeletton for program see
-- https://github.com/SnabbCo/snabbswitch/blob/master/src/doc/getting-started.md

module(...,package.seeall)

local basic_apps= require("apps.basic.basic_apps")
local basic= require("apps.basic.basic_apps")
local intel1g= require("apps.intel.intel1g")
local lib= require("core.lib")

Intel1g = {}
Intel1g.__index = Intel1g

driver= Intel1g


function Intel1g:new(arg)

end


function Intel1g:stop()

end


function Intel1g:reconfig(arg)

end


function Intel1g:pull()

end


function Intel1g:push()

end


function Intel1g:report()

end
--local lib= require("core.lib")


function selftest()
function run()
print("selftest: txIntel1g")
local pciaddr= os.getenv("SNABB_INTEL1G_1")
if not pciaddr then
print("SNABB_INTEL1G_1 not set")
os.exit(engine.test_skipped_code)
main.exit(1)
end

local c= config.new()
Expand Down

0 comments on commit eccf0fd

Please sign in to comment.