Add BRODCAST_MAC constant with "FF:FF:FF:FF:FF:FF" value

This address is used in many places in Neutron and some stadium projects
so it will be good to have it defined in the neutron-lib and reuse in
all those places later.

Change-Id: I599507ca9892d51e5dfeefeecc343e2d2d52796c
This commit is contained in:
Slawek Kaplonski
2020-09-10 09:18:11 +02:00
committed by Lajos Katona
parent 18129456d8
commit 7567ae23e1
2 changed files with 7 additions and 1 deletions

View File

@@ -95,7 +95,8 @@ IP_VERSION_6 = 6
IPv4_BITS = 32
IPv6_BITS = 128
INVALID_MAC_ADDRESSES = ['00:00:00:00:00:00', 'FF:FF:FF:FF:FF:FF']
BROADCAST_MAC = 'FF:FF:FF:FF:FF:FF'
INVALID_MAC_ADDRESSES = ['00:00:00:00:00:00', BROADCAST_MAC]
IPv4_ANY = '0.0.0.0/0'
IPv6_ANY = '::/0'

View File

@@ -0,0 +1,5 @@
---
features:
- |
Add new constant ``BROADCAST_MAC`` which has value ``FF:FF:FF:FF:FF:FF`` and
represents broadcast MAC address.