Crate network_test_realm

Source

Constants§

HERMETIC_NETWORK_COLLECTION_NAME
Name of the collection that contains the hermetic network realm.
HERMETIC_NETWORK_REALM_NAME
Name of the realm that contains the hermetic network components.
STUB_COLLECTION_NAME
Name of the collection that contains the test stub.
STUB_COMPONENT_NAME
Name of the component that corresponds to the test stub.

Functions§

create_hermetic_network_realm_child_ref
Returns a fdecl::ChildRef that corresponds to the hermetic network realm.
create_stub_child_ref
Returns a fdecl::ChildRef that corresponds to the test stub.
get_interface_id
Returns the id for the interface with interface_name.
has_hermetic_network_realm
Returns true if the hermetic network realm exists.
has_stub
Returns true if the hermetic-network realm contains a stub.