An empty element <ipv4-next-hop /> should not be allowed in input.
When ipv4-next-hop or ipv6-next-hop is specified, the global value
must be provided. If no next-hop is provided, default empty-next-hop
will be used.
Change-Id: Idd01a060750c66a14a4341ae592cf58b4feacf02
Signed-off-by: Kevin Wang <kevixw@gmail.com>
reference "http://tools.ietf.org/html/rfc4271#section-5.1.3";
leaf global {
type inet:ipv4-address;
+ mandatory true;
}
}
}
reference "http://tools.ietf.org/html/rfc4760#section-3";
leaf global {
type inet:ipv6-address;
+ mandatory true;
}
leaf link-local {
type inet:ipv6-address;