}
public List<Ip<?, ?>> listAttachedNics() {
// The strategy will refresh the vm. There is no need to do it here
ListAttachedNics strategy = context.utils().injector().getInstance(ListAttachedNics.class);
return ImmutableList.copyOf(strategy.execute(this));
}
public List<Ip<?, ?>> listAttachedNics(final Predicate<Ip<?, ?>> filter) {
return ImmutableList.copyOf(filter(listAttachedNics(), filter));
}