Merge pull request #1004 from mavenugo/mv

Adding the missing ExternalConnectivity driver methods
This commit is contained in:
Santhosh Manohar 2016-03-09 19:47:59 -08:00
commit 469ea4eb3f
2 changed files with 16 additions and 0 deletions

View File

@ -72,6 +72,14 @@ func (d *driver) Type() string {
return ipvlanType
}
func (d *driver) ProgramExternalConnectivity(nid, eid string, options map[string]interface{}) error {
return nil
}
func (d *driver) RevokeExternalConnectivity(nid, eid string) error {
return nil
}
// DiscoverNew is a notification for a new discovery event.
func (d *driver) DiscoverNew(dType discoverapi.DiscoveryType, data interface{}) error {
return nil

View File

@ -74,6 +74,14 @@ func (d *driver) Type() string {
return macvlanType
}
func (d *driver) ProgramExternalConnectivity(nid, eid string, options map[string]interface{}) error {
return nil
}
func (d *driver) RevokeExternalConnectivity(nid, eid string) error {
return nil
}
// DiscoverNew is a notification for a new discovery event
func (d *driver) DiscoverNew(dType discoverapi.DiscoveryType, data interface{}) error {
return nil