Remove deployment time failure
Make requiring the ODL plugin a condition to enable the BGPVPN plugin Change-Id: I655fd4645f03d20a9238a96b1db1f84ca9ec5f7e Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
This commit is contained in:
parent
fefc32d6ba
commit
e18d6579d2
|
@ -34,10 +34,6 @@ class networking-bgpvpn-backend-config {
|
|||
ensure => installed,
|
||||
}
|
||||
}
|
||||
else {
|
||||
fail('Bagpipe driver not yet included. You need to have anotehr bgpvpn dirver: Opendaylight')
|
||||
}
|
||||
# In liberty this goes to an own config file
|
||||
file { "/etc/neutron/networking_bgpvpn.conf":
|
||||
ensure => file,
|
||||
content => template('networking-bgpvpn/networking_bgpvpn.conf.erb'),
|
||||
|
|
|
@ -2,5 +2,8 @@ attributes:
|
|||
metadata:
|
||||
restrictions:
|
||||
- "cluster:net_provider != 'neutron'": "Only neutron is supported by BGPVPN-plugin"
|
||||
- condition: "settings:opendaylight == null or settings:opendaylight.metadata.enabled != true"
|
||||
strict: false
|
||||
message: "OpenDaylight plugin must be installed and enabled"
|
||||
label: "BGPVPN plugin"
|
||||
weight: 90
|
||||
|
|
Loading…
Reference in New Issue