Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
gbp: add anonymous l3-out subnets
[vpp.git]
/
extras
/
vom
/
vom
/
gbp_subnet.hpp
diff --git
a/extras/vom/vom/gbp_subnet.hpp
b/extras/vom/vom/gbp_subnet.hpp
index
bff32ff
..
3ae8439
100644
(file)
--- a/
extras/vom/vom/gbp_subnet.hpp
+++ b/
extras/vom/vom/gbp_subnet.hpp
@@
-54,17
+54,22
@@
public:
const static type_t TRANSPORT;
/**
const static type_t TRANSPORT;
/**
- * A
transport subnet, sent via the RD's UU-fwd interface
+ * A
L3-out subnet
*/
const static type_t L3_OUT;
*/
const static type_t L3_OUT;
+ /**
+ * An anonymous L3-out subnet
+ */
+ const static type_t ANON_L3_OUT;
+
private:
type_t(int v, const std::string s);
};
/**
private:
type_t(int v, const std::string s);
};
/**
- * Construct an internal GBP subnet
- */
+
* Construct an internal GBP subnet
+
*/
gbp_subnet(const gbp_route_domain& rd,
const route::prefix_t& prefix,
const type_t& type);
gbp_subnet(const gbp_route_domain& rd,
const route::prefix_t& prefix,
const type_t& type);
@@
-82,7
+87,8
@@
public:
*/
gbp_subnet(const gbp_route_domain& rd,
const route::prefix_t& prefix,
*/
gbp_subnet(const gbp_route_domain& rd,
const route::prefix_t& prefix,
- sclass_t sclass);
+ sclass_t sclass,
+ const type_t& type = type_t::L3_OUT);
/**
* Copy Construct
/**
* Copy Construct