This patch add lflow support for Router Advertisement packet forward.
Forward RA packets to router port in lswitch l2_lkup table.
Signed-off-by: Zongkai LI
---
ovn/northd/ovn-northd.c | 26 ++
1 file changed, 26 insertions(+)
diff --git a/ovn/northd/ovn-northd.c b/ovn
Since ovs_nd_mtu_opt and ovs_nd_prefix_opt is introducted, rename
ovs_nd_opt to ovs_nd_lla_opt to specify it's Source/Target Link-layer
Address Option.
Signed-off-by: Zongkai LI
---
lib/flow.c| 30 +++
lib/odp-execute.c | 22 -
lib/packets.c
quot; flag, router_lifetime.
Signed-off-by: Zongkai LI
---
ovn/northd/ovn-northd.c | 140 --
ovn/ovn-nb.ovsschema | 21 ++-
ovn/ovn-nb.xml| 103 ++
ovn/utilities/ovn-nbctl.c | 5 ++
te
ot;nd_ra" stands for Router Advertisement message,
Signed-off-by: Zongkai LI
---
ovn/lib/logical-fields.c | 18 ++
ovn/ovn-sb.xml | 4 +++-
tests/ovn.at | 2 +-
3 files changed, 18 insertions(+), 6 deletions(-)
diff --git a/ovn/lib/logical-fields.c b/ovn/li
fetime(32-bit unsigned integer),
- preferred lifetime(32-bit unsigned integer),
- prefix(128-bit IPv6 address prefix).
e.g. put_nd_ra_opt_prefix(64,192,10800,10800,fdad:a0f9:a012::);
Signed-off-by: Zongkai LI
---
include/ovn/actions.h | 79 +-
ovn/controller/pinctrl.c |
This patchs add a new action 'nd_ra' against current 'nd_na' action, to work as
a Router Solicitation packet responder. The inner actions to set fields, flags,
options in RA packet will be introduced in the following patch.
Signed-off-by: Zongkai LI
---
include/ovn/actions.h
address comments from Justin, including:
revert changing on is_nd and is_nd_neighbor brought in version 2
update annotations in lib/packets.h for ovs_ra_msg, ovs_nd_prefix_opt,
ovs_nd_lla_opt, ovs_nd_mtu_opt.
combine methods compse_nd_ra, packet_put_ra_sll_opt, packet_put_ra_mtu_opt in
version
can use packet_put_ra_prefix_opt to append a Prefix Information Option
to a RA packet.
Signed-off-by: Zongkai LI
---
lib/packets.c | 88 +++
lib/packets.h | 59 +++
2 files changed, 147 insertions(+)
diff
This patch fixes wrong table ID in comments for logical router ingress
table IP Routing, ARP Resolution and ARP request.
Signed-off-by: Zongkai LI
---
ovn/northd/ovn-northd.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ovn/northd/ovn-northd.c b/ovn/northd/ovn
URB HERE ***
Zongkai LI (1):
ovn: Extend Address_Set to Set to support define port name sets
AUTHORS | 1 +
include/ovn/expr.h| 8 ++-
ovn/controller/lflow.c| 35 -
ovn/lib/expr.c| 67 ++---
ovn/northd/ovn-northd.c |
From: Zongkai LI
This patch aims to extend table Address_Set to Set, make it more common to
accept variable set, not only address. And by that, we can skinny down ACLs,
if we use Set to defines port name sets for ACL to use, since lots of ACL
entries are similar but only "inport" an
, and let VM/VIF ports get
their IPv6 addresses configured via stateless way.
Signed-off-by: Zongkai LI
---
ovn/northd/ovn-northd.c | 24 ---
ovn/ovn-nb.xml | 11 +++
tests/ovn.at| 51 +++--
3 files
This patch add lflow support for Router Advertisement packet forward.
Forward RA packets to router port in lswitch l2_lkup table.
---
ovn/northd/ovn-northd.c | 26 ++
1 file changed, 26 insertions(+)
diff --git a/ovn/northd/ovn-northd.c b/ovn/northd/ovn-northd.c
index 0ad9
This patch adds action 'nd_ra' specific inner actions 'put_nd_ra',
'put_nd_opt_prefix', 'put_nd_opt_mtu', 'put_nd_opt_sll'.
Action put_nd_ra will set following fields in Router Advertisement (RA) packet:
- cur_hop_limit(8-bit unsigned integer),
- "Managed address configuration" and "Other config
This patch add support for building Router Solicitation responder flows, which
will be used to reply Router Advertisement packet from ovn-controller for
VM/VIF port.
It adds table Logical_Router_RA_Prefix_Config to define a set of ND Prefix
informations configurations(such as valid_lifetime, prefe
This patchs add a new action 'nd_ra' against current 'nd_na' action, to work as
a Router Solicitation packet responder. The inner actions to set fields, flags,
options in RA packet will be introduced in the following patch.
v1 -> v2
rebased
---
include/ovn/actions.h | 7 ++
ovn/controlle
This patch updates symbols in logical-fields for ND, such as "nd",
"nd.target", "nd.sll", "nd.tll", to describe more clear about "icmp6.type"
predicate.
It adds new symbols:
- "nd_rs" stands for Router Solicitation message,
- "nd_ra" stands for Router Advertisement message,
- "nd_rd" stands for
Since ovs_nd_mtu_opt and ovs_nd_prefix_opt is introducted, rename
ovs_nd_opt to ovs_nd_lla_opt to specify it's Source/Target Link-layer
Address Option.
v1 -> v2
rebased, separete ovs_nd_opt rename to this patch.
---
lib/flow.c| 26 ++---
lib/odp-execute.c | 20
This patch updates method is_nd to let type ND_ROUTER_SOLICIT,
ND_ROUTER_ADVERT, ND_REDIRECT can be recoginzed.
And introduces method is_nd_neighbor for inherit current is_nd behavior.
v1 -> v2
rebased, introduces method is_nd_neighbor.
---
lib/flow.h | 11 +--
lib/nx-match.
This patch introduces methods to compose a Router Advertisement (RA) packet,
introduces flags for RA. RA packet composed structures against specification
in RFC4861.
Caller can use compse_nd_ra to compose a basic RA packet, and use
- packet_put_ra_sll_opt to append a Source Link-layer Address Opt
This patch adds default_dhcpv4_options and default_dhcpv6_options columns for
Logical_Switch, which should help CMS not to calculate and set dhcpv4_options
and dhcpv6_options columns for lswitch ports on lswitchs one by one, when
most of lswitch ports on the same lswitch are using the DHCPv4_Option
This patch adds default_dhcpv4_options and default_dhcpv6_options columns for
Logical_Switch, which should help CMS not to calculate and set dhcpv4_options
and dhcpv6_options columns for lswitch ports on lswitchs one by one, when
most of lswitch ports on the same lswitch are using the DHCPv4_Option
From: LI Zong Kai
This patch tries to implement Router Solicitation (RS) responder, which will
reply Router Advertisement (RA) message, for SLAAC on ovn-northd side.
It tries to build lflows per each Logical Router Port, who have IPv6 networks
and set their 'slaac' column to true.
The lflows wi
From: LI Zong Kai
This patch tries to implement Router Solicitation (RS) responder, who will
reply Router Advertisement (RA) message, for SLAAC on ovn-controller side.
It parses lflows which have:
- match: inport == LRP_NAME && ip6.dst == ff02::2 && nd_rs
(nd_rs: icmp6.type == 133 && icmp6.c
This serial patches try to support Stateless Address Autoconfiguration (SLAAC)
for IPv6, via Router Solicitation (RS) responder, who will reply Router
Advertisement (RA) message for received RS message.
User case:
After this serial patches, a user can follow the following steps to let all
VMs/
From: LI Zong Kai
This patch introduces methods to compose a Router Advertisement (RA) packet,
introduces flags for RA, and renames ovs_nd_opt to ovs_nd_lla_opt to specify
it's Source/Target Link-layer Address option.
The packet, composed by new introduced methods, structures against
specificati
26 matches
Mail list logo