Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Vladimir
noc
Commits
064832b0
Commit
064832b0
authored
Sep 01, 2009
by
Dmitry Volodin
Browse files
IGetDHCPBinding interface
parent
4473c988
Changes
1
Hide whitespace changes
Inline
Side-by-side
sa/interfaces/igetdhcpbinding.py
0 → 100644
View file @
064832b0
# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## IGetDHCPBinding interface
##----------------------------------------------------------------------
## Copyright (C) 2007-2009 The NOC Project
## See LICENSE for details
##----------------------------------------------------------------------
"""
"""
from
base
import
*
class
IGetDHCPBinding
(
Interface
):
returns
=
ListOfParameter
(
element
=
DictParameter
(
attrs
=
{
"ip"
:
IPParameter
(),
"mac"
:
MACAddressParameter
(),
"expiration"
:
DateTimeParameter
(),
"type"
:
StringParameter
(),
# Choices=["A","M"]
}))
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment