Hi Nirmal,

Some quick comments:

- The bug synopsis - could it be changed to be what the bug really is, as
  it reads now it suggests it *should* be FQDN, but the fix is stripping
  the domainname.

- I'm not totally sure that we should be stripping the domainname all the
  time. Maybe if the hostname is not qualified in the criteria, then we
  should be stripping the value from the client. But I feel that if the
  criteria was set with a FQDN then it really should be used I think.

  e.g.

        Criteria:       hostname = mymachine

        Should match:   mymachine
                        mymachine.us
                        mymachine.us.oracle.com

  While

        Criteria:       hostname = mymachine.us

        Should match:   mymachine.us
                        mymachine.us.oracle.com

  and finally

        Criteria:       hostname = mymachine.us.oracle.com

        Should match:   mymachine.us.oracle.com

  i.e. if the user specifies a specific value, we should try to match
  it as much as is feasible - more like what the 'host' or 'nslookup'
  commands would do here.

What do other people think?

Thanks,

Darren.


On 01/03/2012 15:02, Nirmal Agarwal wrote:
> Hi all
> 
> Could I please get a code review for the following CR:
> 
> 7098861 hostname criteria must be fully qualified when adding a profile
>          via installadm
> 
> Webrev :
> https://cr.opensolaris.org/action/browse/caiman/nirmal27/7098861
> 
> -- Source is pep8 clean.
> 
> slim_test result
> /net/indiana-build.us.oracle.com//export/home/na210770/ai/7098861
> /slim-test
> 
> Manual Tests Result :
> /net/indiana-build.us.oracle.com//export/home/na210770/ai/7098861
> /Manual-Test
> 
> 
> Thanks
> Nirmal
> 
> _______________________________________________
> caiman-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to