enable port ranges for authorize/deauthorize

Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
Evan Hazlett 2015-03-09 10:51:59 -04:00
parent b8ef936e90
commit bc78e0081e
No known key found for this signature in database
GPG Key ID: A519480096146526
1 changed files with 2 additions and 2 deletions

View File

@ -19,13 +19,13 @@ type Port struct {
// hypervisors, different cloud providers)
type Driver interface {
// AuthorizePort authorizes a port for machine access
AuthorizePort(port Port) error
AuthorizePort(ports []Port) error
// Create a host using the driver's config
Create() error
// DeauthorizePort removes a port for machine access
DeauthorizePort(port Port) error
DeauthorizePort(ports []Port) error
// DriverName returns the name of the driver as it is registered
DriverName() string