Abhishek Chanda

Results 23 comments of Abhishek Chanda

In Nomad, we would like to expose a randomly allocated port to the host. This port may or may not be defined in the ACI. Correct me if I'm wrong,...

@djtm Nomad currently allocates random ports from a given range. And we don't know which port will be allocated while building the image. As you said, one hack will be...

I'm interested in contributing to this. I started by pushing a patch to CNI https://github.com/appc/cni/pull/137

Yes, this is definitely something that is useful for the broader community. PR is welcome, thanks!

Sorry for being late @jvff and thanks for your work on this. I feel like the second option is more readable and maintainable than the first one. Let me know...

Hi @vorner thanks for bringing this up. It seemed natural that IPv4 size should be 32 bits and IPv6 should be u128. Given that, the only way to have an...

I see your point. I am a bit hesitant to change the external API since this has been out there for a while now. A quick Github search did not...

Sounds like the path of least resistance is to document the panic properly so that there are no surprises. I also agree that we should export `BITS` constants. I will...

Sorry, it took me a while to reply, and thanks for the PR. I still have to figure out a good workflow of deprecating APIs and removing them eventually. Hence...

Thanks, @joshtriplett. Will it be possible for you to add a few tests for this like we have [here](https://github.com/achanda/ipnetwork/blob/master/src/ipv4.rs#L424-L437)?